How to Click the Canvas object using test complete web module
Hi Team,
I’m starting a new web test automation initiative, and our web application is primarily built using Canvas UI. I’m facing challenges in accessing and interacting with objects inside the Canvas, as they are not standard HTML elements.
Additionally, the Canvas objects are dynamically generated and frequently change, which makes it difficult to consistently identify and click the correct object.
Could you please suggest a reliable solution for automating interactions with Canvas elements? Also, it would be helpful if you could share a sample Python script demonstrating how to handle such scenarios.
Thanks & Regards,
Thiyagarajan
Hi Thiyagarajan. I suggest you check Supported Technologies and Applications to see if Canvas UI is actually supported by TestComplete. By the looks of it, it's not supported. So you will have an extremely difficult time interact with the UI objects, even the browsers' DevTools is not able to identify any of the UI objects in Canvas UI Demo!