Synchronization methods?

Answer Posted / deven

Three methods are available in QTP for Synchronization

WaitProperty – method is used to instruct QTP to wait the
execution process until it
matches with the object property value based on the
specified time.
E.g. Browser("Welcome: Mercury
Tours ").WaitProperty "name","Welcome: Mercury Tours", 5000
name - property name
Welcome: Mercury Tours - property value
5000 - number of milli seconds to wait
Wait – method is used to instruct the QTP to wait the
execution process based on
the specified time only but not on any condition
E.g. Wait 5 (or) Wait(5) ‘5 Seconds
Exist – method is used to instruct QTP to wait the
execution process based on the
specified time and returns Boolean value as per the object
existence
E.g. var_Exist = Browser(“Welcome: Mercury Tours”).Exist
(5) ‘5 seconds

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to export quicktest professional (qtp) results to an .xls file?

593


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1410


How do you test DLL files using automation Tool QTP?

2729


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

2787


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1682






in a web page How to check and display a particular word from a paragraph?

2037


Limitations in QTP?

1737


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

1459


In qtp is it possible to check broken links of a page?

578


What are some test assets and related extensions of qtp?

551


What is a quick test professional?

624


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

1484


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

1276


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

694


How many types of recording modes are there?

592