- Subscribe to RSS Feed
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
Adding a Validation to a Browser Action
|
|
|
A new validation form will appear in the workspace with the default values. |
|
|
Choose a command from the command drop-down menu to describe the validation. CloudTest has all of the WebUI validations that Selenium has plus the ability to extend via JavaScript using Custom Validations. In this example, we will add a validation to verify that an element is present on the page (using the default, verifyElementPresent). |
![]() |
|
Some validation commands have parameters. The verifyElementPresent command has a Locator parameter. The parameters will appear beneath the command option when the command is selected. |
![]() |
|
Type in a value for the Locator, such as the id of the element, or click the Locator Tool and use it to select an element in the web page. |
![]() |
|
All validations have a Failure Action option.
|
![]() |






