ElementMatchPath inside Iframe

Nov 9, 2012 at 5:54 PM


I´m trying to map an element inside a iframe, but the inspect always stop in the <iframe> tag, why this happen? With this problema i´m have to create a custom adapter and using HTML COM class to search the elements.

Is there a way to accomplish this? I need it in an emergency

Nov 9, 2012 at 7:40 PM

It´s possible to use all XPath commands?

Nov 19, 2012 at 5:37 PM

Yes, any XPath command that would normally work on an XML doc will work .

Nov 19, 2012 at 6:13 PM

But I Saw with iframe dosen´t work. Could give me a help, how to find a control using xpath and iframe?

Nov 20, 2012 at 6:55 PM

if your in a DDA, \ Customer adapter,  you need to locate the IFrame first,  then walk into the IFrame's Dom... THEN run your Xpath.

does that make sense?


Nov 20, 2012 at 7:15 PM
Edited Nov 20, 2012 at 8:36 PM

I´m using the Microsoft.mshtml to find the iframe, because with the DDA cannot use.

How can i combine the Microsoft.mshtml and xpath?

Feb 28, 2013 at 8:27 AM
I am looking for same example .Can body share how to locate Iframes Dom path,i have tried doing it but evry time i locate i am getting null element.