Presentation is loading. Please wait.

Presentation is loading. Please wait.

Synchronizing Tests When we have a test case in hand, we can begin creating an automated test. This is done through record and playback. USINGQTP65-SLIDES-01A.

Similar presentations


Presentation on theme: "Synchronizing Tests When we have a test case in hand, we can begin creating an automated test. This is done through record and playback. USINGQTP65-SLIDES-01A."— Presentation transcript:

1 Synchronizing Tests When we have a test case in hand, we can begin creating an automated test. This is done through record and playback. USINGQTP65-SLIDES-01A

2 Class Discussion: What object in this application takes longer to process than the rest of the objects?

3 Lesson Objectives At the end of this lesson, you will be able to:
Identify steps in the Tree View requiring a synchronization point Set a global synchronization value Add a synchronization step for a specific object Use the Method Wizard to add synchronization conditions in the test

4 Some Objects Require More Processing Time
On one hand, some objects may take several seconds longer than other objects due to processing time, for example: A progress bar to reach 100% A status message to appear A button to become enabled A window or pop-up message to open On the other hand, QuickTest runs each step in the same length of time. An “Object not enabled” message appears if QuickTest runs a step and progresses to the next while the previous step is not yet complete.

5 Global Synchronization Value for All Objects
Edit the Global synchronization value Instructs QuickTest to wait for all objects for a specific amount of time.

6 Synchronization Step for a Specific Object
Global synchronization timeout value waits for each object with the same amount of time Object synchronization waits for a specific object Add the Global Sync Timeout value but tell students that this value should remain the same for the whole testing project or test results might be skewed. And give an example. Usually, text or label are good choices for GUI objects. IMPORTANT! Identify the object property that will synchronize the step

7 Other Types of Synchronization
Step 2! Next! Step 1! Check an object exists The Exist statement creates a condition that evaluates whether an object currently exists. Wait for an object The Sync statement waits for a page or browser to complete the current navigation The Method Wizard is a step-by-step wizard that helps you quickly add methods to your test Or, use a Wait statement to pause the test for a specified amount of time in seconds.


Download ppt "Synchronizing Tests When we have a test case in hand, we can begin creating an automated test. This is done through record and playback. USINGQTP65-SLIDES-01A."

Similar presentations


Ads by Google