Blue Prism Certified Professional Developer (APD01) — Question 17
While automating a process involving a browser based application a popup window from the browser application appears that you need to work with. When you try to spy the popup window and its elements, Blue Prism throws the following error: "There was an error during the spying operation." Which of the following would be the most appropriate workaround?
Answer options
- A. Set the HKEY CURRENT USER\Software\Microsoft\Internet Explorer\Main\TabProcGrowth Registry key to 2
- B. Change the scope of the process so that the popup window does not need to be automated
- C. Create a new separate object that attaches to the running instance of the popup and attempt to spy elements with this object instead.
- D. Use Surface Automation techniques to interface with the popup window
Correct answer: C
Explanation
The correct answer is C because creating a separate object allows for specific interaction with the popup window, which can bypass the spying error. Options A and B do not address the issue directly, and while option D may work, it is generally less efficient than using a dedicated object for the task.