fbpx

How to rerun the script?

How to rerun the script?

Home Forums Ask Expert How to rerun the script?

  • This topic has 1 reply, 2 voices, and was last updated 7 years ago by Kirill Bulatnikov.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31592
    Asif Qureshi
    Participant

      Hi ZAP Test Team,

      I have a question regarding, how i can run the scripts again for example. I have a following code.once all lines are runs then i want again line no 10 to line no 15 script should be executed instead of once again all script is run. what is the way to do that?

      Application(“Home_Screen”).View(“View”).Object(“Log On”).click
      wait 3
      Application(“Store_Selection_Screen”).View(“View”).Object(“Qt.”).Click
      Application(“Application”).View(“View”).Object(“arch…”).Type (“4134”)
      Application(“Store_4134”).View(“View”).Object(“NETTO iiSTRA FoRSTADSGATAN”).Click
      wait 2
      Application(“Counting_Screen”).View(“View”).Object(“Counting”).Click
      Application(“Team_Count_Article_Screen”).View(“View”).Object(“Article No.”).Click
      Application(“Enter_Barcode”).View(“View”).Object(“Enter Article number or barcoo”).Type (“1234”)
      Application(“Search”).View(“View”).Object(“Image Object 16”).Click
      Application(“Position_value”).View(“View”).Object(“Image Object 19”).Click
      Application(“Position_value”).View(“View”).Object(“Image Object 19”).Type (“1”)
      Application(“Count_screen”).View(“View”).Object(“Image Object 19”).Click
      Application(“Count1”).View(“View”).Object(“Image Object 18”).Type (“1”)
      Application(“Dashboard”).View(“View”).Object(“Dashboard”).Click
      Application(“Confirmation_box”).View(“View”).Object(“Yes”).Click

      Regards,
      Asif waheed

      #31594
      Kirill Bulatnikov
      Participant

        Hello Asif

        It is possible if you are using ZAPTEST Enterprise edition. You can use loops/cycles, functions etc
        With Free Edition loops are not allowed as well as functions/external calls.
        Please see comparison table on the page below
        https://www.zaptest.com/zaptest-free-edition

        Thanks,
        ZAPTEST Team

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo