Micro Focus QTP (UFT) Forums
How to select correct list? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to select correct list? (/Thread-How-to-select-correct-list)



How to select correct list? - rahul1234 - 10-14-2009

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..


RE: How to select correct list? - Saket - 10-14-2009

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.