APD01 Exam QuestionsBrowse all questions from this exam

APD01 Exam - Question 8


An action within an object has been written that automates a browser based application. All elements can be spied successfully and the object runs without defect in Object Studio. However, when ran in Control Room, exceptions are thrown that indicate elements cannot be found. This is because elements on the web page do not load all at once, they load slowly one after another instead. Which of the following would be the most appropriate to improve the resilience of the automation?

Show Answer
Correct Answer: AB

The most appropriate method to handle elements that do not load all at once and to improve the resilience of the automation is to use a Wait Stage with the Check Exists condition at the start of the action before continuing. This approach ensures that each element is present before attempting to interact with it, thereby preventing the exceptions caused by elements not being found.

Discussion

3 comments
Sign in to comment
AJrocks04Option: B
Mar 16, 2022

Parent Document Loaded. This checks the element exists and that the entire page and all of its child frames are fully loaded. Parent Document Loaded includes an implicit Check Exists on the element as well as a Document Loaded check. It is usually good practice to use this at the start of a browser action.

1234_1234Option: B
Sep 13, 2022

answer is b

LH1213
Mar 29, 2023

I think it could be either B or D