Вы находитесь на странице: 1из 50

®

IBM Software Group

Rational Manual Tester (RMT)

Detailed Introduction – to help you Start with the tool in just 2 hours
*IBM Internal Use Only (Few slides from Rational RMT training)

Vivek S. Buzruk
Rational GSAT

VIEW in Slide Show mode.


FOR SLIDE TRANSITION - Click Mouse or Page Down button only when
prompted with “Ready for Next Slide”.
Ready for Next Slide 
IBM Software Group | Rational software

Topics
 Introducing Rational Manual Tester (RMT)
 Creating RMT Test Script
 RMT Test Script Enhancements
 Executing RMT Test Script
 Summary and Next Steps

Ready for Next Slide 


For IBM Internal Use Only 2
IBM Software Group | Rational software

Topics
 Introducing Rational Manual Tester (RMT)
 Creating RMT Test Script
 RMT Test Script Enhancements
 Executing RMT Test Script
 Summary and Next Steps
Before you start using IBM Rational Manual Tester (RMT), ensure Test Plans and
Test Cases are available.
Rational Manual Tester helps in creating, maintaining and, if required, executing
the test scripts of the test cases.

Ready for Next Slide 


For IBM Internal Use Only 3
IBM Software Group | Rational software

Benefits of Using Rational Manual Tester (RMT)


Test Activity Rational Manual Tester Benefit: Save time…
Feature
Create tests Reuse of common test Authoring tests
content

Execute tests Execution assistance, Typing in the AUT; Comparing


verification assistance actual results to expected results

Report test results Export test results Tabulating test results for reporting

Maintain tests Reuse of common test Updating many tests


content

Ready for Next Slide 


For IBM Internal Use Only 4
IBM Software Group | Rational software

Rational Manual Tester – Preview and An Example


Test Script for
Manual Execution

What you see here is a outline for the test script statements and the test script statements.
Subsequently, if possible, test script in Rational Manual Tester (RMT) may be partially or
fully automated using test automation tool like RFT, RPT or Robot.
 With RMT, you and the test team become more organized than using Excel or Word
Document to maintain the test scripts and test execution results. Review Last slide for
Benefits…. REMEMBER – RMT test scripts follow the same cycle of development as used to write a
test script in Excel or Word, but its features increase efficiency in test script maintenance,… and team
usage.
Use CQTM for test management activities like authoring and maintaining Ready for Next
Test Plans, Slide 
Test
Cases, Test Suite etc.. For IBM Internal Use Only 5
IBM Software Group | Rational software

Rational Manual Tester Main Window

Menu and Toolbars

Recent Files Tab


Authoring Editor Reuse View

Outline View

The Authoring Editor, displays a test script. Use the Authoring


Editor to create (author) new test scripts and to maintain
(update) existing test scripts.

The Outline view, provides a hierarchical representation


corresponding to the active script (the script currently displayed
in the Authoring Editor). Use the Outline view to organize a Properties View
script by moving and grouping statements as needed. Also,
expand and contract groups to navigate more efficiently within
lengthy scripts. Ready for Next Slide 
For IBM Internal Use Only 6
IBM Software Group | Rational software

Rational Manual Tester Terminology


 Rational Manual Tester Test script – A document, a file with .rmt extension, contains all of the
statements required to document and execute a test procedure.
Statement (four types)
Step
Test Script
Group

Verification Point
Reporting Point

Verification Point
S
T
A
T Reporting Point
E
M
E
N Group
T
S
Step Ready for Next Slide 
For IBM Internal Use Only 7
IBM Software Group | Rational software

Test Yourself

Questions:
 How do you relate Test script to a Test Case?
 How do you relate Test Script to a Use-Case Scenario?
Answers:
 One or more test scripts for a test case.
 One or more test scripts for a use-case scenario.

Find the Answers:


 What is the difference in RMT’s Test Script and one written in
Word or Excel?
 What benefits you see of organizing a Test Script in RMT?
Ready for Next Slide 
For IBM Internal Use Only 8
IBM Software Group | Rational software

Topics
 Introducing Rational Manual Tester (RMT)
 Creating RMT Test Script
 RMT Test Script Enhancements
 Executing RMT Test Script
 Summary and Next Steps

Ready for Next Slide 


For IBM Internal Use Only 9
IBM Software Group | Rational software

Review: Rational Manual Tester Terminology


 Rational Manual Tester Test script – A document, a file with .rmt extension, contains all of the
statements required to document and execute a test procedure.
Statement (four types)
Step
Test Script
Group

Verification Point
Reporting Point

Verification Point
S
T
A
T Reporting Point
E
M
E
N Group
T
S
Step Ready for Next Slide 
For IBM Internal Use Only 10
IBM Software Group | Rational software

