Certified Pega Robotics System Architect v8.0 (2019) — Question 29

You are designing an automation that adds new customers to an online insurance web site. If a customer exists, a pop-up window is displayed with an error message, which closes automatically after 35 seconds.
While debugging the automation, you notice that you are receiving a control not created exception message in the Add Customer procedure after a page navigation occurs.
How do you resolve the exception?

Answer options

Correct answer: D

Explanation

The correct answer is D because adding the waitForEvent.Exists method ensures that the automation waits for the required controls to be available before proceeding, thus preventing the control not created exception. The other options do not address the timing and state-checking necessary for the controls after the page navigation.