Exist method doesn’t work if object doesn’t displa

Exist method doesn’t work if object doesn’t displa

Home Forums Ask Expert Exist method doesn’t work if object doesn’t displa

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #32879
    Sasha ZAP
    Moderator

      Hello Adil,
      If I understand you correctly this is an example of a condition with the Exist method:
      If Application(“Application Name”).View(“View Name”).Object(“Name”).Exist(1000, False) Then
      Application(“Application Name”).CustomReport True, “Grid Success”, “The grid appeared successfully.”, True
      Else
      Application(“Application Name”).CustomReport False, “Grid Error”, “The grid did not appear.”, True
      End If

      Also you can check our “How-To” page which contains documentation of all ZAPTEST methods and elementsat:
      https://www.zaptest.com/user-zone/product-training

      In this page you can find the Exist method’s explanation which ay help you as well:
      https://www.zaptest.com/user-zone/product-training/zaptest/methods/method-exist

      Hope this what you need.

      Thanks,
      ZAPTEST Team

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.

    Virtual Expert

    ZAPTEST

    ZAPTEST Logo