Synchronization methods?
Answers were Sorted based on User's Feedback
Answer / rrnaidu
Synchronization methods are
wait property
increasing time out
reaching status or progress bar enabled
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / nagesh
synchronization is a process of making the speed of
application and the speed of QTP in sink.
there are 4 ways of synchronization
1) inserting synchronization point
2) inserting wait() method
3) using .exist() method
4) increasing the global syncronization time
---> poli.nagesh@gmail.com
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / shankar
synchronization is a process of matching speeds of both
tool and the application.
synchronization methods are
1.Inserting synchronization point
2.wait property method
3.increasing default time
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / deven
Three methods are available in QTP for Synchronization
WaitProperty – method is used to instruct QTP to wait the
execution process until it
matches with the object property value based on the
specified time.
E.g. Browser("Welcome: Mercury
Tours ").WaitProperty "name","Welcome: Mercury Tours", 5000
name - property name
Welcome: Mercury Tours - property value
5000 - number of milli seconds to wait
Wait – method is used to instruct the QTP to wait the
execution process based on
the specified time only but not on any condition
E.g. Wait 5 (or) Wait(5) ‘5 Seconds
Exist – method is used to instruct QTP to wait the
execution process based on the
specified time and returns Boolean value as per the object
existence
E.g. var_Exist = Browser(“Welcome: Mercury Tours”).Exist
(5) ‘5 seconds
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kishan
Here are the ways to acheive synchronization
1. Wait(n)
2. WaitProperty("prop. Name","Property value",time in
millisec)
3. Exist(n)
4. Page synchronization using
Browser("A").Page("B").sync()
5. Object Synchronization timeout
(File > settings > Run)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
1.Object/Window Property
2.Object/Window Bitmap
3.Screen Area Bitmap
| Is This Answer Correct ? | 2 Yes | 2 No |
Hi Friends, Iam Beginner in QTP and i want to Try the software QTP. I checked the mercury site for QTP Trial version and i found QTP 9.0. The thing is that it supports windows 2000,Xp but not windows 98.And Iam using Windows 98 onlu and it's not possible for me to upgrade to windows 2000. Pls. guide me how to get the trial version of QTP which supports windows 98 Operating System The version may be 6.5 is ok for me.Thanks in Advance
How function returns a value?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri
What are the recording modes in qtp?
How to parameterize in QTP?
Out of 3 recording modes. 1.Standard 2.Analog 3.Low-level, which one is commonly used. As per my knowledge, Analog is used for Graphs , barcoding or DIgital signatures.
What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven?
Is the qtp course will help to create a virtual object?
WHICH PROCESS U FOLLOW IN COMPANY
QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.