You are on page 1of 5

IBM Rational Functional Tester for Java

1. If you want to start testing how do you start the application?


A. Go to Windows -> Start menu -> Run and write application name.
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.

2. The recording monitor_________, while recording a script?


A. Appears at conclusion of recording
B. Is only displayed on the toolbar
C. Displays a message for each action
D. Does not appear

3. What can be tested when recording a verification point?


A. An object data only
B. An objects data and properties only
C. Whether or not the object is working
D. An objects data, properties, or existence

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 method, the scripting method, or the pointer method

5. 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

6 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

7 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#

8 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

9 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

10 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

11 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

12 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

13 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.

14 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

15. If you want to insert image verification in a test how do you perform it?
A. Install the Image Comparator for Rational Functional Tester
B. Select the Perform Properties Verification Point from the Verification
Point and Action Wizard,
C. Download and install the RFT Enhancement Pack plug-in from IBM
Rational Support
D. Select Perform Image Verification Point from the Verification Point and
Action Wizard
16. 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

17. To open the comparator in an HTML log after the test has been played back
what should the tester do?
A. select View > Failures from the menu
B. Click on the Comparator button on the toolbar
C. nothing, because the comparator open automatically
D. Click the View Results link in the test log

18. To discover the current script action being executed what should the tester
view?
A. The recording window
B. Playback monitor
C. The test log file
D. The application under test

19. The two phases of playing back a script are script development and _____.
A. Execute testing
B. Inserting verification points
C. reviewing results log file
D. regression testing

20. The tester resets their test environment and sets the playback environment.
What is the tester ready to do?
A. Insert recording into script
B. Set object properties
C. Play back the script
D. Start recording

21. If a test fails because the tester has updated the test data, what should the
tester do to prevent continued failures?
A. Re-record the test
B. Use the comparator and update the baseline data
C. nothing, because the test is supposed to fail
D. change the test data

22. Which three methods write to the RFT log? (Choose three.)
A. logError()
B. logDefect()
C. logInfo()
D. logWarning()
E. logSuccess()

23. Which statement is true about Functional Tester scripts and datapools?
A. All scripts are associated with either a private or shared datapool,
and a script cannot exist without a datapool.
B. There are three types of datapools: private, shared and global
C. The datapool associated with a script cannot be changed once the
association has been made.
D. A datapool can be created while in recording mode

24. Which Java method advances the datapool cursor to the next row in the
datapool?
A. dpMoveNext()
B. dpMoveCursor()
C. dpNext()
D. dpNextRow()

25. Which three statements are true about HelperSuper classes? (Choose three.)
A. Scripts can share Helper Superclasses.
B. Scripts cannot share Helper Superclasses.
C. Scripts can inherit from multiple Helper Superclasses.
D. Scripts can inherit from a Helper Superclass that resides in a
.jar file.

26. Which feature is NOT offered by the Object Map interface?


A. The ability to delete test objects that are not referenced by any scripts
B. The ability to delete scripts that do not reference any test objects
in the object map
C. The ability to find all test objects not referenced by scripts
D. The ability to merge two test objects

27. What is the minimum weight that can be assigned to a recognition property?
A. no value (leave blank)
B. 0
C. 1
D. 10
E. 100

28. Which regular expression offers a successful way to ensure the order number
is a 1 to 3-digit number in the following format? Your order number is 125.
A. Your order number is [0-9]{3}.
B. Your order number is [0-9]{3}\.
C. Your order number is [0-9]{1,3).
D. Your order number is [0-9]{1,3)\.

29. What are the default values for retry interval and maximum retry time?
A. 2 second retry interval, 20 seconds maximum retry time
B. 5 second retry interval, 30 seconds maximum retry time
C. 1 second retry interval, 5 seconds maximum retry time
D. 3 second retry interval, 15 seconds maximum retry time

30. Which objects can be tested with a State verification point?


A. A combo box and a list box
B. A label and a text box
C. A table and a tree view
D. A checkbox and a toggle button

31. What is an appropriate use of the command Test Object > Highlight when
working with verification points?
A. It is used to highlight the test object at playback (to identify what is being
tested).
B. It is used to create a new verification point in the current script
C. It is used to highlight the test object (to verify it is found in the
application)
D. It is used to identify all objects in an application which can be tested

32. Which statement is true about the "Time Delayed" method when you are
creating verification points in your scripts?
A. It introduces a fixed delay after a previous action before the verification
point is tested
B. It allows a verification point to keep trying until the time specified has
elapsed
C. It gives the tester time to reveal pop-up objects (such as menus) during
the creation of a verification point.
D. It gives the tester the opportunity to specify a delay after a verification
point fails

33. What is the best way to select the Linux or UNIX web browser? When you
enable web browsers.
A. You use the Search button, choose Search In, browse to the executable,
and provide all the needed parameters
B. Modify the registry to enable Linux or Unix web browser support
C. Modify the Internet Explorer settings to refer to a Linux or Unix web
browser
D. You use the Search button, choose Search All, select the executable, and
provide all the needed parameters.

34. Where do you set the option for switching to Test Debug perspective when
debugging?
A. Preferences > Functional Test > Workbench >Advanced
B. Preferences > Java > Debug
C. Preferences > Run/Debug > Console
D. Preferences > Test

35. Within the script editor’s view, how do you add line numbers?
A. use a third party plug-in because this option is not available within the
tools interface
B. download the latest version of the plug-in
C. select the option under the main menu > Window > Preferences > Editor
D. select the option under the main menu > Window > Preferences > Debug

36. Within one configuration of Rational Functional Tester, how many default Java
environments can you have?
A. one for each instance of the application under test
B. As many default Java environments as are needed to do testing
C. More then one
D. only one

You might also like