RFT certification (IBM 000-842)Sample Questions

                                        "DUMPS QUESTION FOR RFT JAVA"
                 HERE IS SOME QUESTION OF IBM RFT CERTIFICATION EXAM.
Question: 1


How do you start the application under test?

A - use the Windows Start menu

B - simply begin recording

C - open a command line and start the application by typing its name

D - click the Start Application button on the recording toolbar

Answer: D



Question: 2

What can be tested when recording a verification point?

A - an objects data only

B - an objects data or properties only

C - whether or not the object is working

D - an objects data, properties, or existence

Answer: D



Question: 3

While recording a script, the recording monitor _____.

A - appears at the conclusion of recording

B - is only displayed on the toolbar

C - does not appear

D - displays a message for each action

Answer: D



Question: 4

What can you use to select an object as a verification point?

A - the object finder, the object picker, or the object browser

B - the main object browser, the test object browser, or the extra object browser

C - the object finder, the test object browser, or the delay method

D - the delay method1 the scripting method, or the pointer method

Answer: C



Question: 5

How do you stop recording?

A - click the Stop Recording button on the recording toolbar

B - end the application under test

C - close RFT

D - close the recording monitor

Answer: A



Question: 6

A recording is started by:

A - Entering script_record on the command line

B - creating a script and then pressing the record button in the RFT application

C - starting the application under test

D - Starting RFT

Answer: B



Question: 7

What must you do to view a comparator of a failed verification point from an RFT text log?

A - open a web browser and browse to open the file: \

\\.rftvd for the verification point you want to view

B - right-click on the test log and select Failed Verification Points from the right-click menu, then


select the verification point you want to view

C - open the test log, right-click on the verification point line you want to view and select View

Results from the right-click menu

D - log results in another format since you cannot open a comparator from a text log

Answer: B

Question: 8

Given an existing TestManager Rational Test project, what are the steps to log results to

TestManager?

A - from TestManager, create a new Test Script Type for RFT, then from RFT, select the

Functional Test logging preferences to TestManager

B - from RFT, select the Functional Test logging preferences to TestManager, then select the

TestManager project when you run an RFT test

C - from RFT, associate the Rational Test Project with the RFT project, then select the Functional


Test logging preferences to TestManager

D - from the Rational Administrator, associate the RFT project to the Rational Test Project, then

from RFT, select the Functional Test logging preferences to TestManager

Answer: C

Question: 9

Out of the box, what are the different options for logging RFT tests?

A - HTML, text, custom, TestManager, and none

B - HTML, text, TPTP, TestManager, and none

C - TestManager, CQTM, TPTP, HTML, and none

D - HTML, PDF, text, TestManager, and none

Answer: B

Question: 10

Not including TestManager or custom logging, how can you organize RFT test results?

A - define and follow a naming convention for all test logs

B - define and follow a naming convention for all logs and log subfolders

C - create as many folders in the *_logs project as needed and drag logs into the appropriate

folders

D - create additional log projects which are associated with the primary RFT project, (for example,

_acceptance_logs)

Answer: A

Question: 11

How do you perform image verification in a test?

A - select Perform Image Verification Point from the Verification Point and Action Wizard

B - select the Perform Properties Verification Point from the Verification Point and Action Wizard,

then select only the .src or other property for the image

C - download and install the RFT Enhancement Pack plug-in from IBM Rational Support

D - download and install the Image Comparator for Rational Functional Tester 2003.06 utility from


developerWorks

Answer: D

Question: 12

What should the tester open to view Test Objects, Main Data Area and Recognition Data?

A - the test script

B - the test comparator

C - the object map

D - the log viewer

Answer: B



Question: 13

Which three actions are possible with RFT? (Choose three.)

A - use a wizard to substitute literals with datapool variables


B - substitute literals in verification points with datapool variables


C - create a datapool while recording a data-driven script

D - create scripts in c#

Answer: A, B, C



Question: 14

You must _____ a script with a datapool before substituting literal values in the script with

references to datapool variables.

A - share

B - associate

C - run

D - disassociate

Answer: B

Question: 15

When is the best time to use data-driven testing?

A - when the test only needs to be run once

B - when the test steps change based on the test input data

C - when the test must be run multiple times with different data

D - when the test requires a lot of manual data entry

Answer: C

Question: 16

Functional Tester allows you to import an external datapool from which of the following? (Choose

three.)

A - an external .csv file


B - another Functional Tester datapool


C - an existing TestManager datapool


D - an access (.mdb) file

Answer: A, B, C

Question: 17

What will the following CallScript do? CallScript (myScript, null, DP_ALL)

A - cause the script to run an infinite number of times

B - cause the script to iterate through the entire datapool

