In application have 2 list box oppsite list box two edit
box is there.so now through using DP how can we select 3
opption in first list box and 2box semect 4 opption.in edit
box also we have to write 25 ,28.how can we do this



In application have 2 list box oppsite list box two edit box is there.so now through using DP how ..

Answer / saket bharti

Selecting three items from the first list box:
Browser("").Page("").WebList("").Select "first item"
Browser("").Page("").WebList("").ExtendSelect "second item"
Browser("").Page("").WebList("").ExtendSelect "third item"

Setting the value of first Text box to 25:
Browser("").Page("").WebEdit("").Set "25"

Selecting four items from the second list box:
Browser("").Page("").WebList("").Select "first item"
Browser("").Page("").WebList("").ExtendSelect "second item"
Browser("").Page("").WebList("").ExtendSelect "third item"
Browser("").Page("").WebList("").ExtendSelect "fourth item"

Setting the value of second Text box to 28:
Browser("").Page("").WebEdit("").Set "28"

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

tell me about if in the interview what i should tell about pharma application,what r the pharma application concepts,i need pharma application testing features

0 Answers  


what is verification & validation?

2 Answers   Accenture,


Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?

3 Answers  


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

0 Answers  


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

0 Answers  






What are the key elements available in test result window?

0 Answers  


What are the advantages of QTP over WinRunner?

5 Answers   CTS,


what is the difference between Automation object model(AOM) and test object model(TOM)

2 Answers   UHG,


does qtp need record and playback in realtime. plz tell exactly wat happens

3 Answers   HP,


How to fetch web elements count from Google Page which contains letter "e"

4 Answers  


How to change the Default synchronization method time and where?

4 Answers  


How to interact tool & application build in QTP?

0 Answers  


Categories