Unable to start the application

Unable to start the application

Home Forums Ask Expert Unable to start the application

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32423
    ALAK DUTTA
    Participant

      Hello
      I successfully wrote script for my wpf application and it worked very well. But surprisingly when I try to execute the code the following day it gives me error that object can not be found. Then again I used the GUI map to locate the element and this time it works. I noticed the object property of the element and it is all the same. But still it couldn’t find the element.
      Can you please give some idea why it didn’t work

      #32424
      Sergey ZAP
      Keymaster

        Hello Alak,
        What exact error do you get in the test result?

        #32425
        ALAK DUTTA
        Participant

          Application not found…this is the error I got when check the result in the pdf. Interesting thing is when I again do the GUI mapping, the object is recognized although the property of the object are same in failed and successful recognition of the object

          #32426
          Sergey ZAP
          Keymaster

            ZAPTEST is unable to recognize your application window.
            ZAPTEST uses class and title of an application window to locate it.
            Please scan the AUT using new application object, and look for any difference in its title or class values.
            In most cases you can simply exclude dynamic part from the properties values.

            This How-To video provides additional details.
            https://www.zaptest.com/user-zone/product-training/zaptest/getting-started/troubleshooting-application-not-found

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

          Virtual Expert

          ZAPTEST

          ZAPTEST Logo