Editing a web application design
When you upload the designs of the web applications that are in the early stages of development, IBM® DevOps Test UI (Test UI) identifies the common UI controls on the application designs. You can review the controls that are identified on the designs and validate them in the design editor. You can then edit the type and label of the identified controls as required on each page.
- Read about the design driven testing feature. See Overview of design driven testing.
- Added a web application design on the Application Configuration page. See Adding a web application design.
- Go to the UI Test perspective.
-
Click the Application Configuration icon in the
toolbar.
The Application Configuration page is displayed.
- Optional: Click Web to filter and view the list of configured Web applications.
-
Click the Design editor icon to edit the design.
The design editor page is displayed.
-
You can perform the following actions:
If you want to... Do this... Select the controls of one category. Click Select component. Create a hotspot that provides a link to the image that is adjacent to the selected image for navigation. Hover over the control for which you want to create a hotspot, and then click the Hotspot icon. A success message is displayed when the selected control is linked with an uploaded image that is next in sequence.
Note: You can also remove the hotspot for the control by clicking the Hotspot icon.Display the list of controls either in a categorised list or a simple list. Click the Toggle view icon. Add a control that is not identified. Click the Add control icon to drag and select an area that identifies a new UI control to be added. Perform the following actions in the pop-up dialog that appears:- Select the type of control from the Type drop-down list.
- Enter the name of the control in the Content text box if there is any text within the bounds of the control.
- Click Show more to verify and edit the values that correctly identify the placement and size of the control in the Bounds text boxes.
- Click Save.
Modify an identified control. Select a control, and then click the Edit controls icon to modify the details. Perform the following actions in the pop-up dialog that appears:- Select the type of control from the Type drop-down list.
- Enter the name of the control in the Content text box if there is any text within the bounds of the control.
- Click Show more to verify and edit the values that correctly identify the placement and size of the control in the Bounds text boxes.
- Click Save.
You can also select multiple controls, and then change the type of the selected controls.
Delete a control. Select a control, and then click the Delete controls icon. Click Yes in the Confirmation dialog that appears. You can also select and delete multiple controls.
Select all the identified controls. Click Select all. Select the controls that are similar to the selected control. Click Similar. Highlight the hotspot that is on the current page. Click Hotspot. Clear the selection. Click Clear. Expand the list of controls. Click Expand All. Collapse the list of controls. Click Collapse All. Arrange the uploaded images in the correct sequence to record user actions. Drag and drop the images in the bottom navigation pane to arrange them in the correct sequence to record user actions if you have multiple screens. When you change the order of the image, if it is with a hotspot, then the hotspot is linked to the next available image. If there is no image adjacent to the reordered image with the hotspot, then the hotspot is removed.
Disable the uploaded images. Perform any of the following actions to disable one or more images: Hover over an image and click the icon.
or- Press the Ctrl key and then click the required images.
- Click the option.
Enable the disabled images. Perform the following actions to enable one or more disabled images: - Hover over an image, or click , or press the Ctrl key and then click the required images.
- Click the option.
Delete the uploaded images. Perform the following actions to delete one or more images: - Select the required image or to select multiple images, press the Ctrl key and then click the required images.
- Click .
The Confirmation dialog is displayed.
- Click Yes.
When you delete an image that is adjacent to the image with a hotspot, then the hotspot is linked to the next available image. If there is no image adjacent to the deleted image, then the hotspot is removed.
- Click the previous icon to return to the Application Configuration home page.
You have reviewed and edited the controls on the application designs.
You can record a Web UI test in the UI Test perspective by using the configured application designs. See Recording a Web UI test by using application designs.