Test Automation Use cases and Principles
Test Automation Use cases and Principles
Automation
Use cases
and Principles
Test automation is usually considered as the means of
reducing the costs and/or increasing the scope of
regression testing (i.e. testing in order to ensure that
changes introduced as the result of coding new features
on
sense to prepare test scripts that will do this work
automatically.
Test
Automati In General, the automation team uses
manual test scenarios as the basis for
on automated test scripts, which can be a
simple process when using a UI screen
manipulation framework
• Example: HP Quick Test Pro or Borland Silk Tes
• Enter search criteria and click
“Search” button;
For example, if you want to test a • Read and verify the results list;
search engine within a web site, e.g., we may check the number or
you will have a scenario consisting the results or specific pages that
of the following steps: must be returned;
Test If one controls the test environment, including all of its external
feeds, connections and data storages;
automation
is When the system is exposed via an API or a network connection
with a specific protocol;
s
Test scripts should be kept in a
human readable format, because
QA or business analysts should be
able to read and understand them.
Test data is a crucial part of all automated test
suites and comprises the following:
Prepared
• Different securities and their parameters;
• Different trader accounts and their settings;
• Market Data all securities featuring in the test scenario;
Input data.
• Part of it can be stored in Excel spreadsheets within the test
Data
script.
• The test script developer is responsible for maintaining
accurate and consistent test data.
• Another part of test data is stored within databases; the
person running the test script is responsible for maintaining
this data, including appropriate user accounts,
UI Controllers are Unstable
Common There are two major problems with this
Problems approach.