You are on page 1of 5

Intro in RPA

4th Lab – 25/11/2020

Staicu Adelina Nicoleta


nicoleta.staicu@unibuc.ro
Web automation and data tables

1. Open internet browser, navigate to http://www.insse.ro/cms/ and


maximize the window.

2. Insert into search bar GDP and press enter.

3. Click on Gross Domestic Product.

4. Extract the three formulas for GDP using Get Text activity. Each one
will have a title and formula. For example:
Title: metoda de productie
Formula: PIBT = VAB + IP – SP unde …

5. Display each formula in the Output console like in the following


image.
6. Save each formula in a data table which has 2 columns: Title and
Formula.

7. Create an excel file and copy the data table created previously into it.

8. Close the internet page


Read native PDF
1. Open the PDF PerfectMatch.pdf using Start Process activity. Store the pdf
path into a variable.

2. Read the following fields using Get Text activity:


- The company’s name
- Subtotal
- Tax Due
- Total
Save the values into variables.

3. Convert Subtotal, Tax Due and Total to double. Use Invoke Code or Multiple
Assign activity.

4. Check if the Total is equal to the sum of Tax Due and Total.

5. If yes, copy the pdf on desktop using Move File activity and add a line in
the output console, “PDF moved on ” + yourDesktopPath. If no, add a line in
the output console, “PDF not moved”.

6. Close pdf.

*Useful resources:
1. https://docs.microsoft.com/en-
us/dotnet/api/system.globalization.cultureinfo?view=netframework-4.8
2. https://docs.uipath.com/activities/docs/invoke-code

You might also like