QTP Forums

Full Version: How to select correct list?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If you have two list box/drop down box
first box is displaying the list of States
second box is displaying the list of districts

my question is
if you select particular state then the district dropdown should display only those district names which exists in that particular states.

Please tell me how to do this..
do you want to know how to do this or how to test this? I
guess you want to know how to test this, right? Smile

if so, then you will have to tell qtp to remember all the states and relevant districts, you can do this in a excel ,
select a state and go thorugh each districts in your dropdownlist and check against your xls.
Reference URL's