Vous êtes sur la page 1sur 20

Rational Functional Tester PART-1

Presenters :

Nehal Gutka
Copyright 2009 Deloitte Development LLC. All rights reserved.

Agenda
Introduction of Tool RFT Supports Workflow in RFT All about Projects
Navigational Screens w.r.t Projects

Let us learn Tool Bar Creating a Script in Recording Mode


Navigated Screenshots during Recording Process and Run

Introduction :
An Object Oriented Functional Automation Testing Tool. Functional Test is available in two integrated development environments and two scripting languages. Identify objects by their internal object properties, not by screen coordinates.

Functional Test features platform-independent and browser-independent test playback. for example, you can record a script on Windows and play it back on Linux.
Functional Test is integrated with Test Management Tool from IBM-Rational.

Copyright 2009 Deloitte Development LLC. All rights reserved.

RFT Supports

Scripting Languages : Java and VB.net

Integrated Dev. Env.: Eclipse 3.4 VS. net 2003/2005

Technology RFT Supports Applications : Operating Systems : Windows 2000/ XP/Vista


Linux

Java, HTML , .net , Windows SAP, Siebel AJAX, Flex etc.,

Copyright 2009 Deloitte Development LLC. All rights reserved.

Workflow in RFT
All About Projects Creating a Rational Project. Creating a Functional Test Project. Connecting to a Functional Test Project. Open RFT tool w.r.t necessary environment. Create base Script. Save with proper Naming convention. Data Pooling. Necessary Verification Points. Other Necessary Changes. Schedule the Script to Run Creation of Result Log Save Log with Proper Naming convention.

Creating Base Scripts

Modifying Base Scripts

Execution of Scripts

Analyzing the Results

Store the Results in customizes format. Analyze the scripts.

Copyright 2009 Deloitte Development LLC. All rights reserved.

All About Projects


Creating a Rational Project : To associate a Functional Test project with a Rational project, you need to create the Rational project first. To use integrated features such as this, you must have Rational Administrator and Test Manager installed. The Way Start > Programs > Rational Software > Rational Administrator. Click File > New Project. Enter the project name and the location. Stores test assets such as test plans, test cases, test logs, reports, and builds. Creating a Functional Test Project : The Way Click File > New > Functional Test Project From toolbar, Click New. The New dialog box with the Select a Wizard page appears. Select Functional Test Project and click Next. Enter Project Name in Project Name Field. Stores test assets such as scripts, Functional Tester logs, object maps, verification point baseline files, and script templates. Connecting to a Functional Test Project: The Way Click File > Connect to a Functional Test project Give Functional Test project location path Select/Enter Project Path Click Finish
Copyright 2009 Deloitte Development LLC. All rights reserved.

Getting Started with RFT : Create New Project


File New Functional Test Project

Copyright 2009 Deloitte Development LLC. All rights reserved.

Getting Started with RFT : Create New Script


File New Add Empty Functional Test Script

Copyright 2009 Deloitte Development LLC. All rights reserved.

Getting Started With RFT : Select Script Assets

Copyright 2009 Deloitte Development LLC. All rights reserved.

Getting Started With RFT : Script Editor

Copyright 2009 Deloitte Development LLC. All rights reserved.

10

All about Tool Bar

Record

Run

Create a Test Folder Create a Test Data pool Create an Test Object Map Create an Empty Functional Test Script Connect to Existing Functional Project Create Functional Project NEW
Copyright 2009 Deloitte Development LLC. All rights reserved.

11

All about Tool Bar

Configure Appl. for Testing Configure obj. rec. prop Object Test Inspector Insert Verification Point Insert Test Object Insert Data driven Commands Find Literals and Replace with Datapool Reference

Copyright 2009 Deloitte Development LLC. All rights reserved.

12

Creating a Script in Recording Mode


Steps to Create : Click on Record Button in Functional Script Window

Record a Functional Test Script dialog box is displayed, select the project you want the script to be part of. Type a name for the script. If Click=Finish then Default Object Map is created by Tool Elseif Click="Next" then We can select different test object map, helper superclass, or test datapool End if Recording Monitor Appears and recording is in progress. Click on Start Application button to select the application for recording.

Start Application Pop-Up is displayed for you to select application. Select appli. and click OK. Manually perform some sequence of actions on application and close the application. Click on Stop Recording button on Record Monitor.

Run the Script to check the sequence of actions Performed.

Copyright 2009 Deloitte Development LLC. All rights reserved.

13

Navigated Screenshots during Recording Process and Run


Recording Monitor

Copyright 2009 Deloitte Development LLC. All rights reserved.

14

Navigated Screenshots during Recording Process and Run


Start Application

Copyright 2009 Deloitte Development LLC. All rights reserved.

15

Navigated Screenshots during Recording Process and Run


Script Editor

Copyright 2009 Deloitte Development LLC. All rights reserved.

16

Navigated Screenshots during Recording Process and Run


Select Log Dialog Box

Copyright 2009 Deloitte Development LLC. All rights reserved.

17

Navigated Screenshots during Recording Process and Run


Playback Monitor

Script plays back, messages display in the Playback Monitor. Functional Tester plays back all of your recorded actions, such as the application starting, the actions you performed on the application, and the verification points.

Copyright 2009 Deloitte Development LLC. All rights reserved.

18

Navigated Screenshots during Recording Process and Run


Log Window

When playback finishes, the HTML log displays the results of the run in a separate window. If the log is minimized, restore it. All events listed in the log should include Pass in the event headings in green.

Copyright 2009 Deloitte Development LLC. All rights reserved.

19

End of Part - 1

Copyright 2009 Deloitte Development LLC. All rights reserved.

20

Vous aimerez peut-être aussi