what is Synchronization point in QTP?Can anybody give a
perfect example on it
Thanks in advance
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ajay kumar jha
Synchronization point is techniques through which we are
synchronize the execution time and application execution
performance timing.
There are two type of synchronization point
1. Sync
2. Wait
Examples
Browser ("XYZ").Page ("ABC").sync
Or
Browser ("XYZ").navigate ("www.google.com")
Wait (10)
If you have any doubt the please revert back to me.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / nalini
Synchrozination point used to instruct QTP to pause the
test until a particular object property achieves the value
you specify. QuickTest generates a WaitProperty statement
in the Expert View. For example, if you want the run
session to wait up to 10 seconds for the "Flight
Confirmation #" field get visible (true), you insert the
following statement:
Browser("Welcome: Mercury Tours").Page("Flight
Confirmation: Mercury").WebElement("Flight Confirmation
#").WaitProperty "visible", true, 10000
| Is This Answer Correct ? | 5 Yes | 1 No |
What is Distributed testing? How does UFT support it?
How many types of parameters are available in quicktest professional (qtp)?
somebody please say me why we go for using regular expressions,actions.what is the main and exact use of this in real time applications.real time testers pls answer my question with example if u can
How to save your test using quicktest professional?
can u write one user defined function for webedit class.
OR is full with objects but i want to add 5 more objects,but i tried merging files,shared mode and descriptive ,iwont work.is there any alternative for that
What does "Dynamic change on web pages" means.As per my knowledge, this comes in "Complete" level of Active screen capture levels, where it says, "Also dynamic changes on web changes are saved.so i want to know what type of dynamic changes are made and is this dyanmic changes efftes only on web application or any other?
what is option explicit? what is the use of it?
QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?
the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp?
How to modify the text checkpoint?
How to take screen shot of desktop by using vb script code or is there any method?