Forum Discussion

nastester's avatar
nastester
Regular Contributor
10 months ago
Solved

Issue with Visible/VisibleOnScreen detection

I have a script where I want to assert an object is no longer visible on screen after an action.   Both of these scripts pass when the object is humanly visible on screen: aqObject.CheckProperty(A...
  • nastester's avatar
    nastester
    10 months ago

    I changed the CheckProperty to be "Exists" and it works..

     

    aqObject.CheckProperty(Aliases.browser.pageDashboard.headerSelectedMessage, "Exists", cmpEqual, false);

     

    Don't really understand why that works but not Visible but oh well, it is sufficient for my purposes.