HP
HP0-M49 · Question #44
You are tasked with building a Web script. Upon replay, one URL sometimes throws a 404 error that results in the script execution stopping. You want to continue running the script when this 404…
The correct answer is C. lr_continue_on_error(1). See the full explanation below for the reasoning.
Question
You are tasked with building a Web script. Upon replay, one URL sometimes throws a 404 error that results in the script execution stopping. You want to continue running the script when this 404 occurs because it is not critical to the test. Which command allows you to ignore this failure and continue the script execution?
Options
- Alr_continue_on_failure(1);
- Blr_failure_continue(1);
- Clr_continue_on_error(1);
- Dlr_error_continue(1);
How the community answered
(62 responses)- A2% (1)
- B10% (6)
- C84% (52)
- D5% (3)
Community Discussion
No community discussion yet for this question.