Forum Discussion

Jainsoumya's avatar
Jainsoumya
Contributor
3 years ago

Getting error Frame Content is not accessible

TestComplete Version: 15.46

Chrome:Version 99.0.4844.84 (Official Build) (64-bit)

 

I have followed all instructions mentioned in

https://community.smartbear.com/t5/TestComplete-Questions/Record-test-Chrome-frame-content-not-accessible/m-p/234603

https://support.smartbear.com/testcomplete/docs/app-testing/web/common-tasks/frames.html

 Then also I am getting error Frame content is not accessible 

 

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    I've just used TC v15.46.9.7 x64 with Chrome 108.0.5359.99 (Official Build) (64-bit) and Edge  108.0.1462.46 (Official build) (64-bit), followed the exact instructions in Accessing Object Frames in Chrome and Edge. TC is able to recognised the UI objects,

    function Sample_Run_Browser()
    {
        Browsers.Item("chrome").RunOptions = "--disable-web-security --user-data-dir=C:\\Users\\******\\AppData\\Local\\Google\\Chrome\\User Data\\Default --disable-site-isolation-trials";
        Browsers.Item(btChrome).Run("https://www.office.com");
        // …
    }