Академический Документы
Профессиональный Документы
Культура Документы
html
Q. 1: When you set break points, why does the script not stop at the break points and switch over
to the debug perspective?
A. This is a known eclipse bug in version 6.1 and has been corrected in the latest release or last interim
fix
B. The break point has already been recognized by the JVM and the break point needs to be toggled
C. Either the icon or debug functional tester script was not invoked or the shift + F11 menu option was not
invoked
D. The debug perspective is not listed as an available perspective when trying to debug a script
Q. 2: What should the tester do to open the comparator in an HTML log after the test has been
played back?
Q. 4: 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
Q. 5: What is one way to insert data-driven commands into the test script?
Q. 6: Which three statements are true about HelperSuper classes? (Choose three.)
What are two valid methods one can call with a ProcessTestObject?
(Choose two.)
A. pid.duplicate()
B. pid.kill()
C. OK(pid).click()
D. pid.find(atDescendant("value", "OK"))
E. pid.getObjects();
Q. 8: What is the effect the Clear State on Close setting in the Object Map interface when you exit
the object map?
A. All new test objects will be accepted by removing the "New" designation from the test object.
B. All new test objects will be accepted by changing the New designation to Accepted for the test object.
D. All test objects that have not been accepted will continue to have a designation of "New."
Q. 9: How many default Java environments can you have within one configuration of Rational
Functional Tester?
Question Correct
No. Answer
Q. 1 C
Q. 2 B
Q. 3 D
Q. 4 B
Q. 5 A
Q. 6 A,C,D
Q. 7 A,D
Q. 8 A
Q. 9 D
Q. 10 B
Which of the following are valid Functional Tester script class inheritance hierarchies?
(Choose two.)
Q. 13: What must you do before editing the datapool using an external application?
Q. 14: Which Java method advances the datapool cursor to the next row in the datapool?
A. dpMoveNext()
B. dpMoveCursor()
C. dpNext()
D. dpNextRow()
Q. 15: A script needs to perform an action on an object. One of the recognition properties of the
object is the .url property. The URL is dynamic. At recording time, the URL was http://www-
3.ibm.com.
However, it can vary every time the script is played back. In particular, the portion of the .url
property that is subject to change is the digits that appears after the dash.
Which regular expression will match the value of the .url property regardless of the numer of digits
between the - and the .?
Note: The regular expression should NOT match the .url property if no digits appear after the dash (as in
www-.ibm.com).
A. www-*\.ibm\.com
B. www-{num}?\.ibm\.com
C. www-{num}+\.ibm\.com
D. www-[0-9]*\.ibm\.com
E. www-[0-9]\.ibm\.com
Q. 17: Which branches under Preferences contain specific settings to enable the ClearCase
integration?
Q. 18: If a test fails because the tester has updated the test data, what should the tester do to
prevent continued failures?
Q. 19: 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.
Questio Correct
n No. Answer
Q. 11 D
Q. 12 A,D
Q. 13 C
Q. 14 C
Q. 15 C
Q. 16 D
Q. 17 C
Q. 18 B
Q. 19 D
Q. 20 A
Q. 21: 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
Q. 23: What will the following CallScript do? CallScript (myScript, null, DP_ALL)
OK().waitForExistence();
Assuming that no changes have been made to the Functional Tester default playback settings, which two
statements will cause Functional Tester to wait for 60 seconds for the OK button to appear? (Choose
two.)
A. setOption(IOptionName.MAXIMUM_FIND_OBJECT_TIME, 60.0)
B. setOption(IOptionName.MAXIMUM_WAIT_FOR_EXISTENCE, 60.0)
C. setOption(IOptionName.TIME_MULTIPLIER, .5)
D. setOption(IOptionName.TIME_MULTIPLIER, 2.0)
Q. 25: What are the default values for retry interval and maximum retry time?
Q. 26: Where do you set the option for switching to Test Debug perspective when debugging?
Q. 27: The tester resets their test environment and sets the playback environment. What is the
tester ready to do?
Q. 28: In which situation is it best to use the Browser Enablement Diagnostic tool?
A. When the web browser does not launch when invoked through Functional Tester
B. When testers are trying to determine if their web browsers are compatible with Functional Tester
C. When Functional Tester is in the recording process and no HTML objects are being recognized
D. When Functional Tester is not able to launch the viewlet comparator on the HTML log
Q. 29: Out of the box, what are the different options for logging RFT tests?
Question Correct
No. Answer
Q. 21 B
Q. 22 D
Q. 23 B
Q. 24 B,C
Q. 25 A
Q. 26 A
Q. 27 D
Q. 28 C
Q. 29 B
Q. 30 C
Q. 31: Which three methods write to the RFT log? (Choose three.)
A. logError()
B. logDefect()
C. logInfo()
D. logWarning()
E. logSuccess()
Q. 32: What should the tester view to discover the current script action being executed?
A. Playback monitor
B. The execution window
C. The test script
D. The application under test
<<<<<< =================== >>>>>>
Q. 33: 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
How will RFT behave at runtime if the recognition score of a found object is 10000?
A. It will accept the found object after waiting for 20 seconds for an object with better recognition and write
an Ambiguous Recognition Warning to the log.
B. It will accept the found object after waiting for 20 seconds for an object with better recognition and write
nothing to the log.
C. It will accept the found object immediately and write an Ambiguous Recognition Warning to the log.
D. It will accept the found object immediately and write nothing to the log.
F. It will throw an ObjectNotFoundException after waiting for 20 seconds for an object with better
recognition and write an Ambiguous Recognition Failure to the log.
Q. 36: 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
Q. 37: What is the best practice when changing object maps that are already assigned to
Functional Test projects?
A. Highlight the project in the Functional Test projects, right-click, select Properties > Functional Test
project and browse to the new object map
B. Record a new script, select the new Functional Test project, click next and browse to the new test
object map
C. Modify the XML file, configurations.rftcfg, locate the object map section, enter the proper object and
save the XML file
D. Right-click the test object map in the script explorer, choose the Open option and make necessary
changes
Q. 38: The two phases of playing back a script are script development and _____.
A. Unit testing
B. Manual verification
C. Reviewing results
D. Regression testing
Q. 39: Functional Tester allows you to import an external datapool from which of the following ?
(Choose three.)
Q. 40: 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).
C. It is used to highlight the test object (to verify it is found in the application)
Question Correct
No. Answer
Q. 31 A,C,D
Q. 32 A
Q. 33 C
Q. 34 D
Q. 35 B
Q. 36 C
Q. 37 A
Q. 38 D
Q. 39 A,B,C
Q. 40 C
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
<<<<<< =================== >>>>>>
Q. 42: What is the minimum weight that can be assigned to a recognition property?
Q. 43: You cannot access help file from Rational Functional Tester. You receive an error or the
page loads slowly. How can this be fixed?
A. Talk to the LAN Administrator to see if there is a problem with the corporate network or if the ISP is
having performance issues
B. In Network properties, change the IP configuration to static IP and provide a valid IP address, which
can be obtained from the LAN Administrator
C. In the Network Advanced settings for proxies, remove "127.0.0.1; localhost" from the Exceptions if
these addresses are listed
D. If your host was configured to use DHCP for IP assignment, make sure that the "Automatically detect
settings" checkbox is cleared
Q. 44: When you enable web browsers, what is the best way to select the Linux or UNIX web
browser?
A. You use the Search button, choose Search All, select the executable, and provide all the needed
parameters.
C. Modify the Internet Explorer settings to refer to a Linux or Unix web browser
D. You use the Search button, choose Search In, browse to the executable, and provide all the needed
parameters
A. The two strings are the same, and a pass would be generated in the log
B. The two strings are different, and a fail would be generated in the log
D. This will compile but the parameters are mixed up, and a fail would be recorded in the log. The correct
syntax is: vpManual ("The rain in Spain", "The Rain in Spain", "manual1").performTest();
Q. 46: What will the following CallScript do? CallScript (myScript, null, DP_ALL)
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
Q. 48: Which three actions are possible with RFT? (Choose three.)
Q. 49: Functional Tester allows you to import an external datapool from which of the following ?
(Choose three.)
Q. 50: 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
Question Correct
No. Answer
Q. 41 D
Q. 42 B
Q. 43 D
Q. 44 D
Q. 45 B
Q. 46 B
Q. 47 B
Q. 48 A,B,C
Q. 49 A,B,C
Q. 50 D
Q. 51: Given the following code snippet in which Customers() represents an HTML table from
which data needs to be extracted:
Customers().getTestData("contents");
A. ITestDataTable
B. String
C. TableData
D. TestData
A script needs to perform an action on an HTML List object. Figure - 1 shows the recognition properties of
the list object. Figure - 2 shows the recognition properties of the HTML document.
What will be the score of the found test object at runtime if the .text and .id recognition properties in the
list object are different and the .url property of the HTML Document object?
Figure - 1
Figure - 2
A. 1000
B. 1400
C. 10000
D. 14000
Q. 53: What should the tester open to view Test Objects, Main Data Area and Recognition Data?
Q. 54: How do you add line numbers within the script editors view?
A. Use a third party plug-in because this option is not available within the tools interface
C. Select the option under the main menu > Window > Preferences > Debug
D. Select the option under the main menu > Window > Preferences > Editor
Q. 55: 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)
Questio Correct
n No. Answer
Q. 51 A
Q. 52 D
Q. 53 B
Q. 54 D
Q. 55 A
Q. 56 C