SlideShare a Scribd company logo
1 of 3
Download to read offline
Tutorial - 11 How to Data Drive a Test Script using IBM – Rational Functional Tester - RFT

This short tutorial presents a simple method of data driving IBM - RFT Test Script

Steps for data driving a script are as under:


Step – 1: Creation of a Project: Project is the first & foremost workbench required to store the
test assets which are needed for testing any application.

Step – 2: Beginning of the test script recording: Involves two steps like:

a) Choice of Datapool record selection order: While playing back, the test script accesses
various records in the datapool either sequentially or randomly. Thus choice out of these two
options is done from the “Datapool Record Selection Order” box from the Select Script Assets
dialog box.

# Sequential order: Records are accessed by the test script in a sequential order as they appear
in the Datapool.

# Random order: Every record gets accessed by the test script randomly once from the
Datapool.

b) Finish the selections: Click “Finish” to minimize the Functional Tester window and
launching the Recording Monitor.

Step – 3: Navigation across the application to a point desired to be data driven:

# Click “Start Application” on the Recording toolbar.

# Now do necessary actions across the application as desired to be recorded in the test script.

Step – 4: Data Driving the test:

a) Opening of the Insert Data Driven Actions page after halting the recording of the test script. To
do this; click “Insert Data Driven Commands” on the “Recording” toolbar,

b) Key in the initial values which are desired to be seen in the Datapool in the fields required to be
data driven in our application under test.

While recording is halted, we avoid recording of unwanted actions in the test script by populating
such fields.

Step – 5: Selecting the test objects: Under “Populate then Select Test Objects” select the
test objects through either of the two methods:

Method –1: “Press and drag hand to select test objects” is used to select an object and all
the descendents of the selected object. This is the most common and direct method of selecting
an object.

Method –2: For opening the Select Object to Data Drive page, “Use selection wizard to select
test objects”. To do this click on the “Drag Hand Selection” method with its options,
alternatively click on the “Test Object Browser” method.
Step – 6: In case we had opted for method –1 under Step – 5 above i.e. “Press and drag hand
to select test objects”

a) Use the mouse to drag the hand shaped, “Object Finder tool”, to the object in the application
which is desired to be selected. RFT automatically outlines this object with a red border.

b) Now release the mouse button.

The Data Drive Actions page shall open now. The information about the objects selected by us
appears under the DataDriven Commands table.

For viewing the line of the code inserted by RFT in our test script, we need to place the mouse
pointer over a row in this table for data-driving our application.

Step – 7: In case we had opted for method –2 under Step – 5 above i.e. “Use selection wizard
to select test objects”, click on “Selection method” arrow for making a selection out of either
of the further two methods:

Method –A: “Drag Hand Selection” method is used to include only the selected object, the
selected object and the immediate children of the selected object, or to include the selected
object and all descendents of the selected object.

Method –B: “Test Object Browser” method is used to browse for the object desired to be
selected.

Step – 8: In case we had opted for method –A under Step – 7 above i.e. “Drag Hand Selection”
method

a) Select or clear the option “After selecting an object advance to the next page”.

b) Use the mouse to drag the hand shaped Object Finder tool, to the object desired to be
selected in the application. RFT automatically outlines this object with a red border.

c) Release the mouse button.

d) Click on “Next” if we opt for not selecting the option “After selecting an object advance to
next page”.

e) Click on one of the following options:

# “Just the selected object”
# “Include the immediate children of the selected object”
# “Include all descendents of the selected object”

Step – 9: In case we had opted for method –B under Step – 7 above i.e. “Test Object Browser”
method

a) Browse the object tree to find the object required to be data-driven.

b) Click on the part of the tree required to be selected. Then Click “Next”.

c) Click on one of the following options.

# “Just the selected object”
# “Include the immediate children of the selected object”
# “Include all descendents of the selected object”

d) Click “Finish”.

The Insert Data Driven Actions page opens & presents all the information filled in under
“Data Driven Commands” and “Selected Command Description”.

Step – 10: Click “OK” to finish the data-driving process for the script. This closes the “Insert
Data Driven Actions” page and RFT presents a Datapool containing all the data gathered from
the application.

Step – 11: Perform all other actions in the application, which we want to record. The actions can
be like: Recording a verification point or inserting desired script support functions into the script
such as such as a call script command, log entry, timer, script delay command, or comment etc.

Step – 12: Close the application, if we want closing of the application to be part of the script.

Step – 13: Click on “Stop Recording” on the “Recording” toolbar, to append all the recorded
Information to the test script and update the Datapool with new variables and associated initial
values.

RFT window opens and the recorded script gets displayed in the editor window.

Tutorial by :
http://www.softwaretestinggenius.com

More Related Content

What's hot

Qtp Training
Qtp TrainingQtp Training
Qtp Trainingmehramit
 
Less05 2 e_testermodule_4
Less05 2 e_testermodule_4Less05 2 e_testermodule_4
Less05 2 e_testermodule_4Suresh Mishra
 
Qtp 92 Tutorial
Qtp 92 TutorialQtp 92 Tutorial
Qtp 92 Tutorialsasidhar
 
ETL Validator: Table to Table Comparison
ETL Validator: Table to Table ComparisonETL Validator: Table to Table Comparison
ETL Validator: Table to Table ComparisonDatagaps Inc
 
Query parameterization in ETL Validator
Query parameterization in ETL ValidatorQuery parameterization in ETL Validator
Query parameterization in ETL ValidatorDatagaps Inc
 
QTP Training by INFOTECH
QTP Training by INFOTECHQTP Training by INFOTECH
QTP Training by INFOTECHPravinsinh
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentationtechgajanan
 
Oracle 10g Forms Lesson 10
Oracle 10g Forms Lesson 10Oracle 10g Forms Lesson 10
Oracle 10g Forms Lesson 10KAMA3
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_moduleSuresh Mishra
 
Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3Suresh Mishra
 
Steps how to create active x using visual studio 2008
Steps how to create active x using visual studio 2008Steps how to create active x using visual studio 2008
Steps how to create active x using visual studio 2008Yudep Apoi
 
Executing tools-in-modelbuilder-tutorial
Executing tools-in-modelbuilder-tutorialExecuting tools-in-modelbuilder-tutorial
Executing tools-in-modelbuilder-tutorialaskar_gila
 
2014 Taverna Tutorial Nested workflows
2014 Taverna Tutorial Nested workflows2014 Taverna Tutorial Nested workflows
2014 Taverna Tutorial Nested workflowsmyGrid team
 

What's hot (15)

Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Less05 2 e_testermodule_4
Less05 2 e_testermodule_4Less05 2 e_testermodule_4
Less05 2 e_testermodule_4
 
Qtp 92 Tutorial
Qtp 92 TutorialQtp 92 Tutorial
Qtp 92 Tutorial
 
ETL Validator: Table to Table Comparison
ETL Validator: Table to Table ComparisonETL Validator: Table to Table Comparison
ETL Validator: Table to Table Comparison
 
QTP Functions
QTP FunctionsQTP Functions
QTP Functions
 
Query parameterization in ETL Validator
Query parameterization in ETL ValidatorQuery parameterization in ETL Validator
Query parameterization in ETL Validator
 
QTP Training by INFOTECH
QTP Training by INFOTECHQTP Training by INFOTECH
QTP Training by INFOTECH
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentation
 
Oracle 10g Forms Lesson 10
Oracle 10g Forms Lesson 10Oracle 10g Forms Lesson 10
Oracle 10g Forms Lesson 10
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_module
 
Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3
 
QTP Online Training
QTP Online TrainingQTP Online Training
QTP Online Training
 
Steps how to create active x using visual studio 2008
Steps how to create active x using visual studio 2008Steps how to create active x using visual studio 2008
Steps how to create active x using visual studio 2008
 
Executing tools-in-modelbuilder-tutorial
Executing tools-in-modelbuilder-tutorialExecuting tools-in-modelbuilder-tutorial
Executing tools-in-modelbuilder-tutorial
 
2014 Taverna Tutorial Nested workflows
2014 Taverna Tutorial Nested workflows2014 Taverna Tutorial Nested workflows
2014 Taverna Tutorial Nested workflows
 

Viewers also liked

Tutorial - 16 : How to pass parameters from one script to another by CallScri...
Tutorial - 16 : How to pass parameters from one script to another by CallScri...Tutorial - 16 : How to pass parameters from one script to another by CallScri...
Tutorial - 16 : How to pass parameters from one script to another by CallScri...Yogindernath Gupta
 
Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...Yogindernath Gupta
 
Rft Tutorial 1 How To Retrieve The Value Of An Object Property Programmatic...
Rft Tutorial   1 How To Retrieve The Value Of An Object Property Programmatic...Rft Tutorial   1 How To Retrieve The Value Of An Object Property Programmatic...
Rft Tutorial 1 How To Retrieve The Value Of An Object Property Programmatic...Yogindernath Gupta
 
ISTQB Advanced Study Guide - 6
ISTQB Advanced Study Guide - 6ISTQB Advanced Study Guide - 6
ISTQB Advanced Study Guide - 6Yogindernath Gupta
 
RFT Tutorial - 5 How Do We Record Data Verification Point For Test Objects Us...
RFT Tutorial - 5 How Do We Record Data Verification Point For Test Objects Us...RFT Tutorial - 5 How Do We Record Data Verification Point For Test Objects Us...
RFT Tutorial - 5 How Do We Record Data Verification Point For Test Objects Us...Yogindernath Gupta
 
ISTQB Advanced Study Guide - 7
ISTQB Advanced Study Guide - 7ISTQB Advanced Study Guide - 7
ISTQB Advanced Study Guide - 7Yogindernath Gupta
 
ISTQB Advanced Study Guide - 8
ISTQB Advanced Study Guide - 8ISTQB Advanced Study Guide - 8
ISTQB Advanced Study Guide - 8Yogindernath Gupta
 
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFT
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFTRFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFT
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFTYogindernath Gupta
 
RFT Tutorial - 9 How To Create A Properties Verification Point In Rft For Tes...
RFT Tutorial - 9 How To Create A Properties Verification Point In Rft For Tes...RFT Tutorial - 9 How To Create A Properties Verification Point In Rft For Tes...
RFT Tutorial - 9 How To Create A Properties Verification Point In Rft For Tes...Yogindernath Gupta
 
ISTQB Advanced Study Guide - 2
ISTQB Advanced Study Guide - 2ISTQB Advanced Study Guide - 2
ISTQB Advanced Study Guide - 2Yogindernath Gupta
 
Introduction to specification based test design techniques
Introduction to specification based test design techniquesIntroduction to specification based test design techniques
Introduction to specification based test design techniquesYogindernath Gupta
 
RFT Simplified Scripting- Shinoj Z
RFT Simplified Scripting- Shinoj ZRFT Simplified Scripting- Shinoj Z
RFT Simplified Scripting- Shinoj ZRoopa Nadkarni
 
Introduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsIntroduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsYogindernath Gupta
 

Viewers also liked (13)

Tutorial - 16 : How to pass parameters from one script to another by CallScri...
Tutorial - 16 : How to pass parameters from one script to another by CallScri...Tutorial - 16 : How to pass parameters from one script to another by CallScri...
Tutorial - 16 : How to pass parameters from one script to another by CallScri...
 
Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...Tutorial - 14 How to insert a verification point from the script explorer usi...
Tutorial - 14 How to insert a verification point from the script explorer usi...
 
Rft Tutorial 1 How To Retrieve The Value Of An Object Property Programmatic...
Rft Tutorial   1 How To Retrieve The Value Of An Object Property Programmatic...Rft Tutorial   1 How To Retrieve The Value Of An Object Property Programmatic...
Rft Tutorial 1 How To Retrieve The Value Of An Object Property Programmatic...
 
ISTQB Advanced Study Guide - 6
ISTQB Advanced Study Guide - 6ISTQB Advanced Study Guide - 6
ISTQB Advanced Study Guide - 6
 
RFT Tutorial - 5 How Do We Record Data Verification Point For Test Objects Us...
RFT Tutorial - 5 How Do We Record Data Verification Point For Test Objects Us...RFT Tutorial - 5 How Do We Record Data Verification Point For Test Objects Us...
RFT Tutorial - 5 How Do We Record Data Verification Point For Test Objects Us...
 
ISTQB Advanced Study Guide - 7
ISTQB Advanced Study Guide - 7ISTQB Advanced Study Guide - 7
ISTQB Advanced Study Guide - 7
 
ISTQB Advanced Study Guide - 8
ISTQB Advanced Study Guide - 8ISTQB Advanced Study Guide - 8
ISTQB Advanced Study Guide - 8
 
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFT
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFTRFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFT
RFT Tutorial 4 How Do We Record A Script Using Rational Functional Tester - RFT
 
RFT Tutorial - 9 How To Create A Properties Verification Point In Rft For Tes...
RFT Tutorial - 9 How To Create A Properties Verification Point In Rft For Tes...RFT Tutorial - 9 How To Create A Properties Verification Point In Rft For Tes...
RFT Tutorial - 9 How To Create A Properties Verification Point In Rft For Tes...
 
