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 All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
What ate the Technologies supported by QTP?
What is the difference betweent test and component?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
In qtp, how you can get the last character from a string?
How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words
can u store QTp frame work folders in VSS? If Not where u store those?
How do you start automating/ writing your QTP scripts ?
If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application?
Where you can store check point results?
Explain the concept of object repository and how quicktest professional recognises objects?
what is exact difference between smoke and sanity testing?