How to locate a component in nested shadowroots -- polymer in electron
Hi everyone! I'm just dipping into TestComplete and I'm not having much luck figuring this particular issue out. My project is a polymer/redux front end thats wrapped in Electron. I'm trying to write some automated tests but am having a problem digging buttons and other components buried within nested shadowroot nodes.
I have enabled support for web components in Web Testing and I can get properties for objects that are one shadowroot deep, but cannot get any properties for objects deeper than that first shadowroot node. The result I get back is that the object doesn't exist, though it most certainly does exist and function for the user.
Hi,
Also the https://support.smartbear.com/testcomplete/docs/app-testing/web/web-components/shadow-dom.html help article describes Shadow DOM support in TestComplete. I believe you've already read it, haven't you?
I did not work with (multi-level) shadow DOM, so can suggest nothing better at the moment but to contact Support via the https://support.smartbear.com/testcomplete/message/ form and ask them if multi-level shadow DOM is supported in TestComplete.