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
please post the interview questions for QA position in FACTSET
UFT 12.02 which ALM version will support
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
Difference between test object and run time object?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
Through array we can execute the testcase how ? give me example
Which environments are supported by hp qtp?
Can any body please tell me the steps of keyword driven framework of QTP.
what is vmodel?advantages and disadvantages of vmodel?
What are table and db checkpoints?
How many types of status are there?
what is command for executing files?
what testplan contents and what test strategy contents,what is the diff b/w them
How the smart identification is used in real time?Please explain with an example
What is the difference between per-action and shared?