fbpx

ClickRow dont work

ClickRow dont work

Home Forums Ask Expert ClickRow dont work

  • This topic has 5 replies, 2 voices, and was last updated 4 years ago by Sergey ZAP.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #32718
    Marco Malziotti
    Participant

      With the attachment I cannot select the row of the month indicated as a parameter.
      Assuming that the “BirthMonth” parameter is an integer between 1 and 12, in none of the three cases (line 8, 9 and 10) I can select the corresponding month.
      Can you help me please?
      I use ZapTest version 20.2.27 on Windows 10 Enterprise.
      Thanks.

      Marco Malziotti

      #32719
      Sergey ZAP
      Keymaster

        Hello Mark!

        In the attached script I showed two examples how to deal with web lists.

        1. I re-scanned your page and adjusted position of your List object (it has to be accurately defined). It’s able to select any month number correctly.

        2. Alternative way is to use Type method to enter a value from a list.

        #32732
        Marco Malziotti
        Participant

          Hello Sergey
          I took your advice and I have re-scanned my page on a screen with resolution (1920 x 1080) in view “WebStep1-birthDate-month”. I attach the updated file.
          In both cases (execution of line 7, 8 or 9) I get the same result “Unable to find parent object” (see attachments).
          Thanks for the support.

          Marco Malziotti

          #32733
          Sergey ZAP
          Keymaster

            Hello Marco!
            You scanned English version of the webpage, but you try to run the test against its Italian version.
            The text in Italian is different, this is why ZAPTEST can not find “monthBirthDate” object.
            You need to use same language for test design and test run.
            It is possible however to use same script for both languages, but you need to keep updating Text and Language properties for each OCR object.

            #32734
            Marco Malziotti
            Participant

              Maybe the “3” is too close to the edge?
              line 10 work fine (see “Results – examplerecognition2 – line 10 ok.pdf”)
              lines 8 and 9 not recognize “3”.(see “Results – examplerecognition2 – line 8 and 9 nok.pdf”)
              Thank Sergey.

              Marco

              #32735
              Sergey ZAP
              Keymaster

                Hi Marco!

                All numbers are too close to the edge of the listbox – this imposes extra challenge.
                You need to define boundaries of the object very carefully, esp. its left border.
                Alternatively you can simply type the month number (I showed this in an early example), this is much more reliable.

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

              Virtual Expert

              ZAPTEST

              ZAPTEST Logo