software testing genius

IBM RFT Interview Questions-Q 71 to 80

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

IBM RFT Interview Questions: Q. 71 to 80

Q. 71: What is the use of Test Object Maps in RFT?

Test object map describes the test objects in the application under test. It is a static view which describes test objects known to RFT in the application under test.

The test object map contains objects from multiple applications. It provides a quick way to add test objects to a script. Because the test object map contains recognition properties for each object, we can update the information in one location. Any scripts which reference that test object map share the updated information.

When we record a script, RFT creates a test object map (or uses an existing shared map) for the application under test. Each script is associated with a test object map file. The map file can be private, associated with only the script (*.rftxmap), or shared between scripts (*.rftmap). We can merge multiple private or shared test object maps into a single shared test object map.

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

color=#000080 size=2>

Q. 72: Can we merge multiple object maps into a single map in RFT?

We can use the "Merge Test Objects into" feature of RFt in its Test Object Map page to merge multiple private or shared test object maps into a single map.

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

Q. 73: What functions are available while using shared object maps in RFT?

Following four functions are available while using shared object maps

1) Checking out: When we check out a script which references a shared test object map, the map is checked out with the script.

2) Recording: When recording a script which uses a shared test object map, RFT checks out the shared map. If we record two scripts that share a test object map, check in one of the scripts, and record into the second script, RFT checks out the shared map.

3) Checking in: When we check in a script which references a shared test object map, RFT merges and checks in the shared map before merging and checking in the remainder of the script. When we cancel a checkin that requires a shared or a private test object map merge, RFT behaves differently at various stages of the procedure.

4) Canceling a Checkout: If we cancel a checkout of a script that references a shared test object map, RFT cancels the checkout of the map only if no other scripts have checked out the map. We will not lose edits from other scripts if we cancel the checkout.

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

Q. 74: Which files don't get merged while merging branches of scripts?

RFT automatically merges all files except the following:

1) script java file for Functional Tester - Java Scripting

2) scriptname.vb file for Functional Tester - VB.NET Scripting

3) Test datapool files. The last datapool file we check in overrides the previous datapool file checked in by us.

Hence we should not check in any of the script files until all files are merged.

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

Q. 75: How do we add test objects to a script in RFT?

We can use the test object map to include an object in one or more scripts.

As part of the procedure, RFT displays a list of possible methods for the object and we can choose the one we want to use for the test object.

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

Q. 76: What is the process of adding descriptions to test objects?

We can feed the descriptive text about an object which RFT adds to the Administrative property set tab for the object. RFT displays the description when we place the cursor over the object name in a script.

RFT stores the description in the helper class. The description is not inserted until the helper class file is regenerated, which occurs when we record, playback, or update recognition properties.

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

Q. 77: How do we unify two test objects in RFT?

If an object in the application under test changes, a test object map may have two map objects describing the same object. We can combine these objects into a single map object. When we unify the two objects, RFT updates the scripts.

We can modify recognition information for an outdated object by including the new, similar object in the test object map. After we add the newer object to the test object map, we can combine the outdated object or the source object with the newer object i.e. the target object and unify their test object properties.

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

Q. 78: How do we manage the renaming of various assets in RFT?

In RFT we can rename the following assets:

1) RFT script: When we rename a script, RFT renames all its related files, like the helper script files, the private object map, and any verification point files.

2) Test object map: When we rename a test object map, RFT updates associated scripts with the new name.

3) All other files in the project.

Hence care needs to be taken while changing all callScript commands in scripts which reference the old script name; otherwise, RFT will log an error when these scripts shall be run.

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

Q. 79: What can be the possible reasons of error indicating that RFT could not find the object?

RFT can not find an object and displays an error message, due to the following reasons:

1) The application may not running or enabled.

2) The environment may not enabled.

3) The test object may not be visible.

4) The recognition properties for the test object may no longer reflect the test object in the application.

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

Q. 80: What are the ways to search objects in a test object map?

We can search the test objects in a test object map, by using a property or a value.

We can search the test objects in a test object map in following two ways. RFT searches the test object map for objects which match the search criterion and highlights the first occurrence.

1) Quick Find method: Enables us to search for a test object based on the property or value that we enter.

2) Find by Filters method: Enables us to create and save find criteria to search for a test object.

Continue to Next Part : Q 81 to 90

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 :


# 1 Mano on 2011-10-10 07:36:33
In RFT object map i added one object additionaly after recoring then i wrote script for that in java file .Finally i run that script but it shows com.rft.test.objectNotInMapException. newly added object not found in the objecmap error. but i can see the object in the object map

Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri