iRobo.Activity.For Each HTML Element

Search Web Browser for all  instances of  the supplied XPath/CSS selector.


     Note: 

         Before using Web Activities, check Web Automation prerequisites from Web Automation Page.

                                                                                                               

Properties

Input

  • CSSSelector - Select content to style.
  • Displayed -  Check if selected Element is displayed or not. Its input is True/False arguments.
  • Element Selector - Generate Script for selected Element.
  • Frame -  Get border frame of selected HTML Element.
  • MaxResults - Set maximum number of output results.
  • Searchtags - Find any Element on the Web page using HTML tags.
  • Searchxpath - Find any Element on the Web page using XML path expression.
  • Timeout -  Time to execute activity.
  • XPath -  Find any Element on the Web page using XML path expression.


Misc

  • results -  A Collection of output values.
  • DisplayName -  Activity header name.


Output

  • Results - Array of HTML Element Variables.


Steps of Using For Each HTML Element Activity

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag For Each HTML Element Activity to the Sequence.
  3. Enter XPath dynamic value in SearchXpath field in Properties Panel.
  4. You can also search for HTML Element using HTML tags by SearchTags field in Properties Panel.
  5. Drag any Activity into For Each HTML Element Activity to take action on each element it gets, such as: Highlight Element Activity to highlight each HTML element.
  6. Click Save button from iRobo Studio Menu to save Workflow.
  7. Click Play button to start the automated process.



Created with the Personal Edition of HelpNDoc: Free Web Help generator