iRobo.Activity.For Each Java Element
Find & loop on each Java UI Element based on the XPath selector.
Note: Before using Java Activities, check Java Automation prerequisites from Java App Automation Page. |
Input
- Element Selector - Generate Script for selected Element.
- MaxResults - Set the maximum number of the output results.
- Timeout - Time to execute the activity.
Misc
- results - A Collection of output variables.
- DisplayName - Activity header name.
Output
- Results - Array of Java Element Variables.
Steps of Using For Each Java Element Activity
- Open iRobo Studio, and then open a new Workflow.
- Drag For Each Java Element Activity to the Sequence.
- Enter XPath dynamic value in the Element Selector field in Properties Panel.
- Drag any Activity into For Each Java Element Activity to take action on each element it gets, such as Highlight Element Activity to highlight each Java element.
- Click the Save button from iRobo Studio Menu to save Workflow.
- Click the Play button to start the automated process.
Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications