rational functional tester java - part1
TRANSCRIPT
1Copyright © 2009 Deloitte Development LLC. All rights reserved.
Rational Functional Tester
Presenters :
Nehal Gutka
PART-1
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
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.
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
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
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
7Copyright © 2009 Deloitte Development LLC. All rights reserved.
Getting Started with RFT : Create New Project
File New Functional Test Project
8Copyright © 2009 Deloitte Development LLC. All rights reserved.
File New Add Empty Functional Test Script
Getting Started with RFT : Create New Script
9Copyright © 2009 Deloitte Development LLC. All rights reserved.
Getting Started With RFT : Select Script Assets
10Copyright © 2009 Deloitte Development LLC. All rights reserved.
Getting Started With RFT : Script Editor
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
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
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
14Copyright © 2009 Deloitte Development LLC. All rights reserved.
Navigated Screenshots during Recording Process and Run
Recording Monitor
15Copyright © 2009 Deloitte Development LLC. All rights reserved.
Navigated Screenshots during Recording Process and Run
Start Application
16Copyright © 2009 Deloitte Development LLC. All rights reserved.
Navigated Screenshots during Recording Process and Run
Script Editor
17Copyright © 2009 Deloitte Development LLC. All rights reserved.
Select Log Dialog Box
Navigated Screenshots during Recording Process and Run
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.
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
20Copyright © 2009 Deloitte Development LLC. All rights reserved.
End of Part - 1