TestComplete 14.74 unable to identify objects in Iframe using Chrome
Hello,
I've had a look around the messages and have not found a proper answer to the above question.
I hope you can help!
Using Keyword tests, Xpath or Native TC identifiers and Chrome 89.0.4389.90 TestComplete is unable to identify any objects within the Iframe below:
What is strange is that it can if I use IE 11.0.9600 it identifies them correctly.
I am unable to run the same test again on Chrome or Edge.
The objects identified in IE have only one entry which uses the aira-labelledby form:
[aria-labelledby='ButtonName'] > .btn:nth-child(1)
Any ideas how to get around this blocker so we can record and run them in Chromium browsers?
Thanks,
James
The solution is to use the following switches when you launch Chrome:
"C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe --disable-web-security --disable-site-isolation-trials --user-data-dir="C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default"
All my tests in Chrome and edge now can access the objects in the Iframe.
Thanks to the Smartbear support for providing this solution.