what is Synchronization point in QTP?Can anybody give a
perfect example on it
Thanks in advance
Answer Posted / ajay kumar jha
Synchronization point is techniques through which we are
synchronize the execution time and application execution
performance timing.
There are three type of synchronization point
1. Sync
2. Wait
3. Exist
Examples
1. Browser ("XYZ").Page ("ABC").sync
In the above example sync is inbuild function of qtp which
wait till the page is completely loaded. you can give the
maxmum time by Browser ("XYZ").Page ("ABC").sync(10) also.
2. Browser ("XYZ").Navigate ("www.google.com")
Wait (10)
In the above example script will wait for 10 sec. it is
independent to the process of page load.
3. Browser ("XYZ").Page ("ABC").exist(10)
In the above example script will chaeck the existence of
page abc once it found it will execute next step.
10 is the maximum time which is optional.
If you have any doubt then please mail me at
ajayjha101@hotmail.com
If you have any doubt the please revert back to me.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How to find Operating system information using QTP script?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
What is quicktest professional (qtp window?
Explain the difference between check point and output value?
What is difference between design time and run time data table?
What is the use of text output value in quicktest professional?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
What is Associate Repository in QTP 9.2 ?
How to handle the exceptions using recovery secnario manager in quicktest professional?
How to remove associated function library?
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)?
What is the XML file architecture ?
What is object spy in quicktest professional?
What is the Difference between test object and run time object?