software testing genius

IBM RFT Interview Questions-Q 101 to 110

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

IBM RFT Interview Questions: Q. 101 to 110

Q. 101: What is Script helper superclass or base class?

Helper superclass or base class are optional, user defined classes which provide overriding support for

base level methods, especially the event handler methods in RFT.

For RFT - Java Scripting it is known as a helper superclass.

For RFT - VB.NET Scripting it is known as a base class.

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

Q. 102: Can we change the default script helper superclass?

Yes we can change the default script helper superclass for a Project as well as for an individual script.

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


Q. 103: Can we create our own script helper superclass in RFT?

Yes. RFT allows us to create our own helper superclass which can be used by RFT every time we create or record a script in our project.

Our own helper superclass can act as an extension for the RationalTestScript. We can thus add additional methods and can even override the methods from RationalTestScript.

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

Q. 104: What type of changes we can do in functional test scripts & how?

We can use application programming interface - API of RFt to make changes to the RFT scripts.

Changes of following nature can be done in recorded scripts by using RFT's API

1) Change a user action, like object().drag() to object().click().

2) Delete recorded commands.

3) Place an often repeated sequence of actions into a method.

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

Q. 105: Can we start a RFT script from within a script?

RFT scripts can contain methods which can invoke another test scripts.

We can create a RFT script which serves as a command file for a suite of scripts. This can be done by using the callScript method.

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

Q. 106: Why do we need to modify our script to access an object property?

Under following situations we may need to change our script for accessing an object property.

1) To compare previous versions of a value to the current value and to do so we would require a calculation like factoring in a depreciation rate.

2) Querying a property may return a reference to other objects. Hence we need to test the value of a property of the returned object.

3) To branch in our RFT script based on the current value of a property.

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

Q. 107: What is a bound reference for test objects?

When we call many methods directly on the same object, and RFT loses time to find the object each time a method was called on it. We use the TestObject.find method to find an object without RFT calling any methods on the object.

TestObject.find returns a new TestObject containing a different kind of reference to the object in the application under test. This reference is called a bound reference or a found reference or a non-mapped reference.

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

Q. 108: What type of references for test objects can be unregistered in RFT?

RFT unregisters bound references only and that too when the entire playback ends and not when the script ends.

As long as a bound reference to the object exists, RFT will prevent the object in the application from being entirely free.

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

Q. 109: What should be the best practice to unregister the test object references in RFT?

As a best practice we should unregister any bound references immediately after we feel that there is no need for them any more.

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

Q. 110: What type of verification points can we insert in our RFT script?

Two type of verification points i.e. Manual verification point & Dynamic verification point can be added by us in our test scripts after recording.

These verification points help us to specify data for comparison against an object, which is not found in the test object map.

Continue to Next Part : Q 111 to 120

Study Material - HP LoadRunner Certification Exams for All Modules

Study Material - HP QTP & QC Certification Exam

Study Material - IBM RFT Certification Exam

Study Material - ISTQB 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.

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to:

Full Study Material for Popular ISTQB 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

Most Popular Topics in Demand:

Practical Roadmap to QTP Certification

Practical Roadmap to CSTE Certification

Consolidated Study Material - Testing & QA

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