0% found this document useful (0 votes)
137 views

What Is A Test Script?

A test script is a series of commands or events stored in a file that executes test cases and reports results; a test framework outlines the overall test environment structure, defines common functions and templates, and leads to a maintainable test library; different automation tools exist for various testing activities like reviews, planning, design, execution, and support.

Uploaded by

vinitajenny
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)
137 views

What Is A Test Script?

A test script is a series of commands or events stored in a file that executes test cases and reports results; a test framework outlines the overall test environment structure, defines common functions and templates, and leads to a maintainable test library; different automation tools exist for various testing activities like reviews, planning, design, execution, and support.

Uploaded by

vinitajenny
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/ 12

What is a Test Script?

A series of commands or events stored in a script language file


that execute a test case and report the results.
Fundamentals of Test
Automation

Synchronization
– Execute the test scrip and the application at the same
pace.

– Different conditions may exist at the time of playback


than existed when the test was created, precise timing
coincidence may not be possible.
Test Framework

• Test framework is like an application architecture.


• It outlines the overall structure for the automated test
environment, defines common functions, standard tests, provides
templates for test structure, naming convention.
• Leading to a maintainable and transferable test library
Test Framework

• Common Functions (e.g. Setup, Sign on, Monitor, Log Error,


Recover, Signoff, Cleanup)
• Standard Tests (e.g. Walk thru to navigate thru each menu item)
• Test Script templates – (Header : Test description, inputs,
outputs, special requirement, Dependencies, Common routines
like setup etc.,End))
• Test Dictionary –( Vocabulary, Naming Conventions, Cross
reference names to application)
Test Automation Approach

Approach Profile

Capture/Playback Application already in test phase or maintenance


Stable application.

Variable Capture/ Application in planning, analysis or design


Variable Playback Unstable or stable application
Technical test team
Different type of tools

• Reviews and Inspection


• Test planning
• Test design & Development
• Test execution & verification
• Test support

…Automation tools are not one-size-fits-all


Tools for reviews & inspection
• Requirement analysis
– Compuware’s Reconcile/TeleLogic’s DOORS
• Complexity analysis
– Compuware’s Numega
• Code comprehension
– Compuware’s Numega
• Syntax & semantic analysis
Tools for test planning

• Templates for test plan documentations


• Test schedule and staffing estimates
• Complexity analyzer
Tools for test design &
development

• Test data generator


Compuware’s File-Aid
• Requirements-based test design tool
• Capture/Playback
Test execution and evaluation
tools
• Capture/playback
Mercury’s WinRunner
Compuware’s QARun
Segue’s Silk Test
Rational’s Visual Test
Rational’s ROBOT
• Coverage analysis
• Memory testing
Test execution and evaluation
tools
..contd.
• Test case management
Mercury’s Test Director
Compuware’s QADirector
• Simulators & performance
– Mercury’s LoadRunner
– Compuware’s QALoad
– Segue's Silk Performer
– Empirix’s eLoad
Software testing support tools
• Defect tracking tool
Compuware’s TrackRecord
• Configuration management
MS Visual Source Safe

You might also like