What is an other way of "Wait" statement in QTP
I dont want to use wait("Some number").
Can any one tell this please..........
Answer Posted / tvs ramakrishna chowdary
timeout=0
expval=true
actval=window("Flightreservation").winbutton
("updsteorder").getroproperty("enabled")
while((expval<>actval) & (timout<30))
wait(2)
timeout=timeout+1
actval=window("FR").winbutton("UO").getroproperty("enabled")
wend
if(timeout=30)then
msgbox "update order btn is not enabled in given time frame
hence exiting action")
exitaction
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
How to integrate the qualitycenter with qtp
What is the expert view?
How to use reporter.report event in qtp ?
Explain quicktest professional testing process?
Explain the features and benefits of quick test pro(qtp)?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
How to get the particular property value?
What are the different kinds of test steps?
Explain in brief about the quicktest professional automation object model?
Can we run test with out adding object in object repository? How it is possible?
What is the parameterization? Give one example?
Limitations in QTP?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
Does QTP record on Objects created on XWindows Environment?