Creating Script: Using the Authoring Editor


Placeholder
Text
 Start Rational Manual Tester and if available, Application Under Test (AUT).
 ….
 Begin typing over placeholder text.
 The icon indicates statement type.

 Press Enter to create the


next statement. Statement
Type Icon

 Press Ctrl+Enter to Authoring


advance to the Editor
next line of the
same statement
(soft line return).
In the end, Save the script and name it inline with the test
case name. Ready for Next Slide 
For IBM Internal Use Only 11
IBM Software Group | Rational software

Understanding Statements: About Steps


 Icon:
 What: An instruction for the tester (User action for the tester to perform in the AUT)
 Why: To document the test procedure
 When: Any time the tester is supposed to do something
 Examples:
 Click the OK button.
 In the Quantity box, type 2.

Ready for Next Slide 


For IBM Internal Use Only 12
IBM Software Group | Rational software

Understanding Statements: About Groups


 Icon:
 What: A section of a test (group folder and contained statements)
 Why:
 To group related statements together
 To break a large test into logical sections with headings
 To reuse statements more efficiently
 When: Any time two or more statements are commonly used together
to achieve a single result
 Example:
Provide Payment Information

Ready for Next Slide 


For IBM Internal Use Only 13
IBM Software Group | Rational software

Understanding Statements: About Verification Points (VPs)

 Icon:
 What: A point in a test at which the tester observes a specific state or behavior in the AUT
 Why: To document the behavior of the AUT
 When: Any time the tester is supposed check for an expected state or behavior in the AUT
 Example:
Verify that the Place an Order window opens.

Ready for Next Slide 


For IBM Internal Use Only 14
IBM Software Group | Rational software

Understanding Statements: About Reporting Points (RPs)

 Icon:
 What: A point in a test at which the tester evaluates the AUT’s performance within a specified
scope
 Why:
 To document the behavior of the AUT over an entire function or scenario
 To document the tester’s subjective assessment of a tested function or an entire test
 To document the overall results of multiple steps, groups, and VPs
 When: Any time the tester is supposed to provide summary results or make a
subjective assessment
 Example:
Verify that the Name box
displays Sonia Evans.

Ready for Next Slide 


For IBM Internal Use Only 15
IBM Software Group | Rational software

Topics
 Introducing Rational Manual Tester (RMT)
 Creating RMT Test Script
 RMT Test Script Enhancements
 Adding Images
 Associating Data Entry Text
 Associating Expected Text.
 Reuse

 Executing RMT Test Script


 Summary and Next Steps

Ready for Next Slide 


For IBM Internal Use Only 16
IBM Software Group | Rational software

Rational Manual Tester – Preview and An Example

Embedding an
Image in the
Test Script.

Ready for Next Slide 


For IBM Internal Use Only 17
IBM Software Group | Rational software

Using Images in Statements


 Step: Image indicates what the tester should do.
 Verification point: Image indicates what the tester should see.
Example: “Verify that the ClassicsCD window opens.”

Ready for Next Slide 


For IBM Internal Use Only 18
IBM Software Group | Rational software

Inserting an Image
1. Position the cursor in Test
Script and Click Capture > Image.

2. Select an
image type.

3. With the pointer, select what you want to include


in the image.

Ready for Next Slide 


For IBM Internal Use Only 19
IBM Software Group | Rational software

More on Screen Captures and Graphics

 Region on the screen


Select an area to capture.
 Window, Dialog, etc.
Select a window or dialog box to
capture.
 Picture of the entire screen
Capture the entire contents of your
monitor screen.
 Graphic file on disk
Select an existing graphic image file to
insert (.gif or .jpg).
Ready for Next Slide 
For IBM Internal Use Only 20
IBM Software Group | Rational software

Associated Data Entry Text


 Associate text with step during test script authoring
 Paste text during test execution (instead of typing)
 Benefits:
 Increased data entry efficiency
 Reduced human error
 Improved consistency:
 Among testers
 Across tests
 Across test runs
 Across test runs against different AUT builds
 Use with long strings of characters:
 Credit card numbers
 Authorization codes

Ready for Next Slide 


For IBM Internal Use Only 21
IBM Software Group | Rational software

Associating Data Entry Text


 Type text into script statement.
 Select and copy (Ctrl+C) text.
 Click Capture > Data for Insert.
 Click OK.

Blue barrel in icon


represents
associated text.

Ready for Next Slide 


For IBM Internal Use Only 22
IBM Software Group | Rational software

Associated Expected Text

 Associate expected text with a verification point or reporting point during test script
