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 the parameterization?
What are the ordinal identifiers in web page?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
Could you please any body help me.for example in web table in the first row and first column there are 3 links like l1,l2,l3 having indexes 0,1,2 but second time links will change their order like l2,l3,l1 and indexes also changed how can we handle this situvation with script....
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
How to "Turn Off" QTP results after running a Script?
with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
What are the views available in quicktest professional (qtp)?
write a VBscript code to parametrize test script using test data from sqlserver database?
What is the extension of script and object repositary files?
Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.