Execute Script On Element
Is the action of interacting with a specific element on the user interface to execute a command
Platform
Web
Attribute
| Attribute | Data Source | Recommended |
|---|---|---|
| Locator: is the element that the keyword will interact with on the user interface | Value (commonly used): the value does not change during the testing process Variable: used when the xpath changes according to the input data of the test scenario | The system recommends the default locator is Repository Element |
| Script: the command to execute on the element | Value (commonly used): value that does not change during testing Variable: is a parameter when performing data driven testing Parameter: used when the data passed into the test scenario changes according to the environment (Environment parameter), device (Device parameter) | String |
Use case
Used when it is necessary to execute a command on an element on the user interface to support the next steps in the test scenario