In web page there is five OK buttons available, while
recording i click on 3rd OK button, How QTP identify the 3rd
OK button while running script? Is qtp identify 3rd ok button?
Answer Posted / sarojini
use index proeprty to close the 3rd ok button.
use for loop condition like
For i= 0 to 10
okbuttonvalue=Broswer("").page("").button
("index:="&i).getroprepoerty("value")
Next
by using this for loop condition you can get index value
from above logic take index value put in the line close the
third button
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
breef description of batch testing ?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
What is Test Fusion Report in QTP?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
What are the views available in quicktest professional (qtp)?
How to handle Java tree in QTP?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
What environment does qtp run in?
Why do we use breakpoints in QTP?
What are the key elements available in test result window?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
Do you know how to connect database? Can you tell me the procedures?
How to capture a window in QTP?
What is the difference between run time object and test object in QTP?