Synchronizing test
Answers were Sorted based on User's Feedback
Answer / pavi
We can synchronize using the following options –
•Insert a synchronization point
•Use EXIST or WAIT statements
•Modify the default amount of time that QuickTest waits for
a Web page to load i.e. Modify object synchronization
timeout value
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pavani prasad
we have one more option to synchronise the application and
qtp i.e Wait property.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / monika
to speed up our activity,we use synchronization.there are
two types for synchronization.
1.wait();
2.through automation tools in winrunner
| Is This Answer Correct ? | 0 Yes | 0 No |
How you automate test scripts
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND
HOW CAN WE GET THE VALUE OF TEXT BOX IN QTP? can you give me sample script for this where there is some condition. like if "text" THEN msgbox() else endif
Differences between QTP & Winrunner?
How you create new action in qtp?
How to capture screen shots when an error occurs?
Why divide a test into three action calls?
How can I import environment from a file on disk?
can u put checpoints for moving images
How u perform exception handling in QTp,what is other name for ths?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...