C - cause the script to run through 100 datapool values

D - cause myScript to always pass

Answer: B

Question: 18

What is one way to insert data-driven commands into the test script?

A - use the Insert Data Driven Commands button while recording

B - use the Insert Data Driven Commands button while executing

C - the commands are generated automatically while importing the datapool

D - use the super helper class after recording

Answer: A

Question: 19

What must you do before editing the datapool using an external application?

A - make it a public datapool

B - make it a private datapool

C - export it to a .csv file

D - import it from a .csv file

Answer: C

Question: 20

Which statement is true about an RFT test datapool?

A - It is exclusive for only one test script.

B - It is a collection of related data records.

C - It is automatically generated during script record.

D - It is a collection of related test scripts.

Answer: B 

 HERE IS INFORMATION ABOUT HOW TO USE RFT SOFTWARE OR USERGUIDE.


Preface


Rational Functional Tester (RFT) is a tool for automated testing of software applications. It mimics

the actions and assessments of a human tester. To understand the value of Rational Functional

Tester, it is best to know some of the history of software testing.

Brief History of Software Testing

In the earliest days of computing, programs and their results were rigorously tested by hand.

Computing resources were so expensive and scarce that there was no margin for error on the part

of a programmer. Confirming that a program was correct required a great deal of manual effort.

As computing power became more readily available, the number of programs written and

the complexity of programs increased rapidly. The result was that manual testing could no longer

keep pace.

Furthermore, testing an application once is an interesting exercise, but testing that same

application repeatedly through multiple bug fix cycles is boring and error-prone. Plus, the time to

test applications in the early waterfall-style development lifecycle was limited (and was often cut

further when the development phase could not deliver on time), adding pressure on the tester,

which increased errors.

The only way to avoid these problems was to automate the testing effort. However, most

user interfaces were not created with an automation-friendly interface as a requirement. The earliest

UI automation testing tools were able to perform an action only at a coordinate-based location,

and derive text for verification from a coordinate-based rectangle, leading to highly fragile

automation code. This meant that applications could be tested automatically, but only if the application’s

UI did not change significantly. Unfortunately, application maintenance frequently

required both business logic changes and UI changes. This meant recreating many if not all tests

every time the application’s UI changed.

With the rise of object-oriented programming, user interfaces began to be constructed from

libraries of UI objects. These objects could accept actions in the form of method invocations, and

they could return properties including text, font, color, and so on. Automated testing tools

xiii.
 
 
IBM Rational Functional Tester


Rational Functional Tester was developed specifically to address these latest concerns of testers

and developers. Rational Functional Tester is available in two flavors: one built on the popular

open source Eclipse framework and the other built on the Microsoft Visual Studio framework,

putting testers and developers in the same Integrated Development Environment. Rational Functional

Tester uses either the Java programming language or VB.NET, providing access to a large

body of code made available on the Internet, giving testers a choice of industry-standard languages,

and allowing developers to code in a language that is already familiar to them.

Rational Functional Tester uses advanced, patented technology to find objects, and it provides

controls to the tester to permit flexible recognition and control over what happens when an

object is not found or only partially recognized. Rational Functional Tester includes advanced

object recognition and advanced verification features based on a pattern-matching mechanism.

The combination of modern Integrated Development Environments (IDEs) and programming

languages means that Rational Functional Tester is easily extended to support automation

of not only ERP environments, but other environments, too. In many cases, these extensions can

be performed by the tester directly.

With all of these capabilities, Rational Functional Tester makes test automation an activity

that delivers significant return on its investment. Large regression test suites can be created with

the assurance that they will provide high value via limited maintenance, common tooling, low




How to Use This Book


This book is a reference for both novice and advanced users. The initial chapters focus on the

basics of using Rational Functional Tester, whereas the latter chapters become more advanced.

Ideally, you will find that as your automation abilities mature, you will get more value from the

specialized content found deeper in the book.

Although you might find value in reading this book cover to cover, it was conceived for use

on a topic-by-topic basis. Many chapters are standalone; however, some are related and build on

each other. In addition, the initial chapters were crafted specifically for the novice Rational Functional

Tester user, whereas the latter chapters were written with the experienced user or power

user in mind. The following chapter list “calls out” these relationships.

Chapter 1, Overview of Rational Functional Tester—An introductory chapter for the

novice user that gives a broad overview of Rational Functional Tester and its basic features.

Chapter 2, Storyboard Testing—A description of the RFT Simple Scripting Visual

Editor, introduced in RFT 8.1, to open up RFT scripting to the nontechnical user and to

the novice user.

Chapter 3, General Script Enhancements—This chapter provides a grab-bag of

highly useful techniques ranging from basic data capture to script synchronization, to an