authoring
 Have Rational Manual Tester compare the expected text to actual text during test
execution
 Benefits:
 Quicker verification
 Easier than visual comparison
 More reliable, especially with long strings of characters

Ready for Next Slide 


For IBM Internal Use Only 23
IBM Software Group | Rational software

Associating Expected Text


 In the AUT, select the text to be verified.
 Copy (Ctrl+C) the selected text.
 Click Capture > Data for Compare.
 Click OK.

Blue barrel in icon


represents
associated text.

Ready for Next Slide 


For IBM Internal Use Only 24
IBM Software Group | Rational software

Alternative: Using the Properties View to Associate Text

 Associate data entry text by typing or pasting text into the Paste Data
property.

 Associate expected text by typing or pasting text into the Compare Data property.

Ready for Next Slide 

For IBM Internal Use Only 25


IBM Software Group | Rational software

Review and Try

 Review the earlier Sections


 Start Rational Manual Tester and try the specified features for one of
the Application Under Test.

<< Click to Review the Slides

Ready for Next Slide 


For IBM Internal Use Only 26
IBM Software Group | Rational software

Reuse View
 Use as a repository for reusable content (groups and individual statements)
 Create reuse folders to organize reusable statements
 Choose single or multiple select
 Drag into Outline View
 Link by reference or make local

Ready for Next Slide 


For IBM Internal Use Only 27
IBM Software Group | Rational software

Make Statement Reusable Example

Ready for Next Slide 

For IBM Internal Use Only 28


IBM Software Group | Rational software

Reused Statements in Script


 Has shaded background (pale gray)
Local
 Shows arrow in lower left corner of icon Statement

 Must be edited Reused


in source script Statement

 Reflects changes
to source content
immediately

Ready for Next Slide 


For IBM Internal Use Only 29
IBM Software Group | Rational software

Reuse Statement Example

3 Ready for Next Slide 


For IBM Internal Use Only 30
IBM Software Group | Rational software

Making a Reused Statement Local


 Click Edit > Make Statement Local.
 Group statement includes group contents.

For IBM Internal Use Only 31


IBM Software Group | Rational software

Topics
 Introducing Rational Manual Tester (RMT)
 Creating RMT Test Script
 RMT Test Script Enhancements
 Executing RMT Test Script
 Manual Test Execution
 Test Execution Log
 Export Test Results

 Summary and Next Steps


Ready for Next Slide 
For IBM Internal Use Only 32
IBM Software Group | Rational software

Run Test Script View


 Guides tester through test script Learn to
resize and set
 Highlights current statement the
 Collects results for test log transparency
level of Run
 Allows user to define transparency Test Script
view.
Run Test Script Toolbar Apply Result

Result

Current Statement Test Script Properties View


Ready for Next Slide 
For IBM Internal Use Only 33
IBM Software Group | Rational software

Executing a Test
 (If you have AUT, start it first ) and then Click Run > Run Script.
 Follow script:
 Press Alt+Tab to switch between AUT and Run Test Script view.
 Paste (press Ctrl+V) and Compare associated text.
3. Apply the result of each statement executed.
4. Save test results and end test.

Save the test results Skip to next Verification Compare Copied Text to
and end the test Point or Reporting Point Expected text

Submit Defect

Capture an image to associate Pause and


with the current statement Return to Script

Select any statement to add comment.


Ready for Next Slide 
Click Apply or press Enter for Step statement, for failure submit defect.
For IBM Internal Use Only 34
IBM Software Group | Rational software

Associated Text

Associated Text

Blue barrel indicates


associated text

Data entry text is associated with the Expected text is associated with the
current step current verification point or reporting
point

Ready for Next Slide 


For IBM Internal Use Only 35
IBM Software Group | Rational software

Pasting Data Entry Text


1. Place cursor in data entry box in AUT.

 Paste (Ctrl+V) associated data.

Ready for Next Slide 

For IBM Internal Use Only 36


IBM Software Group | Rational software

Comparing Actual Text to Expected Text

 Copy (Ctrl+C) actual text in AUT.


 Switch to Run Test Script view.
 Click Compare Copied Text To Expected
Text button.
 Examine actual and expected text in Text
Difference dialog box or dismiss match
message box.

Expected Actual

Ready for Next Slide 

For IBM Internal Use Only 37


IBM Software Group | Rational software

Review and Try

 Review the Section


 Start Rational Manual Tester and Execute the Manual script in parallel
with AUT.
 Save log and stop the execution

<< Click to Review the Slides

Ready for Next Slide 


For IBM Internal Use Only 38
IBM Software Group | Rational software

Test Log
 Generated upon completion of execution
 Default filename = script filename.execution
 Two tabs: Overview and Events

