Professional Documents
Culture Documents
2008, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice.
Testing Services
Create a Test
Objectives
After completing this chapter, you will be able to:
Create a basic test from a manual test case. Run a test and check for errors.
3
Verify & Enhance
4
Integrate
Create basic test Record user actions Confirm successful playback Use Object Repository
Enhance basic test Add synchronization Insert checkpoints Data drive the test
Integrate tests
Document manual test steps Check applications/ environment stability Check that data is valid
Pass data
Build integrated test sets
Keyword View
Data Table
Active Window
Status Bar
Record a Test
Record a Test
Once the RECORD button is pressed and test steps are performed, QuickTest listens and records the activities. This results in the recording and storing of each step of the business process. Each step consists of: - The object - The method (operation) - The method property (a value for the action performed on the object) QuickTest should be running before the application under test is invoked. For some environments, this is mandatory.
Saving Tests
Saving Tests
If you are using QuickTest Professional alone, the file system you will save to is under the QuickTest Professionals Tests directory. You have the option to save the test results along with the test.
Step 2
Step 3
2.
A best practice is to use the Temporary folder to hold the results while debugging your test.
Press the OK button to execute the Run command.
3.
2.
3.
4.
Expand the results tree, From the Test Results menu bar, select VIEW EXPAND ALL.
Review Questions
1. Which application must be started first in order to ensure that QTP will be able to start to automate testing? a) b) c) The application under test. QuickTest Professional. Neither of the above.
2.
When outlining your test steps, what principle is important to implement so a test can be re-used any number of times?
a)
b) c)
Thank you
2008, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice.
Testing Services