New steps for UI-related actions and user actions in a test from the UI catalog
When you want to add UI-related actions and user actions to update a test, you can add those steps from the UI catalog. UI-related actions are actions such as opening a new page and adding a new section in the test. User actions are actions such as click, select, type, and key press for user inputs.
You can add the following UI-related actions and user actions from the
UI catalog in the Catalog tab to update the
test:
When you insert a step after a With or
Open step by using the catalog elements such as
Assign, Click, Press,
Select, Type, and
Verify from the UI catalog, the step is added
without a smartshot. You must drag a smartshot to the pane or click the click here to add
smartshot link to select a smartshot from the Add Smartshot
pop-up. You also can hover over an image and click the zoom icon
to view the enlarged image. The image displays with the controls to rotate right,
rotate left, zoom in, and zoom out.
| Catalog element | Description | Reference |
|---|---|---|
| Verify | You can verify the property such as content, type, class, label, exists,
tagname, id, xpath, name, and value of a UI object. You can use any property that is
listed in the Properties section for verification. When you run the test, Test Hub compares the property of the object that was set in the recorded test with the property of the object during the playback. This comparison helps determine if any changes have occurred in the application, either intentionally or unintentionally. |
Adding a Verify step |
| Assign | You can assign a value to an existing variable or a new variable. | Adding an Assign step |
| With | You can add a container for a new page, section, or tab on the web page. | Adding a With step |
| Open | You can add a step to open a URL. | Adding an Open step |
| Click | You can add a click action as a step. | Adding a Click step |
| Select | You can add a select action as a step. | Adding a select step |
| Type | You can add a type action for entering the text in a text box as a step. | Adding a Type step |
| Press | You can add a press action for window controls or supported keys as a step. For example, you can add a step to minimize a window or press Ctrl + M. | Adding a Press step |