Cannot click rows inside drop down list

Cannot click rows inside drop down list

Home Forums Ask Expert Cannot click rows inside drop down list

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

      Hi leidzb!

      1. When you have serious difficulties with scanning something in your application you could create screenshot and then scan this view from a picture. But this way you should add this view to the exist application, otherwise you could get wrong “Application” parameters.

      2. What do you mean? When ZAPTEST clicks on drop down list, it shows and disappears?! Could you provide more information and probably record your screen.

      Thank you,
      ZAPTEST Team

      #31076
      Leidz Bigay
      Participant

        Hi AndreySh,

        I am successful using your first suggestion on the scanning of the Dropdown list.
        However I am still not able to click on the items inside the drop down list.
        I have tried the workarounds below, but none seemed to work on our app:

        Workaround 1
        Hold CTRL key
        Activate Drop down
        Select Item from List
        Release CTRL key

        Workaround 2
        Hold CTRL key
        Activate Drop down
        Click with Move mouse down to select Item in drop down list
        Release CTRL key

        Workaround 3
        Hold CTRL key
        Activate Drop down by double clicking
        Select Row 1 on the drop down list
        Release CTRL button

        Workaround 4
        Activate Drop Down
        Click Row 1 in drop Down list

        Workaround 5
        Activate Drop Down
        Move mouse down
        Click Row 1 in drop Down

        Workaround 6
        Activate Drop Down by double clicking
        Move mouse down
        Click Row 1 in drop Down

        Zaptest was able to Click the DropDown control, and the Drop down list items shows up but disappears very fast and Zaptest was not able to click the items inside before the drop down list disappeared.

        I have attached the screen recording and zaptest file.
        The screen recording starts on the comment: ‘Start of Video Recording’ in the zaptest script
        Please let me know if you have any advice on how to resolve the issue.

        Thanks for the help.

        #31078
        Valentin ZAP
        Keymaster

          We have inspected your script.
          The biggest problem is:

          Object ‘Object(“ddUserMenu”)’ doesn’t have “Text” property. It means that OCR engine cannot be used and “Image Recognition” is used instead of. So this is very unstable, because selected area doesn’t contain graphic information.

          Using you video file is difficult to understand where is the place when the menu is successfully activated. So we want to provide the following scenario:

          ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
          ' ZAP Solution
          ' Click on the Gear to activate the menu
          ' If this is not working, you could activate menu by using relative objects
          ' After this step Content Menu should be visible
          Application("SecurEasy").View("Welcome").Object("btnGear").Click
          ' Use OCR Method To CLick on the menu item
          ' We have created siple object to click on "Log Viewer" item
          Application("SecurEasy").View("GearMenu").Object("Log Viewer").Click
          ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

          Let us know if this scenario works. ZAPTEST Script is attached.

          Thank you,
          ZAPTEST Team

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

        Virtual Expert

        ZAPTEST

        ZAPTEST Logo