Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select the drop down option by searching for partial text
#5
Not Solved
Thanks for the reply.

I found an alternative way to solve this. Here is what I did.

1. I pulled all the list items from the drop down and stored into a String variable of array type using Split method.
2. I compared each of these list items with the text string I have using Instr method by adding a loop.
3. If found I then checked the position if it is greater than or equal to 1. And if true then select the list item with the count that matches in the loop statement.
Reply


Messages In This Thread
RE: How to select the drop down option by searching for partial text - by Neetha - 08-04-2015, 08:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,565 09-13-2015, 12:06 AM
Last Post: ADITI1992
  Web Element: Not able to select value from drop down in Web Element. Rajeev 4 5,048 08-04-2015, 06:03 PM
Last Post: kbhargava505
  Click on drop down and select second option using HP UFT Tusharguru99 2 6,500 07-30-2015, 06:06 PM
Last Post: Neetha
  Drag and drop issue excellentpawan123 0 2,619 01-13-2015, 05:04 PM
Last Post: excellentpawan123
  Drop down list class is a link thotamurali 2 4,006 08-22-2014, 05:48 PM
Last Post: thotamurali

Forum Jump:


Users browsing this thread: 1 Guest(s)