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
write a script to verify the image path(src property) of the images which are in web pages.
what type of framework u r using in ur organization
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
What are the views available in quicktest professional?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How to run a test using quicktest professional (qtp)?
What is text check point and text area check point?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
What is the difference between keyword view and expert view?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
Explain QTP using different development techniques ?
How many types of parameters are available in quicktest professional (qtp)?
Can we create user defined functions in qtp?