Problem with rerun the same script

Problem with rerun the same script

Home Forums Ask Expert Problem with rerun the same script

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.

            Virtual Expert

            ZAPTEST

            ZAPTEST Logo