opening URL from a file and taking screenshots in

2019-03-01 16:02发布

问题:

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.

回答1:

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.