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?
A . Use a Wait Stage with the Check Exists condition at the start of the action before continuing.
B . Use a Wait Stage with the Parent Document Loaded condition at the start of the action.
C . Use a Wait Stage with the Document Loaded condition at the start of the action.
D . Do not spy elements with HTML mode
Answer: B
Explanation:
Reference: https://usermanual.wiki/Document/Browser20Automation20Guide.1251117006.pdf