rational functional tester java - part1

20
1 Copyright © 2009 Deloitte Development LLC. All rights reserved. Rational Functional Tester Presenters : Nehal Gutka PART-1

Upload: sushma-rani-mandava

Post on 22-Oct-2014

66 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Rational Functional Tester Java - Part1

1Copyright © 2009 Deloitte Development LLC. All rights reserved.

Rational Functional Tester

Presenters :

Nehal Gutka

PART-1

Page 2: Rational Functional Tester Java - Part1

Agenda

Introduction of Tool

RFT Supports

Workflow in RFT

All about ProjectsNavigational Screens w.r.t Projects

Let us learn Tool Bar

Creating a Script in Recording ModeNavigated Screenshots during Recording Process and Run

Page 3: Rational Functional Tester Java - Part1

3Copyright © 2009 Deloitte Development LLC. All rights reserved.

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.

Page 4: Rational Functional Tester Java - Part1

4Copyright © 2009 Deloitte Development LLC. All rights reserved.

Scripting Languages :Java and VB.net

Integrated Dev. Env.:Eclipse 3.4

VS. net 2003/2005

Applications :Java, HTML ,

.net , WindowsSAP, Siebel

AJAX, Flex etc.,

Operating Systems :Windows 2000/ XP/Vista

Linux

Technology RFT

Supports

RFT Supports

Page 5: Rational Functional Tester Java - Part1

5Copyright © 2009 Deloitte Development LLC. All rights reserved.

All About Projects

Workflow in RFT

• 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.

• Store the Results in customizes format.• Analyze the scripts.

Creating Base Scripts

Modifying Base Scripts

Execution of Scripts

Analyzing the Results

Page 6: Rational Functional Tester Java - Part1

6Copyright © 2009 Deloitte Development LLC. All rights reserved.

All About ProjectsCreating 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

Page 7: Rational Functional Tester Java - Part1

7Copyright © 2009 Deloitte Development LLC. All rights reserved.

Getting Started with RFT : Create New Project

File New Functional Test Project

Page 8: Rational Functional Tester Java - Part1

8Copyright © 2009 Deloitte Development LLC. All rights reserved.

File New Add Empty Functional Test Script

Getting Started with RFT : Create New Script

Page 9: Rational Functional Tester Java - Part1

9Copyright © 2009 Deloitte Development LLC. All rights reserved.

Getting Started With RFT : Select Script Assets

Page 10: Rational Functional Tester Java - Part1

10Copyright © 2009 Deloitte Development LLC. All rights reserved.

Getting Started With RFT : Script Editor

Page 11: Rational Functional Tester Java - Part1

11Copyright © 2009 Deloitte Development LLC. All rights reserved.

All about Tool Bar

NEW

Create Functional Project

Connect to Existing Functional Project

Create an Empty Functional Test Script

Create an Test Object Map

Create a Test Data pool

Create a Test Folder

Record Run

Page 12: Rational Functional Tester Java - Part1

12Copyright © 2009 Deloitte Development LLC. All rights reserved.

Find Literals and Replace with Datapool Reference

Insert Data driven Commands

Insert Test Object

Insert Verification Point

Object Test Inspector

Configure obj. rec. prop

Configure Appl. for Testing

All about Tool Bar

Page 13: Rational Functional Tester Java - Part1

13Copyright © 2009 Deloitte Development LLC. All rights reserved.

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” thenDefault Object Map is created by Tool

Elseif Click="Next" thenWe 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.

Creating a Script in Recording Mode

Page 14: Rational Functional Tester Java - Part1

14Copyright © 2009 Deloitte Development LLC. All rights reserved.

Navigated Screenshots during Recording Process and Run

Recording Monitor

Page 15: Rational Functional Tester Java - Part1

15Copyright © 2009 Deloitte Development LLC. All rights reserved.

Navigated Screenshots during Recording Process and Run

Start Application

Page 16: Rational Functional Tester Java - Part1

16Copyright © 2009 Deloitte Development LLC. All rights reserved.

Navigated Screenshots during Recording Process and Run

Script Editor

Page 17: Rational Functional Tester Java - Part1

17Copyright © 2009 Deloitte Development LLC. All rights reserved.

Select Log Dialog Box

Navigated Screenshots during Recording Process and Run

Page 18: Rational Functional Tester Java - Part1

18Copyright © 2009 Deloitte Development LLC. All rights reserved.

Playback Monitor

Navigated Screenshots during Recording Process and Run

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.

Page 19: Rational Functional Tester Java - Part1

19Copyright © 2009 Deloitte Development LLC. All rights reserved.

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.

Navigated Screenshots during Recording Process and RunLog Window

Page 20: Rational Functional Tester Java - Part1

20Copyright © 2009 Deloitte Development LLC. All rights reserved.

End of Part - 1