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
how can we do the frame work in qtp
What is ObjectParamater?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
How to find array size in qtp?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
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
Explain xml checkpoints.
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
If the objects hierarchy is changing from build to build, then how you will handle that condition?
How many types of recording modes in the qtp?
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
what is command for executing files?