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 many types of recording modes in qtp? Which will be used when?
Tell some commonly used Excel VBA functions?
How you debug your script?
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
How to add verification steps to tests?
What is keyword view in qtp?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
how to idetfy which test cases are automated?who will deside that plz tell me
in a web page How to check and display a particular word from a paragraph?
Analyzing the checpoint results?
Hi,All How to create a link in excel sheet using qtp
how to test load test and block box testing an a web based application pls give ans briefly
How to export quicktest professional (qtp) results to an .xls file?
What is difference between design time and run time data table?
Explain different types of checkpoints?