Get Html Element Position
Returns the horizontal and vertical screen position of a web element. By default, we generate the variables(webElementXPos, webElementYPos) that will be set to the returned positions, but they can be changed under Variable tab at the bottom of the workflow.
#
Designer PropertiesSee Web Event Main Properties.
- Left The horizontal screen position of the web element. The variable is automatically generated when the activity is dropped on the designer, but it can be changed under Variable tab at the bottom of the workflow.
- Top The vertical screen position of the web element. The variable is automatically generated when the activity is dropped on the designer, but it can be changed under Variable tab at the bottom of the workflow.
#
Properties#
Web Event Main PropertiesSee Web Event Main Properties.
#
General PropertiesSee Web Event General Properties.
#
MiscSee Misc.
#
Out Coordinates- Left The horizontal screen position of the web element. The variable is automatically generated when the activity is dropped on the designer, but it can be changed under Variable tab at the bottom of the workflow.
- Top The vertical screen position of the web element. The variable is automatically generated when the activity is dropped on the designer, but it can be changed under Variable tab at the bottom of the workflow.
#
Out ErrorSee Out Error.
#
Out Properties#
Web Event Advanced PropertiesSee Web Event Advanced Properties.
#
ExampleGet Google search screen coordinates
In this example, we get the screen position of the Google search input control and display it in a Message Box.