nerdexam
HP

HP0-M49 · Question #43

You add the logic lr_message("the message"); to your script but you do not see any messages in the Output window while running the scenario in the Controller. What should you do? HP HP0-M49 Exam

The correct answer is B. Change the logging options in the Controller's Run-time Settings from "only when an error occurs" to. See the full explanation below for the reasoning.

Question

You add the logic lr_message("the message"); to your script but you do not see any messages in the Output window while running the scenario in the Controller. What should you do? HP HP0-M49 Exam

Options

  • AAdd the code lr_start_messages(1); before the lr_message("the message");
  • BChange the logging options in the Controller's Run-time Settings from "only when an error occurs" to
  • CAdd the code lr_set_debug_message(LR_MSG_CLASS_EXTENDED_LOG | LR_MSG_CLASS_FULL_TRACE,
  • DHighlight the script in the Controller, click Details, and click Refresh Log Options.
  • EBecause only 10% of the messages are logged, wait for the test to run longer.

How the community answered

(33 responses)
  • A
    9% (3)
  • B
    82% (27)
  • C
    6% (2)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full HP0-M49 Practice