Q1. Given the following settings: Maximum acceptable recognition score 10000 Last chance recognition score 20000 Warn if accepted score is greater than 10000 Maximum time to attempt to find Test Object 20. 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.
E. It will immediately throw an ObjectNotFoundException
and write an Ambiguous Recognition Failure 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.
Ans: D
Q2. 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
Ans: B
Q3. 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
Ans: B
Q4. 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}\.
Ans: D
Q5. 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
Ans: A
Q6. 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
Ans: D
Q7. 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
Ans: C
Q8. 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
Ans: C
Q9. Given the following manual verification point: vpManual ("manual1", "The rain in
Spain", "The Rain in Spain").performTest(); What are the results?
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
C. The syntax is incorrect, so this would not compile
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();
Ans: B
No comments :
Post a Comment