QTP / UFT Life Cycle (7 steps)
1. Check Points,
2. Regular Expression,
3. Flow control Statements,
4. Functions/Actions,
5. Particularization,
6. Synchronization,
7. Environment Variable,
8. Error Handling,
9. Using Automation Object Model
QTP Automation testing:
Preparing the Run settings for the Application
1. Writing the Automation basic scripts
1. Using Object Repository: Object Repository Manager
2. Using Descriptive Programming: Dynamic Programming
2. Edit / Enhance the Automation Test scripts
3. Debug the test scripts
4. Execute / Run the scripts
5. Analyze the results
6. Summarize the results: : Report Defects in to QC (Result Window)
7. Prepare the Framework: Keyword Driven Framework
8. Export the Run-Time Result sheet to the TestLog in the Results.xls file
Automation Testing Process:
1. Identify the Object Features under AUT in QTP:
Object identification
Frame work
QTP tool configurations
2. Generate the Basic Tests: Generating tests are 2 types
Tool based scripts (recording based scripts)
Descriptive programming based script
3. Enhance the tests
Enhance the scripts after generate basic scripts with the qtp tool features.
Checkpoints
Parameterization
Environment variables
Synchronization
Recovery scenario
Conrol structures
using Methods
Connecting databases (oracle, sqlserver, mysql, db2,......)
operations with flat file, xl sheet, database,
object repository operations: delete, rename
object identification
smart identification
actions
functions
function libraries
4. Debug the tests: after enhance the script debug the script with debug features in debug menu
5. running the tests: run the tests after debug the tests.
6. analyze the results: analyze the results exp with actual in test results window.
reporter.reportevent / msgbox
7. report the defects: report the defects after analyzing the tests in the test result window.
1. manual defect reporting
2. tool based defect reporing ex; quality center.
QC / ALM is 2 way integration features was there so that qtp tool can integrate with QC and other tools also like winrunner and loadrunner.
***
No comments:
Post a Comment