cancel
Showing results for 
Search instead for 
Did you mean: 

Handling iFrame Objects

SOLVED
Highlighted
Contributor

Handling iFrame Objects

Hi Team,

 

Im not able to identify any objects under a iframe object,

Please let me know how to make the objects under iframe to be visible in the object browser.

 

waiting for your valuable response.

 

Thanks in advanve,

Regards,
Sathish Kumar K
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Contributor

Re: Handling iFrame Objects

i was able to find the objects under iframe by using the below code.

 

function SetChromeRunOptions()
{
// Specify the required command-line key
Browsers.Item("chrome").RunOptions = "--disable-web-security --user-data-dir=C:\\Users\\sathish\\tempChromeProfile\\ --disable-site-isolation-trial";
Browsers.Item("chrome").Run();
Browsers.Item("chrome").Navigate(urloftheapplication)

}

Regards,
Sathish Kumar K

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: Handling iFrame Objects

What happens when you try?  Let us see screenshots please.

Highlighted
Contributor

Re: Handling iFrame Objects

i was able to find the objects under iframe by using the below code.

 

function SetChromeRunOptions()
{
// Specify the required command-line key
Browsers.Item("chrome").RunOptions = "--disable-web-security --user-data-dir=C:\\Users\\sathish\\tempChromeProfile\\ --disable-site-isolation-trial";
Browsers.Item("chrome").Run();
Browsers.Item("chrome").Navigate(urloftheapplication)

}

Regards,
Sathish Kumar K

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors