QuestionQ118

Debugging

Given the following code snippet, where is LoanRate defined?

Question Image

  • A In the Object Repository, under the LoanResults screen.
  • B In the Object Repository, under the LoanResults application.
  • C In the UiAutomation class that contains a setter for LoanRate.
  • D In the LoanResults class that contains a setter for LoanRate.
Explanation

LoanRate is a UI object in the Object Repository beneath the LoanResults screen. The descriptor path nests it as UiBank.LoanResults.LoanRate, where UiBank is the application and LoanResults is the screen.

Community Discussion

No comments yet. Be the first to start the discussion!