Forum Discussion

nstohl's avatar
nstohl
Occasional Contributor
9 years ago

Enter a subject

Another Question:

How can I check if a button is visible or not?`(I am creating keyword-tests).....

 

2 Replies

  • baxatob's avatar
    baxatob
    Community Hero

    First you should create a Property Checkpoint for required object.

    Then you can use "Exists" property as Tanya suggested.

    But sometimes object can be presented (Exists == True) at the page DOM, but not visible.

    In this case you should use another property for this element. Investigate all properties in Object Browser. It can be: Visible, VisibleOnScreen or even Height - sometimes developers use Height = 0 to make element invisible on the screen.