ISTQB Advanced Study Guide - 2
ISTQB Advanced Study Guide - 2ISTQB Advanced Study Guide - 2
ISTQB Advanced Study Guide - 2
 
Introduction to specification based test design techniques
Introduction to specification based test design techniquesIntroduction to specification based test design techniques
Introduction to specification based test design techniques
 
RFT Simplified Scripting- Shinoj Z
RFT Simplified Scripting- Shinoj ZRFT Simplified Scripting- Shinoj Z
RFT Simplified Scripting- Shinoj Z
 
Introduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsIntroduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB Certifications
 

Similar to RFT Tutorial 11 How To Data Drive A Test Script Using Ibm – Rational Functional Tester RFT

Debugger & Profiler in NetBeans
Debugger & Profiler in NetBeansDebugger & Profiler in NetBeans
Debugger & Profiler in NetBeansHuu Bang Le Phan
 
Mobile Worshop Lab guide
Mobile Worshop Lab guideMobile Worshop Lab guide
Mobile Worshop Lab guideMan Chan
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769subhasis100
 
Lsmw for master data upload simple explanation
Lsmw for master data upload simple explanationLsmw for master data upload simple explanation
Lsmw for master data upload simple explanationManoj Kumar
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtpRamu Palanki
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3Ramu Palanki
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3Ramu Palanki
 
Hp Load Runner Tutorial 1 How Do We Record An Application Using Load Runner
Hp Load Runner Tutorial 1   How Do We Record An Application Using Load RunnerHp Load Runner Tutorial 1   How Do We Record An Application Using Load Runner
Hp Load Runner Tutorial 1 How Do We Record An Application Using Load RunnerYogindernath Gupta
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
Leture5 exercise onactivities
Leture5 exercise onactivitiesLeture5 exercise onactivities
Leture5 exercise onactivitiesmaamir farooq
 
Lecture exercise on activities
Lecture exercise on activitiesLecture exercise on activities
Lecture exercise on activitiesmaamir farooq
 

Similar to RFT Tutorial 11 How To Data Drive A Test Script Using Ibm – Rational Functional Tester RFT (20)

Winrunner
WinrunnerWinrunner
Winrunner
 
Vb%20 tutorial
Vb%20 tutorialVb%20 tutorial
Vb%20 tutorial
 
Debugger & Profiler in NetBeans
Debugger & Profiler in NetBeansDebugger & Profiler in NetBeans
Debugger & Profiler in NetBeans
 
Test Complete
Test CompleteTest Complete
Test Complete
 
Mobile Worshop Lab guide
Mobile Worshop Lab guideMobile Worshop Lab guide
Mobile Worshop Lab guide
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769
 
Ppt Qtp
Ppt QtpPpt Qtp
Ppt Qtp
 
Qtp 92 Tutorial769
Qtp 92 Tutorial769Qtp 92 Tutorial769
Qtp 92 Tutorial769
 
Lsmw for master data upload simple explanation
Lsmw for master data upload simple explanationLsmw for master data upload simple explanation
Lsmw for master data upload simple explanation
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtp
 
Keyword driven testing in qtp
Keyword driven testing in qtpKeyword driven testing in qtp
Keyword driven testing in qtp
 
Qtp day 3
Qtp day 3Qtp day 3
Qtp day 3
 
Qtp check points
Qtp check pointsQtp check points
Qtp check points
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
 
Qtp interview questions3
Qtp interview questions3Qtp interview questions3
Qtp interview questions3
 
Hp Load Runner Tutorial 1 How Do We Record An Application Using Load Runner
Hp Load Runner Tutorial 1   How Do We Record An Application Using Load RunnerHp Load Runner Tutorial 1   How Do We Record An Application Using Load Runner
Hp Load Runner Tutorial 1 How Do We Record An Application Using Load Runner
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
Leture5 exercise onactivities
Leture5 exercise onactivitiesLeture5 exercise onactivities
Leture5 exercise onactivities
 
Lecture exercise on activities
Lecture exercise on activitiesLecture exercise on activities
Lecture exercise on activities
 
A d swincc15e
A d swincc15eA d swincc15e
A d swincc15e
 

More from Yogindernath Gupta

Learn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation ExamLearn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation ExamYogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeYogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
ISTQB Advanced Study Guide - 5
ISTQB Advanced Study Guide - 5ISTQB Advanced Study Guide - 5
ISTQB Advanced Study Guide - 5Yogindernath Gupta
 
