Support for DotNet Browser Control & Angular

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Skeminje
Posts: 7
Joined: Wed Mar 22, 2017 1:03 pm

Support for DotNet Browser Control & Angular

Post by Skeminje » Thu Mar 19, 2020 1:31 pm

Hi,

Issue 1:

We have a application which is developed using angular components (https://angular.io/guide/architecture-components) and embedded inside a WPF/Win forms. Most of the elements are getting identified as Element and Text with no much property available. Is there any other configuration we need to do for applications using Angular ?

Issue 2:

There a Dot Net Browser control embedded inside a form. The control, for example is a drop down list control, Ranorex is identifying the whole Drop down list as a container and doesnot list out the list items, It is unable to go inside the control. The issue looks similar to the one mentioned in the post https://www.ranorex.com/forum/ranorex-s ... 14627.html . Ca you please help us with the resolution provided for this?

We are using Ranorex 9.1.1

User avatar
N612
Posts: 135
Joined: Mon Jul 11, 2016 4:01 pm

Re: Support for DotNet Browser Control & Angular

Post by N612 » Thu Mar 19, 2020 4:22 pm

I do not think Angular is the issue here, but how it is embedded in the WPF/Winforms app. Are you using CEF or something similar? You may need to open the debug port in the embedded framework for Ranorex to see the objects properly. See: https://www.ranorex.com/help/latest/int ... lications/

Please provide a Ranorex Snapshot of your AUT if you continue to have issues.
https://www.ranorex.com/help/latest/han ... -snapshot/

Skeminje
Posts: 7
Joined: Wed Mar 22, 2017 1:03 pm

Re: Support for DotNet Browser Control & Angular

Post by Skeminje » Fri Mar 20, 2020 9:04 am

No, In Issue 1 we have not used any CEF items its just Angular 8 components(https://angular.io/guide/architecture-components)

In Issue 2, the control is Dot Net Browser control(https://www.teamdev.com/dotnetbrowser) and not CEF Sharp. As far as I can see there is a difference between these 2(https://stackoverflow.com/questions/455 ... comparison), and I am not sure whether it will impact how Ranorex understands it. We have tried enabling remote debugging port both from command prompt and through code before initialization. Both did not work.

Please let us know if we are missing anything.

We will not be able to attach the snapshot as it contains a lot of sensitive data which cannot be shared.

Regards,
Supreetha K

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Support for DotNet Browser Control & Angular

Post by odklizec » Fri Mar 20, 2020 11:13 am

Hi,

At first, you should definitely try the most recent Ranorex 9.3.1. Debugging a problem with an obsolete Ranorex version is unfortunately a waste of time and energy ;)

As for the Dot Net Browser, I don't think there is any special support for this browser? So I think the best you can probably do, is to contact directly support, via support form available here:
https://www.ranorex.com/support-query/
I think there will be required a remote session, so they can analyze the issue and eventually suggest a solution.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Skeminje
Posts: 7
Joined: Wed Mar 22, 2017 1:03 pm

Re: Support for DotNet Browser Control & Angular

Post by Skeminje » Fri Mar 27, 2020 6:24 am

Hi,

Thanks. I tried with Latest Ranorex 9.3.1 and the behavior is same. I am unable to identify the objects and its properties. I will raise a support Query.

Regards,
Supreetha K