Hi,
I am currently using Ranorex 5.2 for a web application where the root web document is correctly identify with the DOM capability.
The problem comes when the web application is embedded in a desktop application, and it is read as a Container adapter in stead of a WebDocument adapter, so all child elements are treated as windows forms controls.
The desktop application calls a Gecko - Moxilla layer which is in charge of containing the mozilla firefox web page in the same desktop application process.
Do you know if there is a way to recognize the controls as WebElements if the web application is embedded within the desktop app using this technology (Gecko)?
Many Thanks,
Sergio
Embed a web browser (Gecko web layout) in a Desktop app
Re: Embed a web browser (Gecko web layout) in a Desktop app
Due to the way embedded browsers work, the only one you are likely to have luck with is IE.
Mozilla and Chrome do not usually load extensions when used as embedded browsers, so the Ranorex extension, which is required for Ranorex to identify elements, is not loaded. This is why you aren't seeing the full DOM structure under the embedded window.
Mozilla and Chrome do not usually load extensions when used as embedded browsers, so the Ranorex extension, which is required for Ranorex to identify elements, is not loaded. This is why you aren't seeing the full DOM structure under the embedded window.
Shortcuts usually aren't...
Re: Embed a web browser (Gecko web layout) in a Desktop app
Thanks for the answer.
Now some questions come up...
1) Will it be supported in a future Ranorex release version?
2) Unfortunately, the Mozilla embedded browser can not be replaced with IE.
Would it be posible to identify the DOM elements from the standalone web browser like are in the embedded mozilla within the desktop application?
I guess I would need to duplicate how the elements are identified depending on Standalone Web Browser (DOM) or Embedded Web Browser (Container).
Best Regards,
Sergio
Now some questions come up...
1) Will it be supported in a future Ranorex release version?
2) Unfortunately, the Mozilla embedded browser can not be replaced with IE.
Would it be posible to identify the DOM elements from the standalone web browser like are in the embedded mozilla within the desktop application?
I guess I would need to duplicate how the elements are identified depending on Standalone Web Browser (DOM) or Embedded Web Browser (Container).
Best Regards,
Sergio
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Embed a web browser (Gecko web layout) in a Desktop app
Hello giomm82,
Unfortunately, we do not plan to add support for embedded mozilla/gecko.
Regards,
Robert
Unfortunately, we do not plan to add support for embedded mozilla/gecko.
Regards,
Robert