Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
select an item from a very long drop down list
#1
Not Solved
Hi,

Even though i am able to do it with my looping logic, i just wanted to see if anyone else has a better solution to my problemSmile.

I have a drop down that contains over 100 items. I have to select the drop down value based upon the user input but the user input is not the complete name as it appears on the drop down. User input is a keyword that appears in the drop down value. E.g. if the drop down value is "12345 - ABC 0001245 - Testing drop down" then user input is 12345 because first 5/6 digits are unique.

Now as per my solution, I am looping through all of them and doing Instr to see if this is the drop down i want. But it is very time consuming as if the values that i want are the last values in the drop down. Anyone has a better solution? I would really appreciate your time and input! TIA!!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot identify the specified item Beginner 0 2,486 06-22-2017, 04:55 PM
Last Post: Beginner
  [UFT] SwfObject as Toolbar: select item without coordinates felino 0 3,304 11-27-2015, 03:09 PM
Last Post: felino
  WinListView set item command Shahino007 0 2,651 10-06-2015, 03:57 PM
Last Post: Shahino007
  How to select the drop down option by searching for partial text Neetha 4 8,783 08-04-2015, 08:55 PM
Last Post: Neetha
  Web Element: Not able to select value from drop down in Web Element. Rajeev 4 5,298 08-04-2015, 06:03 PM
Last Post: kbhargava505

Forum Jump:


Users browsing this thread: 1 Guest(s)