In this approach tests can be created and executed using reusable components.
In this approach tests can be created and executed using keywords
Tasks to be performed:
a) Analyzing the application in terms of Object Identification:
we have to analyze the AUT in terms of Object Identification.
Basically, QTP is an Object based test tool, here first we have to confirm
if the QTP is recognizing all the objects in our application or not.
To do this, we can follow one or more below given methods...
We can segregate Software Objects in 3 categories...
Note: We can handle dynamic Objects using Regular expressions and handle duplicate
Objects using "Index" property.
b) Selecting Areas/Test Cases for Automation
100% test automation is not possible, we can go for maximum automation.
Generally we select below type of Tests for Automation:
c) Planning (Effort estimation, Schedule, Work allocation and Automation Framework implementation)
After selecting some areas for Automation, we have to estimate the efforts
in terms of Scope of the Project, time and resources(Environmental and Human)
To estimate efforts, we can follow an one of the below given methods:
d) Creating Generic and project specific functions.
e) Creating required Automation resources(Functions, Object repository Files, Environment variable files---etc)
f) Creating Tests(Using Object Repository or Descriptive Programming)
g) Enhancing Tests(Inserting Checkpoints, Output Values, Transaction points, Flow Control Statements, Synchronization, Parametrization---etc )
h) Debugging and running tests(Individual test execution, Test Batch execution --etc)
i) Defining and exporting test results
j) Analyzing results
k) Defect Reporting using Our Company defect management system.
l) Modifying resources and tests (if required)
m) Performing Re and regression testing
n) Maintaining Automation Resources
A set of guidelines, assumptions and process developed by experts in order to perform a task(s) in an effective, efficient and optimized way.
It is a combination of 2 or more approaches
Modular framework and Data driven framework
Any word used as the key to a code A reserved word used to identify a specific command or function or method or statement or operator or object etc.
In this approach tests can be created and executed using recording feature.
In one project test automation we create and use different types of files and we perform different types of tasks, in order to organize and manage them all, a systematic approach (Automation Framework) is required.
In order to create, store, organize and manage files, a well defined folder structure is required. Folder structure is a mandatory element of any framework, but folder names may vary from one framework to another and company to another.
In this approach keywords can be used for creating and executing tests.
In this approach tests can be executed using multiple sets of test data
Keyword is an Action that can be performed on a GUI Component. Ex . For GUI Component Textbox some Keywords ( Action) would be InputText, VerifyValue, VerifyProperty and so on.
Files to be used:
Automation Framework is not a QTP Tool feature, it’s a 3rd party concept. And this is purely local concept.(framework may vary from one company to another and One project to another)
An Application Map Provides Named References for GUI Components. Application Maps are nothing but "Object Repositry"