Overview
Events

Ready for Next Slide 


For IBM Internal Use Only 39
IBM Software Group | Rational software

Review and Try

 Review the Section


 Check the Log of earlier test execution.

<< Click to Review the Slides

Ready for Next Slide 


For IBM Internal Use Only 40
IBM Software Group | Rational software

Export Test Log


 Export to comma separated values (CSV) file
 Open CSV file in Microsoft Excel

Ready for Next Slide 


For IBM Internal Use Only 41
IBM Software Group | Rational software

Topics
 Introducing Rational Manual Tester (RMT)

 Creating RMT Test Script


 RMT Test Script Enhancements

 Executing RMT Test Script

 Summary and Next Steps


Ready for Next Slide 
For IBM Internal Use Only 42
IBM Software Group | Rational software

Review: Benefits of Using Rational Manual Tester (RMT)


Test Activity Rational Manual Tester Benefit: Save time…
Feature
Create tests Reuse of common test Authoring tests
content

Execute tests Execution assistance, Typing in the AUT; Comparing


verification assistance actual results to expected results

Report test results Export test results Tabulating test results for reporting

Maintain tests Reuse of common test Updating many tests


content

Ready for Next Slide 


For IBM Internal Use Only 43
IBM Software Group | Rational software

Review: Rational Manual Tester Terminology


 Rational Manual Tester Test script – A document, a file with .rmt extension, contains all of the
statements required to document and execute a test procedure.
Statement (four types)
Step
Test Script
Group

Verification Point
Reporting Point

Verification Point
S
T
A
T Reporting Point
E
M
E
N Group
T
S
Step Ready for Next Slide 
For IBM Internal Use Only 44
IBM Software Group | Rational software

Review: Run Test Script View


 Guides tester through test script Learn to
resize and set
 Highlights current statement the
 Collects results for test log transparency
level of Run
 Allows user to define transparency Test Script
view.
Run Test Script Toolbar Apply Result

Result

Current Statement Test Script Properties View


Ready for Next Slide 
For IBM Internal Use Only 45
IBM Software Group | Rational software

Review: Executing a Test


 (If you have AUT, start it first ) and then Click Run > Run Script.
 Follow script:
 Press Alt+Tab to switch between AUT and Run Test Script view.
 Paste (press Ctrl+V) and Compare associated text.
3. Apply the result of each statement executed.
4. Save test results and end test.

Save the test results Skip to next Verification Compare Copied Text to
and end the test Point or Reporting Point Expected text

Submit Defect

Capture an image to associate Pause and


with the current statement Return to Script

Select any statement to add comment.


Ready for Next Slide 
Click Apply or press Enter for Step statement
For IBM Internal Use Only 46
IBM Software Group | Rational software

Review: Test Log


 Generated upon completion of execution
 Default filename = script filename.execution
 Two tabs: Overview and Events

Overview
Events

Ready for Next Slide 


For IBM Internal Use Only 47
IBM Software Group | Rational software

Rational Manual Tester (RMT) – Further Reading

See Help
Content

Visit
http://www.ibm.
com/developer
works/rational

Ready for Next Slide 


For IBM Internal Use Only 48
IBM Software Group | Rational software

Quality management
Governance expertise & dashboards

Change & release management


Process
& portfolio Quality management
management
Architecture management

Create, document & prioritize Open technology


business requirements & community innovation

Rational RequisitePro Ensure software functionality,


reliability and performance in
Project Define, approve & monitor project development and production
Manager & components
Rational ClearQuest
 Align teams to work efficiently
Test Manager across the quality management
lifecycle process
Design, code, build, stage Measure
Developer / & deploy tests
Build Engineer  Proactive response to quality
Rational Application Developer Trace
Rational Build Forge issues earlier in the lifecycle
Reconcile
Evaluate & execute functional  Collaborative process
& performance test cases
automation & enforcement (e.g.,
Tester Rational Functional,
Performance & Manual Tester outsourced testing)
 Extensible framework ensures
Deploy build & monitor
in production environment Rational performance, function, and
Tivoli Composite
ClearCase scale of software including
Operations Application Manager, testing software for packaged
Manager Tivoli Provisioning Manager
applications
Ready for Next Slide 
For IBM Internal Use Only 49
IBM Software Group | Rational software

© Copyright IBM Corporation 2007. All rights reserved.


The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible
for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or
representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials
to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may
change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way.
IBM, the IBM logo, the on-demand business logo, Rational, the Rational logo, and other IBM products and services are trademarks of the International Business Machines Corporation,
in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

For IBM Internal Use Only 50

Вам также может понравиться