0% found this document useful (0 votes)
143 views16 pages

What Is Test Automation?: It Emulates User Actions On The Application

Test automation emulates user actions on an application by clicking buttons, selecting menus, navigating screens, and adding or extracting data. It repeats these tasks in the same order to provide speed, reliability, and avoid human errors. Test automation establishes reproducible test steps, helps ensure application stability under different loads, and saves time during testing. However, it does not replace manual testing and cannot test aesthetics or validate results.

Uploaded by

Ramu Palanki
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views16 pages

What Is Test Automation?: It Emulates User Actions On The Application

Test automation emulates user actions on an application by clicking buttons, selecting menus, navigating screens, and adding or extracting data. It repeats these tasks in the same order to provide speed, reliability, and avoid human errors. Test automation establishes reproducible test steps, helps ensure application stability under different loads, and saves time during testing. However, it does not replace manual testing and cannot test aesthetics or validate results.

Uploaded by

Ramu Palanki
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 16

What is Test Automation?

It emulates user actions on the Application


Clicking on buttons, Selecting Menus
Navigating Screens, Changing Views
Adding Data, Extracting Data
It makes sure those tasks are repeated in the same
order, again and again.
It provides speed and reliability to tedious and repetitive
tasks.

1 For more QTP Scripts, www.ramupalanki.com


What Will Test Automation Do?
It will avoid errors Humans will make
Typographical Errors
Skipped/Missed Tests
It will record the results of the test accurately
It will establish a set of Reproducible Steps
Be useful for Compatibility Testing
Using the same “build” in various environments To
ensure consistent system response

2 For more QTP Scripts, www.ramupalanki.com


What Will Test Automation Do?
Be useful for regression testing
Ensuring previously fixed defects do not reappear in
later builds
Help ensure the stability of the application
By placing it under various loads
Checking for undocumented changes
Will save time and reduce effort during the test cycle

3 For more QTP Scripts, www.ramupalanki.com


Test Automation Will Not
Eliminate or Reduce Manual testers
Automation can not test for aesthetics
Can not design test cases
Validate the results
Replace the business knowledge
Be a substitute for:
Walkthroughs, inspections, adherence to coding
standards, Project Management and etc.

4 For more QTP Scripts, www.ramupalanki.com


Test Automation Will Not
Find More “bugs”
Test Cases find the bugs
Automated Test Scripts are only as good as the test case
they replicate
The process of automation adds nothing to the test case

5 For more QTP Scripts, www.ramupalanki.com


Keys to Successful Automation

What to automate must be clearly defined


What scripts to execute and when in the test
cycle must be defined
The goals of the script must be clear
The automating of an existing manual script is
no different than a programmer using a coding
language to write programs for any other
manual process must be recognized

6 For more QTP Scripts, www.ramupalanki.com


Keys to Successful Automation
Therefore test automation needs to be treated like any
other development project
Define what to automate
Designing test automation
Writing the scripts
Testing the scripts
Maintaining the scripts
Using configuration management

7 For more QTP Scripts, www.ramupalanki.com


Keys to Successful Automation
When strategizing for test automation, plan to achieve
small successes and grow
Understanding testing tools are dependent upon
consistency in the test environment
Build reusable code
Write a function once that many scripts can use
Don’t depend on Capture Play back
 Creates a series of inflexible scripts dedicated to 1 specific task

8 For more QTP Scripts, www.ramupalanki.com


Useful Test Automation Features
Suite can execute Tests individually, or by groups
Run either a single test or batch a series of test together
Suite can execute unattended
Can be restarted from point of interruption
Can be paused, single stepped or resumed
Can be executed remotely

9 For more QTP Scripts, www.ramupalanki.com


Useful Test Automation Features
Dependencies between tests are specified
Tests cover specific functionality without covering
more than necessary
Narrowly defined tests help to focus on specific failures
Tests can be executed on new version of product
without major modifications
Test programs are reviewable

10 For more QTP Scripts, www.ramupalanki.com


Test Cases to be Automated
Tests that need to be run for every build
Test that use multiple data values
Tests that need to be executed with different browsers
Static Pages
Critical Pages

11 For more QTP Scripts, www.ramupalanki.com


Test Cases not to be Automated
One Time Testing
AD HOC Testing
ASAP Testing
Testing without predictable Results

12 For more QTP Scripts, www.ramupalanki.com


Steps in Automated Testing
Plan the Automated Test
Record the user Actions on Application
Running the Script
Analyzing the test Results
Reporting Defects

13 For more QTP Scripts, www.ramupalanki.com


QTP 8.0
 QTP is an advanced version of win-runner tool.
Is an powerful functional testing tool.
QTP allows you to test on standard Web objects,
Activex controls and visual basic controls.
Supports Window and Web based Application.

14 For more QTP Scripts, www.ramupalanki.com


QTP Basics
Analog Recording
Low - Level Recording
Short Keys
Record and Run Settings
Web and Windows based Recording

15 For more QTP Scripts, www.ramupalanki.com


QTP Test results
Analyze the test in Key – word view
Analyze the test in Expert view
Analyze the Test Tree
Analyze the Test Results
Active Screen
Test Settings

16 For more QTP Scripts, www.ramupalanki.com

You might also like