IBM
C2140-842 · 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 cause Functional…
The correct answer is B. setOption(IOptionName.MAXIMUM_WAIT_FOR_EXISTENCE, 60.0) C. setOption(IOptionName.TIME_MULTIPLIER, .5). See the full explanation below for the reasoning.
Question
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 cause Functional Tester to wait for 60 seconds for the OK button to appear? (Choose two.)
Options
- AsetOption(IOptionName.MAXIMUM_FIND_OBJECT_TIME, 60.0)
- BsetOption(IOptionName.MAXIMUM_WAIT_FOR_EXISTENCE, 60.0)
- CsetOption(IOptionName.TIME_MULTIPLIER, .5)
- DsetOption(IOptionName.TIME_MULTIPLIER, 2.0)
How the community answered
(38 responses)- A16% (6)
- B76% (29)
- D8% (3)
Community Discussion
No community discussion yet for this question.