WHAT IS TEST AUTOMATION
Developing software to test the software is called test automation.
Test automation is the way by which we automate running of most of the test cases that are
repetitive in nature
Importance of test automation…
Automation saves time as software can execute test cases faster than human do
Automated tests can be more reliable
Automation helps in immediate testing
Test automation can free the test engineers from mundane task and make them focus on more
creative task
Test automation opens up opportunities for better utilization of global resource.
Design and architecture for automation
There are two interfaces in its architecture
1. Internal interfaces
2. External interface
The thin arrows show the internal interface and thick arrows shows the external interfaces.
1. External modules
1. TCDB (test case data base)
2. Defect Data Base
• In TCDB all the test cases, the steps to execute them and the history of execute them are stored
in TBDB.
• The test cases in TCDB are manual or automated.
• In Defect data base or defect repository we contain details of all the defects that are found in
various products that are tested in particular organization.
• it contains defects and all related information.
2. Internal modules
1.Scenario
2.Configuration file module
3.Test case
4.Tect framework
5.Tools and result modules
6.Report generator and report /matrices modules
1. Scenarios are nothings but information on “how to execute a particular test case.”
2. Configuration file module contains a set of variables that are used in automation. The
variables could be for the test framework or for other modules in automation.
3. Test Cases :--it means the automated test cases that are taken from TCDB and executed by
the framework. Test cases are an object for execution and do not represents any interaction by
itself.
4.Test framework module:--it is a module that combine “what to execute “and “how they have
to execute”. It picks up the specific test cases that are automated from TCDB and execute them.
5. tools and result modules:-- When a framework performs its operations. There are set of tools
that may be required. Eg. When test cases are stored as source code files in TCDB, they need to
be extracted and compile by build tool. When the test frame work executes a set of test cases
then results for each of the test cases along wit scenario and variable values have to be stored
for future analysis. This all is done in result module.
6. report generator and report/matrices module:-Once the result of the test run are available,
the next step is to prepare to test reports and matrices. The module that takes the necessary
and prepares a formatted report is called a report generator. Once the results are available, the
report generator can generate metrics. All the reports and metrics that are generated are stored
in the reports/metrics module of automation for future use and analysis.