When is the best time to use data-driven testing?
A. when the test must be run multiple times with different data
B. when the test only needs to be run once
C. when the test requires a lot of manual data entry
D. when the test steps change based on the test input data
正解:A
質問 2:
How many default Java environments can you have within one configuration of Rational Functional Tester?
A. as many default Java environments as are needed to do testing
B. one for each instance of the application under test
C. You can change the java environments dynamically when testing different applications.
D. only one
正解:D
質問 3:
Which Java method advances the datapool cursor to the next row in the datapool?
A. dpNext()
B. dpMoveCursor()
C. dpMoveNext()
D. dpNextRow()
正解:A
質問 4:
You must _____ a script with a datapool before substituting literal values in the script with references to datapool variables.
A. disassociate
B. run
C. associate
D. share
正解:C
質問 5:
Which statement is true about the "Time Delayed" method when you are creating verification points in your scripts?
A. It gives the tester the opportunity to specify a delay after a verification point fails
B. It gives the tester time to reveal pop-up objects (such as menus) during the creation of a verification point
C. It introduces a fixed delay after a previous action before the verification point is tested
D. It allows a verification point to keep trying until the time specified has elapsed
正解:B