How to stop script

How to stop script

Home Forums Ask Expert How to stop script

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

      Hello aqu,

      Basically you can set a condition such as:

      If Application(“Application”).View(“View”).Object(“Welcome”).Exist Then
      Application(“Application”).CustomReport True, “Welcome page Success”, “Welcome page appeared Successfully.”, True
      Else
      Application(“Application”).CustomReport False, “Welcome page Error”, “Net is off and the welcome page did not appear.”, True
      ZAP.StopTest
      End If

      The “Object(“Welcome”)” you can change to any expected object which appears only in the Welcome page.

      Thanks,
      ZAPTEST Team

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

    Virtual Expert

    ZAPTEST

    ZAPTEST Logo