Beruflich Dokumente
Kultur Dokumente
For internal
internal use
use only!
only!
Table of contents
Automatic
Automatic GUI
GUI Testing
Testing –– Regression
Regression Testing
Testing
IBM
IBM Rational
Rational FT
FT –– Overview
Overview
IBM
IBM Rational
Rational FT
FT –– Main
Main Features
Features
IBM
IBM Rational FT – Demonstrations
Rational FT Demonstrations
Q&A
Q&A
Pg 1
For internal use only!
Table of contents
Automatic
Automatic GUI
GUI Testing
Testing –– Regression
Regression Testing
Testing
IBM •Introduction
IBM Rational
Rational FT
FT –– Overview
Overview
•Concepts
IBM
IBM Rational
Rational FT
FT –– Main
Main Features
Features
IBM
IBM Rational
Rational FT
FT –– Demonstrations
Demonstrations
Q&A
Q&A
Introduction
Pg 2
For internal use only!
Concepts
GUI Testing Tools
– Capture-Replay – (Script Generation based on user’s actions)
– Unit-Test
Regression Testing
– Execute test scripting against application builds and test results
comparison
Techniques for script building:
– Linear Scripts
Obtained from user actions on a given GUI
– Structured Scripts
Previous + Flow Control Options
– Data-Driven
User input data (Data Base, Spreadsheet, XML File…) is detached from
user actions (usually hard-coded)
– Keyword-Driven
User actions abstractions encapsulating long low-level scripting procedures
IBM Rational Functional Tester
Pedro Miguel Mendes
2006.04.11
Copyright © Infineon Technologies 2005. All rights reserved.
Table of contents
Automatic
Automatic GUI
GUI Testing
Testing –– Regression
Regression Testing
Testing
IBM •Product–Presentation
IBM Rational
Rational FT
FT – Overview
Overview
•Requirements
•Installation Guide
IBM
IBM Rational
Rational FT
FT –– Main
Main Features
Features
IBM
IBM Rational
Rational FT
FT –– Demonstrations
Demonstrations
Q&A
Q&A
Pg 3
For internal use only!
Requirements
Web Browser
Microsoft® Visual Studio® 2003 (or 2005 with 6.1.1.1 patch)
– VB .net scripting usage
.net Framework 1.1
– .net applications
– Web applications using activeX controls
– VB .net scripting usage
– http://msdn.microsoft.com/netframework/downloads/framework1_1/
JRE 1.3.1_02 or better
– Required for test report application
– Java scripting usage
– http://Java.sun.com/j2se/1.4.2/download.html
Pg 4
For internal use only!
Requirements
Technical Requirements:
http://www-306.ibm.com/software/awdtools/tester/functional/sysreq/index2.html
In a standard IFPT DC machine some extra procedures are required:
– Removal of the Java default installation using NetInstall
– JRE install, downloaded directly from Sun
Ensuring during installation the association of the Java Virtual Machine to a default
Web Browser, preferably IE
When the installation completes check the Control Panel and confirm the previous
step
Requirements
In a standard IFPT DC machine some extra procedures are required:
Add the Java lib location to the machine’s System Variables
Pg 5
For internal use only!
Installation Guide
Table of contents
Automatic
Automatic GUI
GUI Testing
Testing –– Regression
Regression Testing
Testing
Pg 6
For internal use only!
Application launcher.
Target Test application or URL of Web Application
should be declared here.
Command Line Arguments possible
Recording Console
Event Logging
Error Logging
Pause – Resume Recording
Console is customizable
Pg 7
For internal use only!
Pg 8
For internal use only!
Create New OM
Created OM
Mapped objects into script
Pg 9
For internal use only!
Pg 10
For internal use only!
Datapool – (1/2)
A Datapool (DP) is a test dataset, a collection of related data records
which supplies data values to the variables in a test script during test
script playback.
It is a key element to execute Data-Driven Tests.
Automatic specification (manual inserted values are made redundant):
1. Choose to Data-Drive script
2. Choose top level component that includes all the others to contain the
data (assuming many values as in a form)
3. Chose objects to data-drive
4. Insert Data
Datapool – (2/2)
In playback mode tester can decide how many rows are to be
processed from 1 to end of datapool
Pg 11
For internal use only!
Native Objects
Native objects are not stored as serialized objects but as XML files
with different types of extensions.
– /resources - folder
This makes it easy to build applications to process these files.
Product package doesn’t seem to provide these files’ DTD or
schema.
Pg 12
For internal use only!
Notes
It is possible to call a script from another.
Possible to pass arguments inside an object array.
– callScript(“ScriptName",argument_array_object);
Called script always has to cast abstract objects to desired type.
Notes:
– Lines of Code are almost all of type:
Guiobject.ActiontoPerform()
Objects in OM must all have different names
Although no defects have been found, product documentation suggests that
there may be some problems when testing C++ based GUIs
Table of contents
Automatic
Automatic GUI
GUI Testing
Testing –– Regression
Regression Testing
Testing
IBM •Product–Tutorial 1
IBM Rational
Rational FT
FT – Overview
Overview
•IBM – Tutorial 1
•IBM – Tutorial 2
IBM
IBM Rational
Rational FT
FT –– Main
Main Features
Features
•Web Application – MoviesDB
•Paint .net Cube
IBM
IBM Rational
Rational FT
FT –– Demonstrations
Demonstrations
Q&A
Q&A
Pg 13
For internal use only!
Table of contents
Automatic
Automatic GUI
GUI Testing
Testing –– Regression
Regression Testing
Testing
Q&A
Q&A
References
“Técnicas para Construção de Testes Funcionais Automáticos”
– Simone Antunes Correia, Alberto Rodrigues da Silva
http://www-28.ibm.com/developerworks/rational/products/functionaltester/
http://www.rational-ug.org/
Pg 14
For internal use only!
Pg 15