We are facing issues to identify the iFrame objects in Googl
We are facing issues to identify the iFrame objects in Googl
Hi,
Do we have good support of Ranorex for iFrame on Chrome.
We are facing issues to identify the iFrame objects in Google Chrome.
NOTE: We are using Ranorex 5.3 and the latest version of Google Chrome.
Regards,
Md.Eshaq
Do we have good support of Ranorex for iFrame on Chrome.
We are facing issues to identify the iFrame objects in Google Chrome.
NOTE: We are using Ranorex 5.3 and the latest version of Google Chrome.
Regards,
Md.Eshaq
Re: We are facing issues to identify the iFrame objects in Googl
What issue are you facing? I have no problems with iFrames on Chrome or any other supported browser.
Have you tried on Firefox?
Can you identify the element using Ranorex Spy?
Please include more specific information about the issue.
Also, please include a Ranorex Snapshot of the web page and iFrame in Chrome. You can find information on creating a Ranorex Snapshot here.
Have you tried on Firefox?
Can you identify the element using Ranorex Spy?
Please include more specific information about the issue.
Also, please include a Ranorex Snapshot of the web page and iFrame in Chrome. You can find information on creating a Ranorex Snapshot here.
Shortcuts usually aren't...
Re: We are facing issues to identify the iFrame objects in Googl
Hi
Ranorex is not identifying the iFrame objects in Chrome. The same thing we tried with IE and Firefox and identifies the iFrame objects.
When we try to identify the objects using spy, it recognizes the entire frame but not the individual objects inside the frame.
Please find the attached Ranorex snap shot for your kind reference.
Thanks,
Md.Eshaq
Ranorex is not identifying the iFrame objects in Chrome. The same thing we tried with IE and Firefox and identifies the iFrame objects.
When we try to identify the objects using spy, it recognizes the entire frame but not the individual objects inside the frame.
Please find the attached Ranorex snap shot for your kind reference.
Thanks,
Md.Eshaq
You do not have the required permissions to view the files attached to this post.
Re: We are facing issues to identify the iFrame objects in Googl
Have you installed the Chrome Ranorex addon? You have to download it from the Chrome store, it isn't automatically installed with Ranorex.
Go to the Instrumentation Wizard and select Chrome. It will open the Chrome store to the Ranorex addon's page.
Go to the Instrumentation Wizard and select Chrome. It will open the Chrome store to the Ranorex addon's page.
Shortcuts usually aren't...
Re: We are facing issues to identify the iFrame objects in Googl
Same problem here. We can't identify objects in iframes with latest Chrome and Ranorex 5.3.
Our html file is a local one (file:///C:\application.html) and is loading the AUT inside the iframe. I also checked the add-on checkbox "Allow access to file URLs" in the Chrome extension page for the Ranorex plugin, but without effect.
Our html file is a local one (file:///C:\application.html) and is loading the AUT inside the iframe. I also checked the add-on checkbox "Allow access to file URLs" in the Chrome extension page for the Ranorex plugin, but without effect.
Re: We are facing issues to identify the iFrame objects in Googl
One thing to make sure of is that you specifically include the /iframe element in any path (or ancestor folder) whose element is inside an iframe. My suggestion would be to make the iframe a rooted folder that contains all of the elements inside the iframe.
Shortcuts usually aren't...
Re: We are facing issues to identify the iFrame objects in Googl
Thank you krstcs, the //iframe was inside the path. It works in Firefox, but it won't in Chrome. I checked the DOM in Firebug and with the Chrome Debugger.
In Firefox it looks like this:
In Chrome it looks like this:
I don't know if this makes the difference. The iframe can be located in Chrome, but the elements inside not.
In Firefox it looks like this:
Code: Select all
<iframe ...>
<!DOCTYPE html>
Code: Select all
<iframe ...>
#document
<!DOCTYPE html>
Re: We are facing issues to identify the iFrame objects in Googl
I think I solved my issue. I stripped everything from the HTML file holding the iframe, since I don't need it anyway. Now it works.
My HTML looks like this:
My HTML looks like this:
<!DOCTYPE html> <html> <head></head> <body> <iframe src="http://SUT.html" style="margin: 0px 0px 0px 10px; width: 750px; height: 600px;"></iframe> </body></html>Maybe Chrome had some troubles with the DOM of my document.
Re: We are facing issues to identify the iFrame objects in Googl
You might want to check Chrome's developer tools (hit F12 while on a webpage in Chrome) and see if there are any errors on the page.
Shortcuts usually aren't...
Re: We are facing issues to identify the iFrame objects in Googl
That's what I did and that's why I changed the source html holding the frame. Thanks for your help!
Re: We are facing issues to identify the iFrame objects in Googl
Hi Team,
Same Issue here, Ranorex is not identifying the iFrame objects in Chrome. But it works fine with IE and Firefox
When we try to identify the objects using spy, it recognizes the entire frame but not the objects inside the frame.
Note: Ranorex version(v7.1.0),Chrome version(v60) and Ranorex agent version(v1.0.11) added in Chrome
Kindly help me out on this issue.
Same Issue here, Ranorex is not identifying the iFrame objects in Chrome. But it works fine with IE and Firefox
When we try to identify the objects using spy, it recognizes the entire frame but not the objects inside the frame.
Note: Ranorex version(v7.1.0),Chrome version(v60) and Ranorex agent version(v1.0.11) added in Chrome
Kindly help me out on this issue.
Re: We are facing issues to identify the iFrame objects in Googl
Hi guys,
I think you have to start Chrome with the following flags, in order to identify elements in an iFrame.
Hope this helps.
Best regards,
Asdf
I think you have to start Chrome with the following flags, in order to identify elements in an iFrame.
Code: Select all
--disable-web-security --user-data-dir="C:\Users\<Username>\AppData\Local\Google\Chrome\User Data"
Best regards,
Asdf
Re: We are facing issues to identify the iFrame objects in Googl
Thanks asdf
I tried by setting the below flag via command prompt
chrome.exe --disable-web-security --user-data-dir="C:\Users\hp\AppData\Local\Google\Chrome\User Data"
and Observed the chrome was getting launched but still iframe objects are not identified by ranorex
Could you please guide us on this
Regards,
Octopus
I tried by setting the below flag via command prompt
chrome.exe --disable-web-security --user-data-dir="C:\Users\hp\AppData\Local\Google\Chrome\User Data"
and Observed the chrome was getting launched but still iframe objects are not identified by ranorex
Could you please guide us on this
Regards,
Octopus
Re: We are facing issues to identify the iFrame objects in Googl
Hi Octopus,
Please try to replace the string from the user data directory with the following one.
You can set the arguments directly in Ranorex Studio over the OpenBrowser-properties pane.
Hope this helps.
Sincerely,
asdf
Please try to replace the string from the user data directory with the following one.
Code: Select all
C:\Users\Alice\AppData\Local\Google\Chrome\User Data\Default
Sincerely,
asdf
You do not have the required permissions to view the files attached to this post.
Re: We are facing issues to identify the iFrame objects in Googl
Great asdf, it works fine now 
Thanks,
Octopus

Thanks,
Octopus