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

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
Community Hero

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

Highlighted
Contributor

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

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

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

Participate!

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

Participate!
Top Kudoed Authors