Using list on clickrow

Using list on clickrow

Home Forums Ask Expert Using list on clickrow

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #32477
    Dennis Yu
    Participant

      I am using clickrow on my list but its not working can you teach me or give me sample code

      My Code
      Application(“Ethesia”).View(“AccountTypeView”).Object(“Account type”).List(“ListType”).ClickRow Datatable.Value(“AccounType”)

      #32478
      Sergey ZAP
      Keymaster

        Hello Denis!
        Your use of the method is correct.
        There can be List object definition or text recognition issue which prevents successful execution.
        Please attach you test if possible.

        #32479
        Dennis Yu
        Participant

          ok I wll attached my test please help me so that we can use the software and upgrade to enterprise edition

          Thanks,
          Dennis

          Attachments:
          #32480
          Sergey ZAP
          Keymaster

            Thanks Dennis!
            Changes I made:
            – defined different parent object for the Llistbox and the List object – used one with unique text on this page;
            – more precisely set the List object – rows of the object must match rows of text in the listbox.

            #32481
            Dennis Yu
            Participant

              Can you attached again the changes please thanks

              #32482
              Sergey ZAP
              Keymaster

                Attaching it again.

                Attachments:
                #32518
                Dennis Yu
                Participant

                  I am still having problem with my second listview can you help attached is my file

                  Attachments:
                  #32519
                  Dennis Yu
                  Participant

                    I am still having problem with my second listview can you help attached is my file

                    #32520
                    Sergey ZAP
                    Keymaster

                      Hello Dennis,

                      I changed precision for the parent object to High, because ZAPTEST must find it with perfect accuracy for List object rows to match.
                      Remember, you can also use standard OCR object to click on list items. Use SetProperty method to assign Text value dynamically (in case List object does not work reliably).

                      #32521
                      Dennis Yu
                      Participant

                        I tried to run the one you attached and its working the first time when I run it gain now its not working its very inconsistants what should I do I also uses OCR. Attached is the doc

                        #32522
                        Sergey ZAP
                        Keymaster

                          Please use standard object instead of a List. In the attached script I also included Area object to ensure ZAPTEST finds the text only among List items.

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

                        Virtual Expert

                        ZAPTEST

                        ZAPTEST Logo