iRobo.Activity.Java Element Exist

Checks if the Java UI Element based on the XPath selector exists or not.


     Note: 

         Before using Java Activities, check Java Automation prerequisites from Java App Automation Page.

       

                                                                                                       

Properties

Input

  • Element Selector - Generate Script for selected Element. (Mandatory)
  • From - Get the process of the selected Java Element.
  • Timeout -  Time to execute the activity.


Misc

  • DisplayName -  Activity header name.


Output

  • Exists Boolean Variable returns True or False, indicating if the element exists or not. 



Steps of Using Select Java Element Exist Activity

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Java Element Exist Activity to the Sequence.
  3. Click on Select Element button from  Activity.
  4. Go to java Applications and select an element from it, where Element XPath should be Implemented in Element Selector.
  5. Drag Message Box Activity to the Sequence.
  6. Add Exists Variable to Message Box Activity Input in Properties Panel.
  7. Click the Save button from iRobo Studio Menu to save Workflow.
  8. Click the Play button to start the automated process, a message box appears with the Exists value returning True or False, if the Element exists or not.




Created with the Personal Edition of HelpNDoc: Easily create EPub books