introduction to TestObjects. It is for the intermediate level user.

Chapter 4, XML and Rational Functional Tester—A tour of basic XML programming

in Rational Functional Tester to familiarize the reader with the XML libraries in

Rational Functional Tester for testing with XML and for dealing with Rational Functional

Tester’s own XML infrastructure. It is for the intermediate or advanced user.

Chapter 5, Managing Script Data—An in-depth chapter discussing Rational

Functional Tester Datapools, database access from Rational Functional Tester, and the

use of properties files, XML files, and flat files with Rational Functional Tester. It is for

the intermediate level user or the advanced level user.

Chapter 6, Debugging Scripts—Eclipse and Visual Studio have powerful, integrated

debuggers. As you build your scripts, the IDE debuggers can provide valuable information

for pinpointing the root cause of script problems. This chapter surveys the debugging
barrier to adoption, and adaptability for the future.
 
 
 
Introductions to Eclipse and to Visual Studio


If you are new to the Rational Functional Tester flavor that you are about to start using, you might

benefit from a general introduction to your Rational Functional Tester IDE. Because Eclipse and

Visual Studio are so prominent in the computing world, there is a wealth of resources of all different

types at all different levels. The following list includes a few introductory-level articles and

books, but this list is far from comprehensive. The following suggestions are just to get you

started; you are encouraged to pursue the vast range of information that is available.

Eclipse

What is Eclipse, and how do I use it?

www.ibm.com/developerworks/opensource/library/os-eclipse.html

Getting started with the Eclipse Platform.

www.ibm.com/developerworks/opensource/library/os-ecov/?Open&ca=daw-ec-dr

An introduction to Eclipse for Visual Studio users.

www.ibm.com/developerworks/opensource/library/os-eclipse-visualstudio/

?ca=dgr-lnxw01Eclipse-VS

Eclipse: Step by Step. Joe Pluta. Lewisville, TX: MC Press Online (2003).

Eclipse IDE Pocket Guide. Ed Burnette. Sebastopol, CA: O’Reilly (2005).

Visual Studio .NET

Introduction to Visual Studio .NET.

http://msdn.microsoft.com/en-us/library/ms973867.aspx
tools most useful for RFT script development. It is for the intermediate level user or the


advanced level user.

Chapter 7, Managing Script Execution—This chapter covers the different aspects of

controlling the execution flow in scripts. Topics include manipulating playback settings,

using conditional and looping logic to optimize script flow, handling errors that scripts

encounter, regression scripts, and executing outside of the Rational Functional Tester

environment. It is for the intermediate level user.

Chapter 8, Handling Unsupported Domain Objects—A discussion of the Rational

Functional Tester API for dealing with domains that are not supported by Rational Functional

Tester. It is for the advanced user.

Chapter 9, Advanced Rational Functional Tester Object Map Topics—A detailed

examination of the Rational Functional Tester Object Map features and underpinnings

for the advanced user. This chapter pairs with Chapter 10 to supply the background for

how TestObjects are handled by Rational Functional Tester.

Chapter 10, Advanced Scripting with Rational Functional Tester TestObjects—A

discussion of TestObjects, how they are used by the Object Map, how they can be

used without the Object Map, and how they can be used to manipulate unsupported controls.

It is for the advanced user.

Chapter 11, Testing Specialized Applications—An examination of specialized environments,

where Rational Functional Tester requires special setup or produces scripts

with notable characteristics. It covers scripting for terminal-based (mainframe) applications,

SAP, Siebel, and Adobe Flex. It is for the intermediate or advanced user.

Chapter 12, Extend Rational Functional Tester with External Libraries—This

chapter shows how to call a range of external libraries from Rational Functional Tester,

including log4j and log4net (to create custom logging solutions), JAWIN and Microsoft

Interop libraries (to create an Excel reporting utility), and PDFBox and IKVM.Net (to

test PDF files). It is for the advanced user.

Chapter 13, Building Support for New Objects with the Proxy SDK—A step-bystep

discussion of how to develop Rational Functional Tester support for third-party

Java or .NET controls with the Rational Functional Tester Proxy SDK. Chapter 10 provides

useful background. It is for the advanced user.

Chapter 14, Developing Scripts in the VB.NET Environment—Rational Functional

Tester historically is a creature of Eclipse and Java. More recently, it has entered the

world of Visual Studio and VB.NET. This chapter offers tips and tricks for using

Rational Functional Tester in the Visual Studio environment. It is for the intermediate to

advanced user.

Chapter 15, Using Rational Functional Tester in a Linux Environment—This chapter

describes the major similarities and differences between a Rational Functional Test.
 
BEST LUCK FOR YOUR CERTIFICATION EXAM.

3 comments: