Mr_Bro
5 years agoFrequent Contributor
Exceuting Custom JS
Hi team,
I am trying to write a custom JS to find elements which are inside an iframe parent using xpath, but im facing some problem at the last line where I am trying to evaluate the xpath within...
- 5 years ago
Hi Mr_Bro !
TestComplete has more convenient methods to find Objects using XPath. I recommend that you try this approach.
To my knowledge, to find an Object within an iframe you need to first obtain the iframe and then search for the needed object within this iframe.Also, to be able to test pages with iframes, I'd recommend launching Chrome with the parameters as specified in the article below: https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/chrome.html