You are on page 1of 17

What is Software Testing ?

Each and Every product to be tested before release to the market.


The testing of such products is comparatively for two reasons:
1.The product is well understood.
2.The process and materials used in construction are also well
understood.
 It is the process of Exercising the software to verify that it
satisfies specified requirements and to detect errors.
 It is to detect flaws in software.
 It only detects error/faults & failure and does not improve
quality.
Some Testing Tools

 Winrunner
 Load Runner
 Rational Robot
 Rational Rose
 E-Test Suite
 Compuware
 TET
 Silk Tools
 Xrunner
Mercury Tools
Test Functional Load Testing
  Manageme Testing
Enterprise nt
TestDirector Astra QuickTe LoadRunner
Testing st
Products WinRunner Astra LoadTest
& Managed
Services
QuickTest
Professional

XRunner LoadRunner
TestCenter
Types of Software Testing ?
 White Box testing :Focus on internal structure of the software.

 Black Box testing : Views the software from end user and is unaware of
underlying code.

 Stress Testing : Measure the system’s response to large amount of data.

 Multi User Testing : Verifies the interaction of two simultaneous users.

 Error Testing :Verify the product response to error conditions.

 Distributed Testing : Distributed Testing is the interaction between different


computer systems that is under test.

 Non-Distributed Testing : These tests are those,that run on a single computer


system and do not normally involve any form of interaction with other
computer systems.
Levels of Testing
 Object Testing: Examine each object,verifying specific
properties of the object,including state, size, location, contents,
type, etc.

 Unit Testing:Examine the group of objects , that together


provide the specific feature for the end user.

 Integration Testing: Examine how groups of dialogs and


screens function together.

 System Testing:Examine how the software interacts with the


other software products within the software environment
Testing Types……

 MANUAL TESTING

 AUTOMATED TESTING
Disadvantages of Manual
Testing
 Manual testing is time-consuming and tedious,
requiring a heavy investment in human
resources.

 Worst of all, time constraints often make it


impossible to manually test.This leaves you
wondering whether serious bugs have gone
undetected.
The Benefits of Automated
Testing

 Fast
 Reliable
 Repeatable
 Programmable
 Comprehensive
 Reusable
WinRunner

……An Automated Functional


Testing Tool
Audience
Beginners who have just entered the realms
of software testing.
The Road Ahead !
What is WR?
Why automate at all?
How does WR do it ?
How do we write
script?
 TSL
Commonly used terms
WR – Win runner.
AUT – Application under test.
GUI – Graphical User Interface.
TSL – Test Script Language.
TD – Test Director.
What Is WR?
Win runner is automation tool, specifically
a regression test tool.
Used to automate the execution of test
cases.
Need to write scripts in TSL for the same.
Why automate at all?
Few reasons
 Running test manually is boring!
 Running test manually again and again is
frustrating!
 Running test manually is prone to making
mistakes.
 Write once, run as many times as needed!

 I have more time now (Time saving!)


How does WR do it ?
Record objects (GUI Map)
Create scripts/tests
Debug scripts/tests
Run the scripts/tests
Displays results
How do we write script?
TSL
 Acronym for Test Script Language.
 Similar to Basic.

 Easy to use and comprehend.

 Each statement of the script is a function call.

 Like any other function needs error handling.

 You can record or write TSL code manually.


TSL Script Sample
# launch the new browser instance
web_browser_invoke(IE,"http://10.236.133.
27:9080/oms/ActionServlet?
userId=U1&handleId=MolsonLogin");
wait(10);
seconds = get_time();
new_time = time_str(seconds);
report_msg("Test run on : "&new_time);

You might also like