Search code examples
ui-automationwebpage-screenshotrpauipath

opening URL from a file and taking screenshots in UiPath


It's a UI path sequence.

I am trying to read some URLs from an Excel file.

Launch browser Go to URL from file Take Screenshot Save screenshot

I am unable to use the "take Screenshot" activity. Unsure, how can I take the screenshot and save it as a file.


Solution

  • The Take Screenshot activity requires a variable (of type Image). Select the activity first, and in the properties, click on Output. Then, hit CTRL+K to add a new variable (or enter an existing one).

    Use the Save Imageactivity to save any variable of type Imageto disk.

    enter image description here