Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Rational Robot Copyright, 2001 © Jerzy R. Nawrocki Quality Management.

Similar presentations


Presentation on theme: "Introduction to Rational Robot Copyright, 2001 © Jerzy R. Nawrocki Quality Management."— Presentation transcript:

1 Introduction to Rational Robot Copyright, 2001 © Jerzy R. Nawrocki Jerzy.Nawrocki@put.poznan.pl www.cs.put.poznan.pl/jnawrocki/mse/quality/ Quality Management Lecture 11 Quality Management Lecture 11

2 J. Nawrocki, Quality Manag. 11 IntroductionIntroduction Internet applications (HTML) MS client/server applications Windows NT 4.0 Windows 2000 Windows 98 Windows 95

3 J. Nawrocki, Quality Manag. 11 IntroductionIntroduction RR Testing Log

4 J. Nawrocki, Quality Manag. 11 IntroductionIntroduction Two kinds of scripts: GUI scripts for functional testing sessions for performance testing SQABasic for coding scripts manually (see SQABasic Language Reference)

5 J. Nawrocki, Quality Manag. 11 IntroductionIntroduction Applications developed with: Java HTML Visual Basic Power Builder Oracle Forms Delphi MS Visual C/C++

6 J. Nawrocki, Quality Manag. 11 IntroductionIntroduction TestFactory: for system testing Rational Robot: for acceptance testing

7 J. Nawrocki, Quality Manag. 11 Recording GUI scripts 1. Set up test environment 2. Set recording options 3. Start recording 4. Perform user actions 5. Create verification points 6. End recording

8 J. Nawrocki, Quality Manag. 11 Setting up test environment Establishing predictable start and end states for scripts (a common point) Setting up the test environment (close any unnecessary applications) Create short modular scripts (they can be grouped into shell scripts) Enabling IDE applications for testing (e.g. for HTML use the Start Browser button to start Internet Explorer or Netscape Navigator)

9 J. Nawrocki, Quality Manag. 11 Setting GUI recording options Naming cripts automatically (prefix) Unknown objects (GENERIC object type)

10 J. Nawrocki, Quality Manag. 11 Start recording a script Click the Record GUI Script button Type a name (automatically provided if prefix has been defined) Click OK. to start recording (Robot window is minimized; the floating GUI Record toolbar appears) Start the application-under-test (AUT) using the GUI Record toolbar Using the GUI Record toolbar you can pause and resume the recording (2-19)

11 J. Nawrocki, Quality Manag. 11 Recording a script Object-oriented recording mode (independet of object location on the screen) Low-level recording mode (tracks detail mouse movements and keybord actions by screen coordinates and exact timing; useful for testing CAD-like applications against drawing, painting etc.)

12 J. Nawrocki, Quality Manag. 11 Recording a script Timers (to measure performance) Comments in a script Log messages Delay values Wait states (Retry every.., Timeout after..) Verification points

13 J. Nawrocki, Quality Manag. 11 Verification points Alphanumeric („Program”, „100”) File comparison (byte-for-byte) File existance Menu Object data (Data tests) Object properties (e.g. BackColor, BorderStyle) Region image (bitmap, a region of the screen) Window image (bitmap of a window) Window existence (and status: normal, minimized, maximized, hidden)

14 J. Nawrocki, Quality Manag. 11 SummarySummary Rational Robot can help in implementation of acceptance test. Scripts that can be recorded and played back Verification points SQABasic

15 J. Nawrocki, Quality Manag. 11 Further readings Using Rational Robot, Version 2001.03.00 

16 J. Nawrocki, Quality Manag. 11 HomeworkHomework Prepare a document template for SDS requirements

17 J. Nawrocki, Quality Manag. 11 Quality assessment 1. What is your general impression? (1 - 6) 2. Was it too slow or too fast? 3. What important did you learn during the lecture? 4. What to improve and how?


Download ppt "Introduction to Rational Robot Copyright, 2001 © Jerzy R. Nawrocki Quality Management."

Similar presentations


Ads by Google