Page 1 of 1

Support for DotNet Browser Control & Angular

Posted: Thu Mar 19, 2020 1:31 pm
by Skeminje
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

Re: Support for DotNet Browser Control & Angular

Posted: Thu Mar 19, 2020 4:22 pm
by N612
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/

Re: Support for DotNet Browser Control & Angular

Posted: Fri Mar 20, 2020 9:04 am
by Skeminje
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

Re: Support for DotNet Browser Control & Angular

Posted: Fri Mar 20, 2020 11:13 am
by odklizec
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.

Re: Support for DotNet Browser Control & Angular

Posted: Fri Mar 27, 2020 6:24 am
by Skeminje
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