dropdown values

dropdown values

Home Forums Ask Expert dropdown values

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32251
    sridhar ms
    Participant

      hi,
      could you help how to select the dropdown values

      #32253
      Sasha ZAP
      Moderator

        Hello sridhar5.ms,

        The best way to select a specific string from a Dropdown is as follow:
        1. Scan the page where the Dropdown box exists, in this scan the Dropdown will only contain its first upper text-box.
        2. The code in the automated test will be similar to this:
        Application(…).View(…).Object(Your Dropdown specified object name).Type “String you want to select”
        3. You can also check the new populated sting in the Dropdown box to verify if it matches your expected selection (To get the populated string use the GetText method).

        Hope this helps.

        P.S. Please refer to our Beginner’s Tutorial at:

        Tutorial

        Also you can check our “How-To” page at:
        https://www.zaptest.com/user-zone/product-training

        Thanks,
        ZAPTEST Team

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

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo