1.3. Verify that an element exists

Sometimes, you may want to just verify whether a specific element is displayed on the app page or not. This does not reqiure comparision of attribute values for verification.

E.g. say, in an app where music plays, you click on a button and a music player opens. You need to verify that the music player has opened on the page.

_images/Verifyelementexists1.png

In this case, all that you need to check is whether the element containing the music player is now visible on the page.

_images/Verifyelementexists2.png

RobusTest enables you to perform this kind of a verification as follows:

  1. In an Automation test session, hover the mouse on the device screen over the element which has to be verified.
_images/Verifyelementexists3.png
  1. Left click on the element and click on ‘Verify Element’
_images/Verifyelementexists4.png
  1. On the “Create Verification” window that opens, click on the ‘Save’ button
_images/Verifyelementexists5.png

The verification test step that is created verifies that the element exists