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
How does you pass optional arguments in qtp?
What is data driver in qtp? Where we use it?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
What are output values and why they are used ?
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
How is UFT 11.5 version different from UFT 12.0?
What are the differences between quicktest professional (qtp) and winrunner?
What are the advantages of Object Repository?
Object repositories types, which and when to use?
What are the types of object repositories? Which one is you using?
How you calling actions in qtp?
How you can replace string in qtp?
What is keyword view?
What is ObjectParamater?