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 |
How many types of recording facility are available in quicktest professional?
How Does Run time data (Parameterization) is handled in QTP?
Hi, Can anyone write the following qtp script...please its urgent ·Navigate to Google in a new IE instance ·Search for the following word "Gap, Inc." ·Iterate thought the first 10 pages of google ·On each page collect the following ·The "blue" page title ·The "green" url ·Output all the data into a file named "test_output.txt" ·Format "Title – URL"
What is data driver in qtp?
What expansion of "MIC" in MICPASS (TEST ReportPAGE)
DIFFERENCE BETWEEN WR 8.2 & QTP 8.2? HOW TO INTEGRATE WITH SOME OTHER TOOLS?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
What is the disadvantage of smart identification?
Discuss QTP Environment.
What are advantages of test automation?
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.
How to capture data from images in QTP and produce them in Excel sheet ? please ans...