Beruflich Dokumente
Kultur Dokumente
October 6, 2015
Description
Description
Project / Context
Test Automation of a .Net application in Quick Test Professional using a
Keyword Driven Framework.
Purpose
Automate regression test cases for Bespoke application using QTP so that
Test cycle execution time is reduced.
October 6, 2015
Agenda
Process Adopted
Strategic Benefits
Adaptability
October 6, 2015
Process Adopted
1.
2.
3.
4.
October 6, 2015
October 6, 2015
Driver Script
Global
Function
Library
Test Case
Specific
Functions
Reporting Script
October 6, 2015
2.
Driver Script: This executes the test. It reads the keyword test data step-by-step
and executes those steps in the application using the automation scripting logic.
3.
Global Function Library: This consists of reusable common library functions for
test initializations, keyword driven actions and utility. This scripts the relevant
actions that can be reused across the different test scenarios. For example: Click,
Select, Set and so on.
4.
Test Case Specific Function Library: This performs specific functions of test case.
The functions defined here are mostly non reusable and are dedicated to a
particular part of the application/ functionality.
5.
October 6, 2015
Associated Actions
EditBox
EditBox_Input
EditBox_Default,
EditBox_Enabled,
EditBox_Disabled
Combobox
Combobox _Select
Combobox_Values,
Combobox_Enabled,
Combobox_Disabled
RadioButton
RadioButton_Select
N/A
CheckBox
Checkbox_Check
Checkbox_Checked,
Checkbox_Unchecked,
CheckboxEnabled
The above table depicts sample keyword driven actions defined within
the framework.
October 6, 2015
This is an example of a sample test case written in MS Excel. Each row depicts one
step in executing the test.
October 6, 2015
October 6, 2015
The log file contains the result for each action, whether it has passed or a failed in
the action. If a step has failed, the reason for failure appears after the failed step.
October 6, 2015
Strategic Benefits
Reduced Technical Resource
This figure depicts that as the new test cases are added in the framework, the need
for specialized automation tester becomes less compared to a typical automation
script. New automation test cases can also be written by the tester who has no
automation experience.
October 6, 2015
Benefits
Optimizes test cycle execution time
Maximizes reuse and thereby reduces the test suite building and
maintenance efforts significantly
Eliminates object repository limitations through descriptive
programming approach
Produces reliable results
Helps non-developers to build new test scenarios
October 6, 2015
Adaptability
Replication
Other projects with identical testing process can adopt the
framework.
October 6, 2015