ISTQB Advanced Study Guide - 4
ISTQB Advanced Study Guide - 4ISTQB Advanced Study Guide - 4
ISTQB Advanced Study Guide - 4Yogindernath Gupta
 
ISTQB Advanced Study Guide - 3
ISTQB Advanced Study Guide - 3ISTQB Advanced Study Guide - 3
ISTQB Advanced Study Guide - 3Yogindernath Gupta
 
ISTQB Advanced – Study Guide -1
ISTQB Advanced – Study Guide -1ISTQB Advanced – Study Guide -1
ISTQB Advanced – Study Guide -1Yogindernath Gupta
 
Knowledge Levels In Certifications
Knowledge Levels In CertificationsKnowledge Levels In Certifications
Knowledge Levels In CertificationsYogindernath Gupta
 
Design Review & Software Testing
Design Review & Software TestingDesign Review & Software Testing
Design Review & Software TestingYogindernath Gupta
 
Software Development Life Cycle - SDLC
Software Development Life Cycle - SDLCSoftware Development Life Cycle - SDLC
Software Development Life Cycle - SDLCYogindernath Gupta
 
A Practical Roadmap To HP QTP Certification
A Practical Roadmap To HP QTP CertificationA Practical Roadmap To HP QTP Certification
A Practical Roadmap To HP QTP CertificationYogindernath Gupta
 
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFT
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFTUnearthing The Power Of IBM – Rational Functional Tester 7.0 - RFT
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFTYogindernath Gupta
 
Qtp Tutorial 6 How To Save Summary File In Qtp
Qtp Tutorial 6   How To Save Summary File In QtpQtp Tutorial 6   How To Save Summary File In Qtp
Qtp Tutorial 6 How To Save Summary File In QtpYogindernath Gupta
 
Qtp Tutorial 5 Passing Parameters Between Actions
Qtp Tutorial 5   Passing Parameters Between ActionsQtp Tutorial 5   Passing Parameters Between Actions
Qtp Tutorial 5 Passing Parameters Between ActionsYogindernath Gupta
 

More from Yogindernath Gupta (18)

Learn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation ExamLearn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation Exam
 
ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5
 
ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
ISTQB Advanced Study Guide - 5
ISTQB Advanced Study Guide - 5ISTQB Advanced Study Guide - 5
ISTQB Advanced Study Guide - 5
 
ISTQB Advanced Study Guide - 4
ISTQB Advanced Study Guide - 4ISTQB Advanced Study Guide - 4
ISTQB Advanced Study Guide - 4
 
ISTQB Advanced Study Guide - 3
ISTQB Advanced Study Guide - 3ISTQB Advanced Study Guide - 3
ISTQB Advanced Study Guide - 3
 
ISTQB Advanced – Study Guide -1
ISTQB Advanced – Study Guide -1ISTQB Advanced – Study Guide -1
ISTQB Advanced – Study Guide -1
 
Knowledge Levels In Certifications
Knowledge Levels In CertificationsKnowledge Levels In Certifications
Knowledge Levels In Certifications
 
Design Review & Software Testing
Design Review & Software TestingDesign Review & Software Testing
Design Review & Software Testing
 
Software Development Life Cycle - SDLC
Software Development Life Cycle - SDLCSoftware Development Life Cycle - SDLC
Software Development Life Cycle - SDLC
 
A Practical Roadmap To HP QTP Certification
A Practical Roadmap To HP QTP CertificationA Practical Roadmap To HP QTP Certification
A Practical Roadmap To HP QTP Certification
 
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFT
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFTUnearthing The Power Of IBM – Rational Functional Tester 7.0 - RFT
Unearthing The Power Of IBM – Rational Functional Tester 7.0 - RFT
 
Qtp Tutorial 6 How To Save Summary File In Qtp
Qtp Tutorial 6   How To Save Summary File In QtpQtp Tutorial 6   How To Save Summary File In Qtp
Qtp Tutorial 6 How To Save Summary File In Qtp
 
Qtp Tutorial 5 Passing Parameters Between Actions
Qtp Tutorial 5   Passing Parameters Between ActionsQtp Tutorial 5   Passing Parameters Between Actions
Qtp Tutorial 5 Passing Parameters Between Actions
 

