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 |
Scenario:2 combo boxes.1st combo contains a,b,c,d.2nd combo contains 10..20,20..30,30..40,.Selecting 'a' shld display 10...20,'b' shld display 20..30.. and so on.tell d script? 2.Random testing of 500 test cases in qtp?
examples of user definied functions? how to write user defined functions in qtp9.2?
By default Action1 runs first in QTP. Is it possible to start the run with Action2?
What is the difference between QTP 8.2 and QTP 9.2 ?
Is it possible to use two instances of UFT on the same machine? If not why?
How vl i prioritize the actions when i have 10 actions A1, A2, A3......A10. I want to run action as follows A1,A5,A6 and A10. How i can do it. Thanks in Advance to u.
which checkpoint we use to validate yahoo login screen window after login with ur id and password in qtp
how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run)
How does you pass optional arguments in qtp?
QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?
How many types of recording modes in the qtp?
How can I use Call dlls in QTP ?