fbpx

Screen Shot

Screen Shot

Home Forums Ask Expert Screen Shot

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #31345
    Asif Qureshi
    Participant

      Hi,
      How we can take screen shot in the report like I have following script
      Application(“Login Screen”).View(“View”).Object(“ser Name”).Click
      Application(“Login Screen”).View(“View”).Object(“ser Name”).Type (“expawq”)
      Application(“Login Screen”).View(“View”).Object(“Password”).Click
      Application(“Login Screen”).View(“View”).Object(“Password”).Type (“August2017”)
      Application(“Login Screen”).View(“View”).Object(“Log On”).Click
      Application(“Store Selection Screen”).View(“View”).Object(“Lnter Store Number or Name”).Click
      Application(“Store Selection Screen”).View(“View”).Object(“Lnter Store Number or Name”).Type (“1651”)
      Application(“Select Store 1651”).View(“View”).Object(“BILKA TILST…”).Click

      when all steps are done then screen should be captured.

      Regards,
      Aqu

      #31346
      Kirill Bulatnikov
      Participant

        Hello Aqu, thanks for using ZAPTEST

        To get a screenshot of entire view you need to use following line:
        Application(“Select Store 1651”).View(“View”).CaptureBitmap

        You may also need to trigger this action by some Exist method and make “If-then” statement e.g.
        [i]If Application(“Select Store 1651”).View(“View”).Object(“Object”).Exist then
        Application(“Select Store 1651”).View(“View”).CaptureBitmap
        End If[/i]

        And also you may add some “Else” condition to define error message in case of negative result.

        Hope that helps,
        Thanks,
        ZAPTEST Team

        #31359
        Asif Qureshi
        Participant

          Hi ZAP Team,

          i am taking the screen shot as you mentioned in early email but nothing happened.

          Please see attached Screen shots
          1.PNG

          2.png

          #31360
          Kirill Bulatnikov
          Participant

            Hello Aqu
            Did you tried to expand Line 5 in test results? Or you can click to “Expand/Collapse Iterations” to expand/collapse each step.

            Hope that helps.

            Thanks,
            ZAPTEST Team

            #31361
            Asif Qureshi
            Participant

              Hi ZAPTEST Team,

              Yes I tried all steps but nothing happened. See Below URL

              https://www.screencast.com/t/PNitH7WG6VA

              Regards,
              AQU

              #31362
              Kirill Bulatnikov
              Participant

                Can you try to open results in different browser? Seems like IE works improperly.

                Go to TOOLS – Options – General – Default Browser and select Chrome for example.

                Thanks,
                ZAPTEST Team

                #31363
                Asif Qureshi
                Participant

                  Hi ZAPTEST Team,

                  Thanks for your co-operation. it is working fine now.

                  Regards,
                  AQU

                  #31364
                  Kirill Bulatnikov
                  Participant

                    You’re always welcome!

                    Thanks,
                    ZAPTEST Team

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

                  Virtual Expert

                  ZAPTEST

                  ZAPTEST Logo