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
Answer Posted / 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 View All Answers
What are the steps involved in recovery scenario wizard?
How to remove the associated function library?
Hai anyone please "Explain about Framework in QTP?"
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
can any body give the banking domain concepts/links
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
can u explain relative path architecture framework in qtp?
How can i check items sorted or not in a weblist ? Give me the script for this...
How to use transactions in qtp?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
In qtp, how you can remove the spaces from string?
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
What are advantages of test automation?