Action on Elements
Object that allows isolated actions on objects found on the web page.
Last updated
Object that allows isolated actions on objects found on the web page.
Last updated
This object depends on the "Open Browser" and "Search Elements" objects to work.
Field
Descriptive
Title
Object title
Select Browser Object
Option to select a browser from the object "Open Browser"
Select Element Object
Option to select the element found with the "Search Element" object
Object Index
Index of the element found (Used when looping through a list)
Click
Click action on the found element
Type
Type action on the found element
Password Field
Action to not display on screen the password entered in the text field
Text
Text to be displayed on the screen
Shortcut Keys
Activates shortcut keys on the element
To execute an action in a list of elements, you must follow the next steps:
1 - Select the object "Open Browser' on the "Internet" menu and drag it to your working area
First define a unique name for the object in the "Object Identifier Name" field, select a browser and enter the website to be accessed in the "Web Page Address" field
As seen above, we will use the w3schools website in this tutorial
2 - Next we must search for the xpath of the table using the "Search Elements" object from the "Internet" menu:
You should enter the main object, in this case, the browser object. Next we should enter the xpath in the search field and set "SEARCH A LIST" and then define the action to be applied. (See how to get the xpath of elements manually, by clicking HERE)
3 - Lastly, select the "Action on Elements" object to perform the desired action. Select the main object, select the object defined in the element search, enter the object index and set the action to be performed.