Ask a Question

Not able to access elements inside iframe

gjanoti
New Member

Not able to access elements inside iframe

Hi All,

 

I am trying to access elements inside iframe but not able to capture that element instead Testcomplete is taking full screenshot of iframe in record mode.

I have done below setup still the issue is same-

1)Call object method in Testcomplete

gjanoti_0-1663675608098.png

 

2) Right click on chrome -> properties  - Target  ---   <--disable-web-security --user-data-dir="C:\\Users\\Administrator\\AppData\\Local\\Google\\Chrome\\User Data\\Default" --disable-site-isolation-trials >

 

Please help me to understand what I am missing here.

 

1 REPLY 1
rraghvani
Super Contributor

I'm using TC v15.43.1.7 x64 with Chrome v105.0.5195.102

 

I've created a TestedApp for Chrome with parameters

rraghvani_0-1663683221278.png

My recorded keywork test,

rraghvani_1-1663683287699.png

Result

rraghvani_3-1663683356810.png

The example is based on using https://www.w3schools.com/html/html_iframe.asp

cancel
Showing results for 
Search instead for 
Did you mean: