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 will be happen if i load object repository at run time, but it has already associated.
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
X=10,Y=20 you need to swap the numbers without using a third variable?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
I have 5 save buttons in my application on 5 different tabs one after the another . I have spy them and added each of them in my OR. My Or is able to highlight each button on each of the 5 tabs. But when I run the script it does not click the object.Is there anything I have to edit in OR. Any property to add or delete? Below are the properties of 5 save buttons. My code for each is like browser().page().savebutton1.click Browser().page.savebutton2.click Properties of 5 buttons Dhopare, Namita Sent: September 2, 2015 2:57 PM To: Vullengala, Jagadeeshchandra "Class Name:=WebButton", "abs_x:=718", "abs_y:=693", "class:=Button", "disabled:=0", "height:=22", "html id:=btnSaveTab1", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=718", "y:=616" "Class Name:=WebButton", "abs_x:=687", "abs_y:=571", "class:=Button", "disabled:=0", "height:=22", "html id:=btnSave", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=40", "x:=687", "y:=494" "Class Name:=WebButton", "abs_x:=635", "abs_y:=478", "class:=Button", "disabled:=0", "height:=23", "html id:=", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a3').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=635", "y:=401" "Class Name:=WebButton", "abs_x:=695", "abs_y:=558", "class:=Button", "disabled:=0", "height:=22", "html id:=BtnExternalPartySve", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""BtnExternalPartySve"" class=""Button"" onclick=""document.getElementById('a4').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=695", "y:=481" "Class Name:=WebButton", "abs_x:=672", "abs_y:=642", "class:=Button", "disabled:=0", "height:=22", "html id:=", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=40", "x:=672", "y:=565" Previous Item Next Item Connected to Microsoft Exchange
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
What is smart identification?
3 differences between QTP & Winrunner?
What is the disadvantage of smart identification?