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

I am new to QTP and trying to learn. I would like to know how to select a specific option that matches a partial text from a drop down using QTP.

The drop down in my application consists of more than 100 options and I need qtp to select some options based on the string values stored in a spreadsheet. I have a list of string values and need to compare this strings with the options in the drop down and select the one that matches with the string. These string values are only partial texts from the drop down values.

Ex. If the drop down options are
2015 Jan
2015 Feb
2015 Mar
2014 Jan
2014 Feb
2014 Mar

and I want to select any month from 2015 or 2014. So I want to search by partial text 1. 2015 2. 2014.

Any help, ideas are great appreciated. Thanks in advance.
Reply


Messages In This Thread
How to select the drop down option by searching for partial text - by Neetha - 07-30-2015, 05:09 AM

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,562 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,045 08-04-2015, 06:03 PM
Last Post: kbhargava505
  Click on drop down and select second option using HP UFT Tusharguru99 2 6,498 07-30-2015, 06:06 PM
Last Post: Neetha
  Drag and drop issue excellentpawan123 0 2,614 01-13-2015, 05:04 PM
Last Post: excellentpawan123
  Drop down list class is a link thotamurali 2 4,004 08-22-2014, 05:48 PM
Last Post: thotamurali

Forum Jump:


Users browsing this thread: 1 Guest(s)