Object not found in Windows Application.

Object not found in Windows Application.

Home Forums Ask Expert Object not found in Windows Application.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #31023
    Valentin ZAP
    Keymaster

      Hello Abhinavmalviya1992!

      1. On your screenshots “Login” and “Password” labels in a bad quality. If ZAPTEST cannot recognise them, we recommend to use login header and related objects for “Login” and “Password” TextBoxes.

      See the attached script. We created 3 objects and provided the simple script.

      • Login Header: to determinate the relative position of TextBoxes.
      • 2 relative objects for TextBoxes. Also we set Scalability to: “ParentSize” to avoid zooming issue.


      Application("tmobile").View("login").Object("LoginHeader").Object("LoginTextEdit").Type "test"
      Application("tmobile").View("login").Object("LoginHeader").Object("PasswordTextEdit").Type "test"

      In case if “Login” and “Password” labels in a good quality, please use them instead of the Header object. Please let us know if you still have issue with that.

      2. You can work with popups like with any other Windows application. To select the right window we have special properties:

      • regexpwndclass
      • regexwndtitle

      If you have dynamic popups, you could create one application object with a view and use SetProperty method to change this parameters.

      Thank you,
      ZAPTEST Team.

      Attachments:
      #31024
      abhinav kumar
      Participant

        Still not able to locate the object.

        #31025
        Valentin ZAP
        Keymaster

          Hello Abhinavmalviya1992!

          Could you attach your script?

          Thank you,
          ZAPTEST Team.

          #31026
          abhinav kumar
          Participant

            pfa

            Attachments:
            #31027
            abhinav kumar
            Participant

              hi,

              Enclosing the screenshot of flow.

              Object is not getting searched from second last snapshot.

              Regards
              Abhinav

              Attachments:
              #31028
              abhinav kumar
              Participant

                Hi,

                I have few queries. Please explain them.

                1. Our Window application is based on Adobe Flex technology. Can we automate it using ZAPTEST Free Edition. If yes then do we need any plugin for that. If No then how can we automate Adobe Flex based Windows Application using ZAPTEST.

                2. What is ZAP-FIX. We found on internet that it is used to automate Adobe Flex based Window applications. How can we access ZAP-FIX and how to use it.

                3. Is there any chance that application can have some security feature that does not allow it to automate using ZAPTEST.

                Regards.
                Abhinav

                #31029
                abhinav kumar
                Participant

                  Hi,

                  I have few queries. Please explain them.

                  1. Our Window application is based on Adobe Flex technology. Can we automate it using ZAPTEST Free Edition. If yes then do we need any plugin for that. If No then how can we automate Adobe Flex based Windows Application using ZAPTEST.

                  2. What is ZAP-FIX. We found on internet that it is used to automate Adobe Flex based Window applications. How can we access ZAP-FIX and how to use it.

                  3. Is there any chance that application can have some security feature that does not allow it to automate using ZAPTEST.

                  Regards.
                  Abhinav

                  #31030
                  Valentin ZAP
                  Keymaster

                    Hello Abhinavmalviya1992!

                    Thank you for the attached ZAP file. We have checked the file and did some corrections.

                    We can separate “Log In” text from button and label using “TextColor” property. To activate this feature the color should be different from 0,0,0 (Black). All settings we could set using workbench.

                    Please check the attached script, we changed the following items:

                    • Created new objects for TextBoxes labels
                    • Set the color for “Login” and “Password” objects (labels) as “1,1,1”. It will separate this objects from the “Login” button
                    • Created 2 related objects for TextBoxes and set “ParentSize” scalability option
                    • Set the color for “Login” button as “178,178,178” (we can use Color Picker), and then change the color tolerance to “10”

                    We checked script using Exist Method and Application Screenshot:

                    Application("QuickViewStart").View("TMobileLogin").Object("Login").Exist
                    Application("QuickViewStart").View("TMobileLogin").Object("Login").Object("LoginTextArea").Exist
                    Application("QuickViewStart").View("TMobileLogin").Object("Password").Exist
                    Application("QuickViewStart").View("TMobileLogin").Object("Password").Object("PasswordTextArea").Exist
                    Application("QuickViewStart").View("TMobileLogin").Object("LoginButton").Exist

                    exist.png

                    All objects are successfully identified. Let us know if you have some questions.

                    Thank you,
                    ZAPTEST Team.

                    #31031
                    Valentin ZAP
                    Keymaster

                      Hello Abhinavmalviya1992!

                      1. Our Window application is based on Adobe Flex technology. Can we automate it using ZAPTEST Free Edition. If yes then do we need any plugin for that. If No then how can we automate Adobe Flex based Windows Application using ZAPTEST.

                      [b]Yes, we can automate it and we don’t need any plugin for doing it. Using the Windows system we should repeat all actions which we could perform during the manual testing but within ZAPTEST: we aren’t limited by system and could perform actions using the text and image -based objects.
                      [/b]

                      2. What is ZAP-FIX. We found on internet that it is used to automate Adobe Flex based Window applications. How can we access ZAP-FIX and how to use it.

                      [b]ZAP-fiX is an older version, the new product is ZAPTEST and you could download it for free
                      [/b]

                      3. Is there any chance that application can have some security feature that does not allow it to automate using ZAPTEST.

                      [b]Using the Windows system / MAC OS / Linux – no. We know only about Android devices when application has special SECURITY flag. This way we should recompile application without this flag for test purpose.
                      [/b]

                      Thank you,
                      ZAPTEST Team.

                      #31032
                      abhinav kumar
                      Participant

                        PFA, getting error when we click ‘Pick colour frm GUI map’. Can you please resolve this issue.

                        Attachments:
                        #31033
                        Valentin ZAP
                        Keymaster

                          Hello Abhinavmalviya1992!

                          Could you please show the “details” of this exception? Also you probably could get the information about this exception using the system “Event Viewer”.

                          RnD team is working on resolving this issue.

                          Thank you,
                          ZAPTEST Team

                          #31034
                          abhinav kumar
                          Participant

                            Hi,

                            We are still not able to locate the objects in our Windows Application.
                            Can we have a WebEX meeting tomorrow somewhere between 12:30GMT to 13:30GMT. We can present our screen to you and you can check what the real issue is.

                            Regards
                            Abhinav

                            #31035
                            Valentin ZAP
                            Keymaster

                              Hello Abhinavmalviya1992!

                              ZAPTEST Team will contact you.

                              Thank you,
                              ZAPTEST Team

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

                            Virtual Expert

                            ZAPTEST

                            ZAPTEST Logo