Script runs successfully only once

Script runs successfully only once

Home Forums Ask Expert Script runs successfully only once

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #32593
    Sasha ZAP
    Moderator

      Hello vindavarapu,
      There may be several reasons why your test does not run as successfully as before:
      1. During the period passed after you’ve ran the test successfully GUI changes may have been made in the page even small changes may affect object’s recognition (Changes such as: different coloring, caption, place and size of the object, etc).
      2. The test may ran successfully only once but the second time it may not run successfully, meaning the object was not recognized properly.
      3. There may be more required waiting time before clicking on the “Page Clip” object and getting the popup window.

      Please try the following:
      1. Scan again the “Screen capture page” View and assign it to a new Application and NOT to the original “PB” Application (Since this is a new window).
      2. Make sure that objects with captions in them will be assigned as OCR based objects and not Image based objects.
      3. Make sure in the new scanned View the “Clip al Pag” object is being recognized properly and quickly.
      4. Update your testing script with the new assign ed objects and run the test again.

      If the test will fail again please send the whole testing script (he actual *.zap file) to us so we’ll examine it more precisely.

      Hope this helps.

      Thanks,
      ZAPTEST Team

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

    Virtual Expert

    ZAPTEST

    ZAPTEST Logo