fbpx

Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Problem with rerun the same script

Problem with rerun the same script

Home Forums Ask Expert Problem with rerun the same script

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #31228
    Bob Wales
    Participant

      Hello to everyone,
      I have a problem with rerun a same script after closing Zaptest (free edition) and my desktop application. I wrote a simple test (two lines of script) and tested it and it worked on 100%, then I closed Zaptest and my aplication, but when I run Zaptest and load a script at same conditions, when I wrote the script it fails.
      Do you have some advice?
      Thank you for your help

      #31229
      Sasha ZAP
      Moderator

        Hello bob.wales,

        Can you please attach your testing script + if the application cannot be publicly accessed detailed screenshots of the pages the test runs upon.

        Thanks,
        ZAPTEST team

        #31237
        Bob Wales
        Participant

          Hello,
          the script is here:

          Application(“secondDirec”).View(“MNV”).Object(“Save”).Click
          Application(“secondDirec”).View(“MNV”).Object(“Save”).List(“listMNV”).ClickRow Datatable.Value(“menuMNV”)

          It runs on Remote Desktop from Amazon and the code is written in .NET.
          Thank you for advice.
          Have a nice day

          #31238
          Sasha ZAP
          Moderator

            Hello bob.wales,

            To resolve the issue we need somehow to duplicate it in our labs, in order to do so I need at least some screenshots of the AUT (Application Under Test) you wish to test with the objects you refer to them in the testing script you’ve posted.

            Thanks,
            ZAPTEST team

            #31240
            Bob Wales
            Participant

              Hello Zaptest Team,
              at the file “Figure1.tif”, you can see my application after login. At the file “Figure2.tif”,

              Figure1.jpg

              Figure2.jpg

              You can see a menu, which can be seen after the click at the first item from left at a menu.
              I tried to do simple thing at the script of Zaptest, i.e. click at the first item from left at the menu and I tried to choose
              one of the item from the list. The rerun of the script fails at all points of list.
              I tried to fix a size of window of my application, but it did not help.
              I tried same thing at Notepad and it works on 100%.
              Thank you for your advice.
              Bob Wales

              #31241
              Kirill Bulatnikov
              Participant

                Hello, thank you for using ZAPTEST

                I have 2 suggestions
                1. Try to play with language properties (TOOLS->Options->ZOE->Default Language or in the object properties)
                2. You may try to re-scan window that opens after login to the same repository but to another “Application” – possibly your application change system name (regexpwndtitle) and/or application class (regexpwndclass) and can’t be found by ZAPTEST so that is why objects can’t be found there. You can check these parameters in Object Properties for Application object

                Thanks,
                ZAPTEST team

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