Recently uploaded

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Recently uploaded (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

RFT Tutorial 11 How To Data Drive A Test Script Using Ibm – Rational Functional Tester RFT

  • 1. Tutorial - 11 How to Data Drive a Test Script using IBM – Rational Functional Tester - RFT This short tutorial presents a simple method of data driving IBM - RFT Test Script Steps for data driving a script are as under: Step – 1: Creation of a Project: Project is the first & foremost workbench required to store the test assets which are needed for testing any application. Step – 2: Beginning of the test script recording: Involves two steps like: a) Choice of Datapool record selection order: While playing back, the test script accesses various records in the datapool either sequentially or randomly. Thus choice out of these two options is done from the “Datapool Record Selection Order” box from the Select Script Assets dialog box. # Sequential order: Records are accessed by the test script in a sequential order as they appear in the Datapool. # Random order: Every record gets accessed by the test script randomly once from the Datapool. b) Finish the selections: Click “Finish” to minimize the Functional Tester window and launching the Recording Monitor. Step – 3: Navigation across the application to a point desired to be data driven: # Click “Start Application” on the Recording toolbar. # Now do necessary actions across the application as desired to be recorded in the test script. Step – 4: Data Driving the test: a) Opening of the Insert Data Driven Actions page after halting the recording of the test script. To do this; click “Insert Data Driven Commands” on the “Recording” toolbar, b) Key in the initial values which are desired to be seen in the Datapool in the fields required to be data driven in our application under test. While recording is halted, we avoid recording of unwanted actions in the test script by populating such fields. Step – 5: Selecting the test objects: Under “Populate then Select Test Objects” select the test objects through either of the two methods: Method –1: “Press and drag hand to select test objects” is used to select an object and all the descendents of the selected object. This is the most common and direct method of selecting an object. Method –2: For opening the Select Object to Data Drive page, “Use selection wizard to select test objects”. To do this click on the “Drag Hand Selection” method with its options, alternatively click on the “Test Object Browser” method.
  • 2. Step – 6: In case we had opted for method –1 under Step – 5 above i.e. “Press and drag hand to select test objects” a) Use the mouse to drag the hand shaped, “Object Finder tool”, to the object in the application which is desired to be selected. RFT automatically outlines this object with a red border. b) Now release the mouse button. The Data Drive Actions page shall open now. The information about the objects selected by us appears under the DataDriven Commands table. For viewing the line of the code inserted by RFT in our test script, we need to place the mouse pointer over a row in this table for data-driving our application. Step – 7: In case we had opted for method –2 under Step – 5 above i.e. “Use selection wizard to select test objects”, click on “Selection method” arrow for making a selection out of either of the further two methods: Method –A: “Drag Hand Selection” method is used to include only the selected object, the selected object and the immediate children of the selected object, or to include the selected object and all descendents of the selected object. Method –B: “Test Object Browser” method is used to browse for the object desired to be selected. Step – 8: In case we had opted for method –A under Step – 7 above i.e. “Drag Hand Selection” method a) Select or clear the option “After selecting an object advance to the next page”. b) Use the mouse to drag the hand shaped Object Finder tool, to the object desired to be selected in the application. RFT automatically outlines this object with a red border. c) Release the mouse button. d) Click on “Next” if we opt for not selecting the option “After selecting an object advance to next page”. e) Click on one of the following options: # “Just the selected object” # “Include the immediate children of the selected object” # “Include all descendents of the selected object” Step – 9: In case we had opted for method –B under Step – 7 above i.e. “Test Object Browser” method a) Browse the object tree to find the object required to be data-driven. b) Click on the part of the tree required to be selected. Then Click “Next”. c) Click on one of the following options. # “Just the selected object” # “Include the immediate children of the selected object”
  • 3. # “Include all descendents of the selected object” d) Click “Finish”. The Insert Data Driven Actions page opens & presents all the information filled in under “Data Driven Commands” and “Selected Command Description”. Step – 10: Click “OK” to finish the data-driving process for the script. This closes the “Insert Data Driven Actions” page and RFT presents a Datapool containing all the data gathered from the application. Step – 11: Perform all other actions in the application, which we want to record. The actions can be like: Recording a verification point or inserting desired script support functions into the script such as such as a call script command, log entry, timer, script delay command, or comment etc. Step – 12: Close the application, if we want closing of the application to be part of the script. Step – 13: Click on “Stop Recording” on the “Recording” toolbar, to append all the recorded Information to the test script and update the Datapool with new variables and associated initial values. RFT window opens and the recorded script gets displayed in the editor window. Tutorial by : http://www.softwaretestinggenius.com