Forum Discussion

csteinburg's avatar
csteinburg
Occasional Contributor
4 years ago

Selecting item in dropdown menu based on parameter

What is the most effective method of automating the actions of opening a dropdown and selecting the item that matches a provided Parameter, such as providing a Parameter for a Province/State dropdown and choosing the state that matches the parameter provided in the Keyword Test?

  • Marsha_R's avatar
    Marsha_R
    4 years ago

    Okay now use the three dots  ...  on the right side of those entries to drill down until you find the actual name of one of the child objects that you want to use and show us that please

  • Use the Object Spy on your dropdown and use the properties to see how it's indexed.  Use the index that matches the desired parameter for the selection you need.

    • csteinburg's avatar
      csteinburg
      Occasional Contributor

      I can see its children here, but I am still unsure of how to select it against a parameter

      • Marsha_R's avatar
        Marsha_R
        Moderator

        Okay now use the three dots  ...  on the right side of those entries to drill down until you find the actual name of one of the child objects that you want to use and show us that please