Ask a Question

Unable to identify objects within Iframes using chrome browser.

jcatayong
Contributor

Unable to identify objects within Iframes using chrome browser.

Is there a method on TestComplete where the tool can switch to the active iframe? I  knew Selenium has this method called switchToFrame(); that allowing automation testing to locate objects within the iframes. 
And if there's anynone who knows how to locate elements/objects using xpath within the iframes.

2 REPLIES 2
shankar_r
Community Hero

Re: Unable to identify objects within Iframes using chrome browser.

tristaanogre
Community Hero

Re: Unable to identify objects within Iframes using chrome browser.

First of all... don't use xPath.

 

Second of all... have you attempt to use the Object Spy tool in TestComplete to see how TC identifies the components within the iFrame?  If you want to know how to get TC to use those objects, that's the best way to do so.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: