Sel IDE – How to use wild cards on drop down list IDs

(Sorry – this is a Selenium IDE question)

I have dynamically generated IDs for a drop down list.

However, the end part is the same: _gridDropDownList
I want to select an item in the drop down list but I am not sure of the ends-with syntax for a drop down list:
select
id=ends-with[‘_gridDropDownList’]
label=A
Thanks for any help…
Default Asked on March 6, 2015 in Selenium WebDriver.
Add Comment
  • 2 Answer(s)

    Professor Answered on March 9, 2015.
    Add Comment

    That did n’t work. I’ve discovered that Selenium doesn’t use ends-with() so I ended up using contains().

    Thanks…

    Default Answered on March 9, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.