Post on 08-Apr-2018
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 1/29
Introduction to Rational Test Suite 2001
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 2/29
AgendaAgenda
Benefit of implementation of automatic test
Obstacles in using Rational Robot
QA Basics
Introduction to Rational Test Suite
Rational Test Manager
Test implementation with Rational Robot
Summary
Video Demos
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 3/29
QA BasicsQA Basics
Major Goal of software developing enterprise issatisfaction of the client by providing qualitativeproduct.
Adjustment to
Client Requirements
Adjustment to
Client Requirements
The major parts of QUALIT ATIVE PRODU CT are:
Corrected
Functionality of the Product
Corrected
Functionality of the Product
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 4/29
SQA BasicsSQA Basics
W hy qualitative product ?
1:10:100 Rule
Discovering of product¶s defects at latest phase will cost much more then on earlier.
1:5 Rule
It¶s more expensive to find a new client then keep
working with the old one.
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 5/29
SQA BasicsSQA Basics
H ow qualitative product ?
Q ualitative System Analyze
Q ualitative Design of Product Architecture
Q ualitative Product Development
Q ualitative Product Testing
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 6/29
SQA BasicsSQA Basics
Classic Problem in Testing
Q uantity
Q uality
?
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 7/29
Introduction to Rational Test SuiteIntroduction to Rational Test Suite
Rational Test Suite is a software solution for
composing, developing, managing, debugging
and run automatic tests.
Rational Test Suite consist of next major
applications :
�
Test Manager
� Clear Q uest
� Robot � PureCoverage
�
Purify
� RequisitePro
� SoDa
� Test Factory
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 8/29
� Clear Q uest - Rational Clear Q uest is a defect
tracking and change request
management system.
� PureCoverage - Rational PureCoverage automatically pinpoints areas of code that have not
been exercised during testing.
� Purify - Rational Purify automatically pinpoints
hard-to-find, run-time errors in your applications.
Introduction to Rational Test SuiteIntroduction to Rational Test Suite
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 9/29
� RequisitePro - Rational RequisitePro helps teams
organize, prioritize, track, and control
changing requirements of a system or
application.
� SoDa - Rational SoDA provides automatic
generation of software documentation.
SoDA templates support Microsoft W ord
95, 97, 98, and 2000.
Introduction to Rational Test SuiteIntroduction to Rational Test Suite
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 10/29
Introduction to Rational Test SuiteIntroduction to Rational Test Suite
� Test Factory - Rational TestFactory automatically
generates comprehensive test
scripts.
� Test Manager - Rational TestManager is the cornerstone
of Rational¶s testing tools, controlling and
managing all test activities.
� Robot - Rational Robot lets you create, modify,and run automated functional tests on
your applications.
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 11/29
Rational TestManager Rational TestManager
Rational TestManager is the one place to manage all testing
activities²planning, design, implementation, execution, and
analysis. TestManager ties together testing with the rest of the
development effort, joining your testing assets and tools to
provide a single point from which to understand the exact state
of your project.
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 12/29
Rational TestManager Rational TestManager
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 13/29
Rational TestManager Rational TestManager
Plan Test Phase
The test plan contains information about the purpose and
goals of testing within the project.Additionally, the test plan
identifies the strategies to be used to implement and
execute testing and resources needed.
� The Test Plan
The purpose of plan test is to identify and describe the
testing that will be implemented and executed. This is
accomplished by generating a test plan which contains the
requirements for test and test strategies.A single test plan
may be developed, describing all the different types of tests
to be implemented and executed, or one test plan per type
of test may be developed. Either is method is acceptable.
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 14/29
Design Test Phase
The purpose of Design Test Phase is to identify, describe
and generate the test model and its reported artifacts (test
procedures and test cases).
Rational TestManager Rational TestManager
The test model is a representation of what will be tested and
how it will be tested. It is a view of the design and
implementation models and includes the collection of thetest cases, test procedures, and test scripts, and their
relationship.
� Test Model
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 15/29
Rational TestManager Rational TestManager
Implement Test Phase
The purpose of Implement Test Phase is to implement
(record, generate, or program) the test procedures that were
defined in Design Test. The output artifact is a computer
readable version of the test procedure, referred to as a test
script. The generation of test scripts can be done within the
context of test automation tools or programming
environments. There is an implementation for each test
case defined in test plan.
A test case is a set of test inputs, execution conditions, and
expected results developed for particular objective, such as
to exercise a particular program path or to verify
compliance with a specific requirement.
�
Test Case
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 16/29
Rational TestManager Rational TestManager
TestPlan
Test
Cases
Scripts
Results
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 17/29
Test implementation with Rational RobotTest implementation with Rational Robot
Rational Robot
Rational Robot is a part of Rational Test Suite that lets to
Test Engineer to create, modify, debug and run automated
functional tests on applications under test ( AU T).
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 18/29
Test implementation with Rational RobotTest implementation with Rational Robot
Implementation of Test Scripts
They are the computer readable instructions that automate the
execution of a test procedure (or portion of a test procedure). Test
scripts may be created (recorded ) or automatically generated
using test automation tools, programmed using a programming language, or a combination of recording, generating, and
programming.
In order to check an application under test Script Developer
uses such a ³Verification Points´ combined with different ³Verification Methods ´
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 19/29
Test implementation with Rational RobotTest implementation with Rational Robot
Verification Points
The location in the instructions where an actual result will be
compared with an expected result.
� Alphanumeric
� Clipboard
� Menu
� Object Data
� Object Properties
�W indow Existence
�W indow Image
� File Comparison
� File Existence
� Module Existence
� Region Image
�W eb Site Scan
�W eb Site Compare
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 20/29
Test implementation with Rational RobotTest implementation with Rational Robot
Verification Method
The machine readable instruction that executes the comparison
between expected and actual results. Different verification
methods exist to verify different attributes.
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 21/29
Test implementation with Rational RobotTest implementation with Rational Robot
Example Case: Check that adding of new agent updates Data Base.
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 22/29
Test implementation with Rational RobotTest implementation with Rational Robot
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 23/29
Test implementation with Rational RobotTest implementation with Rational Robot
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 24/29
Test implementation with Rational RobotTest implementation with Rational Robot
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 25/29
Test implementation with Rational RobotTest implementation with Rational Robot
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 26/29
Test implementation with Rational RobotTest implementation with Rational Robot
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 27/29
Summary : Benefit of implementation
automatic test
Summary : Benefit of implementation
automatic test
Unattended Run
During run of test cases tester could do
his
other tasks and return only to get results.
Written once, runs a lot of times
You could run the same test script
again and again.
Save the time
Automatic test decrease
dramatically test time.
Decrease tool time
We can use the scripts to run during
non working hours (Night Runs)
Full Coverage of Inputs Range
Using test script it ¶s possible to pass over all Valid Input Range
and pass over Invalid Range. This is what regular tester can ¶t do
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 28/29
STD TESTS
Ti me L i ne
STD + Scripts Developing TESTS
Summary : Benefit of implementation
automatic test
Summary : Benefit of implementation
automatic test
8/7/2019 RationalTestSuite
http://slidepdf.com/reader/full/rationaltestsuite 29/29
Summary : Obstacles in using Rational
Robot
Summary : Obstacles in using Rational
Robot
Image (pic ture) depended testsThe Robot c an not c apture the live i mage.
Therefore Tra i n c an not be Automated
Test S crip t U p dates
App lic at i ons c ould c hange f r om bu i ld tobu i ld, so test scrip t should be u p dated too -
ma i ntenan c e of scrip ts
Ad van c ed S crip t
In or de r to make ad van c ed scrip t i t ¶s not
enough just record and playback Tester ¶s
action. In this case Tester Engineer should
combine between recording and code
writing.
Result Log F il e Defau l t generated Resu l t Log F il e doesn ¶t
supply an easy-to-read and understandable
ou tpu t, so during developing of the script
Tester should write by himself to the log file
m essages that will m ake it easy to analyze
the outcom es.
Ex te r na l Fun c t io ns
In or de r t o make scri pt sma ll e r an d su i tabl e
t o o u r applic at io n , we de ve lo pe d an e x te r na l fun c t io ns a ccor di ng o u r nee ds . Thi s make s
s cri pt de ve lo pi ng proc e ss ea s i e r , but
s ome o ne s ho u l d wri te tho s e li br a ri e s f ir s t.