software testing genius

Tutorial-2 How do we use an anchor to locate a particular object using RFT

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

Tutorial-2 How do we use an anchor to locate a particular object using RFT

A suggestion of great value:

Before practicing these Tutorials on "Rational Functional Tester - IBM RFT", it is recommended that you acquire a preliminary working knowledge of using this wonderful tool - "Rational Functional Tester". This can be easily attained by careful study of the "Frequently Asked Questions – FAQ’s" brought to you by this web site for the first time by Clicking on the following link:

Learn the Basics of RFT through FAQ's

<<<<<<<< =========== >>>>>>>>

This short tutorial describes a method of using an anchor to locate a particular object in RFT.

Use of an anchor is useful in pin

pointing a test object, which normally RFT finds it difficult to differentiate between two similar objects during playback.

This happens usually when two browsers or instances of the same application are open simultaneously. We can identify the browser and the instances of the application by using a TestObject reference.

Running more than one instance of an application simultaneously during playback will result in ambiguity about the target of commands like object() or click().

To solve this problem, we can use "ProcessTestObject" when we call the "startApp" command as described below.

ProcessTestObject pto1 = startApp("ApplicationOne");

ProcessTestObject pto2 = startApp("ApplicationTwo");

object(pto1, DEFAULT).click();

In the above example, the "ProcessTestObject" functions as an anchor to locate the desired application.

Many More Tutorials on IBM RFT

Study Material - HP QTP & QC Certification Exam

Study Material - HP LoadRunner Certification Exam

Study Material - IBM RFT Certification Exam

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.

Full Study Material for Popular Certification Exams:

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam

ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download

Study Material - ISTQB Certification Exam

Consolidated Study Material - Testing & QA

Most Popular Topics in Demand:

Practical Roadmap to QTP Certification

Practical Roadmap to CSTE Certification

General HR Interview Questions Common For All 

Tricky HR Interview Questions Common For All

Rehearsal of QTP in 1 Hr. -  Interview Questions


Comments :


Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri