Previous Topic: Ensure Screen Element Matches ExpressionNext Topic: Other Assertions


Ensure Screen Element is Removed

The Ensure Screen Element is Removed assertion verifies that a specified screen element on the mobile device has been removed before proceeding to the next step. By default, if the specified element is present, the test step fails.

When you add this assertion, a pop-up dialog lets you select the screen to test that the element has been removed.

For example, you could have a test case that includes three steps. The last step involves clicking the Back button. To ensure the Back button is not included on the first step, you would add the Ensure Screen Element is Removed assertion for the Back button on the last step, and select that first step in the drop-down list.