C2140-842 Exam Questions
53 real C2140-842 exam questions with expert-verified answers and explanations. Page 1 of 2.
- Question #1
When is the best time to use data-driven testing?
- Question #2
Functional Tester allows you to import an external datapool from which of the following? (Choose three.)
- Question #3
Out of the box, what are the different options for logging RFT tests?
- Question #4
Not including TestManager or custom logging, how can you organize RFT test results?
- Question #5
How do you perform image verification in a test?
- Question #7
What should the tester do to open the comparator in an HTML log after the test has been played back?
- Question #8
What is the effect the Clear State on Close setting in the Object Map interface when you exit the object map?
- Question #9
A script needs to perform an action on an HTML List object. Figure 6.1 shows the recognition properties of the list object. Figure 6.2 shows the recognition properties of the HTML...
- Question #10
Given the following settings: - Maximum acceptable recognition score10000 - Last chance recognition score20000 - Warn if accepted score is greater than10000 - Maximum time to attem...
- Question #11
Which feature is NOT offered by the Object Map interface?
- Question #12
What is the minimum weight that can be assigned to a recognition property?
- Question #13
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.
- Question #14
What are the default values for retry interval and maximum retry time?
- Question #15
Which objects can be tested with a State verification point?
- Question #16
What is an appropriate use of the command Test Object > Highlight when working with verification points?
- Question #17
Which statement is true about the "Time Delayed" method when you are creating verification points in your scripts?
- Question #18
Given the following manual verification point vpManual ("manual1", "The rain in Spain", "The Rain in Spain").performTest(); What are the results?
- Question #19
Which branches under Preferences contain specific settings to enable the ClearCase integration?
- Question #20
When you set break points, why does the script not stop at the break points and switch over to the debug perspective?
- Question #21
When you enable web browsers, what is the best way to select the Linux or UNIX web browser?
- Question #22
In which situation is it best to use the Browser Enablement Diagnostic tool?
- Question #23
You cannot access help file from Rational Functional Tester. You receive an error or the page loads slowly. How can this be fixed?
- Question #24
Where do you set the option for switching to Test Debug perspective when debugging?
- Question #25
How do you add line numbers within the script editors view?
- Question #26
How many default Java environments can you have within one configuration of Rational Functional Tester?
- Question #27
What is the best practice when changing object maps that are already assigned to Functional Test projects?
- Question #28
How do you start the application under test?
- Question #29
While recording a script, the recording monitor _____.
- Question #30
What can be tested when recording a verification point?
- Question #32
A recording is started by:
- Question #33
How do you stop recording?
- Question #34
Given the following code snippet: OK().waitForExistence(); Assuming that no changes have been made to the Functional Tester default playback settings, which two statements will cau...
- Question #35
Given the following: A script named BuyCD has been created. A Helper Superclass named HelperSuper1 has been created. A Helper Superclass named HelperSuper2 has been created. Which...
- Question #36
Given the following code snippet in which Customers() represents an HTML table from which data needs to be extracted: Customers().getTestData("contents"); What data type is returne...
- Question #37
Which statement is true about Functional Tester scripts and datapools?
- Question #38
What will the following CallScript do? CallScript (myScript, null, DP_ALL)
- Question #39
What is one way to insert data-driven commands into the test script?
- Question #40
What must you do before editing the datapool using an external application?
- Question #41
Which statement is true about an RFT test datapool?
- Question #42
What must you do to view a comparator of a failed verification point from an RFT text log?
- Question #43
Given an existing TestManager Rational Test project, what are the steps to log results to TestManager?
- Question #44
Which three actions are possible with RFT? (Choose three.)
- Question #45
You must _____ a script with a datapool before substituting literal values in the script with references to datapool variables.
- Question #46
Which three methods write to the RFT log? (Choose three.)
- Question #47
Given the following: ProcessTestObject pid = startApp("ClassicsJavaA"); What are two valid methods one can call with a ProcessTestObject? (Choose two.)
- Question #48
What should the tester view to discover the current script action being executed?
- Question #49
The two phases of playing back a script are script development and _____.
- Question #50
The tester resets their test environment and sets the playback environment. What is the tester ready to do?
- Question #51
If a test fails because the tester has updated the test data, what should the tester do to prevent continued failures?
- Question #52
Which Java method advances the datapool cursor to the next row in the datapool?