Take Capture Activity
The Take Capture activity enables users to capture images directly from a browser or application. This activity facilitates the extraction of visual content, such as screenshots, from specified elements within an application's interface.
| Field | Description | Requirement |
|---|---|---|
| Application name | The reference name of an already opened or attached application, selected from a dropdown list. | Required |
| Field | Specifies the XPath location of the area within the application to be captured. | Required |
| Directory | The file path where the captured image will be saved. | Required |
| File name | The name for the image file that will be created. | Optional |
Action Types & Examples
Image File Output
- Format: File path (string)
- Example Result:
C:\RobustaProjects\robusta.jpeg
Implementation Examples
Field Setup - Application name: ${robustaWebpage} - Field: //img[@id="capthcaimage"] - Directory: C:\RobustaProjects - File name: robusta.jpeg
Execution Parameters - Execution parameters for this activity are configured directly through the Field Setup.
Technical Notes
Screenshot files are image files. For this reason, they should be named with a suitable extension (e.g., JPG, JPEG).