Search found 7 matches

by Raghunath Rajendren
Tue Aug 23, 2016 6:16 am
Forum: General Questions
Topic: Casting from a Ranorex.List class
Replies: 11
Views: 3013

Re: Casting from a Ranorex.List class

Hi Johannes, I modified the option 'Show All Elements' to True and was able to identify the child element, but it is as Ranorex.Element and is not detected on using 'Highlight element'. With that said, I received a sample project including the internal Ranorex API support. I am yet to investigate it...
by Raghunath Rajendren
Wed Aug 17, 2016 9:49 am
Forum: General Questions
Topic: Casting from a Ranorex.List class
Replies: 11
Views: 3013

Re: Casting from a Ranorex.List class

Hi,

Thanks for the reply. Yeah, the concept of DataContext applies only to WPF recognition mode. But, the children elements are not getting detected in WPF, on which we want the DataContext value too. Anyway, I will wait for the reply from your developer team.

Thanks very much for the response.
by Raghunath Rajendren
Fri Aug 12, 2016 7:39 am
Forum: General Questions
Topic: Casting from a Ranorex.List class
Replies: 11
Views: 3013

Re: Casting from a Ranorex.List class

Hi, I tried to use GetValue on the Docking element as mentioned. But the return type is of a string stating "ByRef<MainWindowViewModel>{38159654, Amtech.ProDesign.Framework.ViewModels.MainWindowViewModel}". Using that, how should I be deserializing the class data?. Because the DataContext which we u...
by Raghunath Rajendren
Tue Aug 02, 2016 8:12 am
Forum: General Questions
Topic: Casting from a Ranorex.List class
Replies: 11
Views: 3013

Re: Casting from a Ranorex.List class

In our test case, we want to access the DataContext of the UIelement, to further work on from the values in it. For that, we need a proper casting/boxing to the exact type of Control to get access of DataContext. FYI, 3rd party utility tools (attaches to a running WPF application to troubleshoot com...
by Raghunath Rajendren
Fri Jul 29, 2016 1:43 pm
Forum: General Questions
Topic: Casting from a Ranorex.List class
Replies: 11
Views: 3013

Re: Casting from a Ranorex.List class

Please find attached the snapshots of a wpf 'ItemsControl' in UIA and WPF settings.

We need this item to be detected as an ItemsControl element. If it is possible, what should we be doing in Ranorex to get the type and element detected correctly ?
by Raghunath Rajendren
Wed Jul 27, 2016 7:17 am
Forum: General Questions
Topic: Casting from a Ranorex.List class
Replies: 11
Views: 3013

Casting from a Ranorex.List class

Hi, I am working on to automate a WPF-based desktop application using Ranorex. Some WPF controls like ItemsControl are Tracked as Ranorex.List in the WPFOnly (WPF Legacy/UIA Interaction Setting in the Settings wizard). My requirement requires a cast of that List class into its actual WPF control cla...
by Raghunath Rajendren
Fri Apr 01, 2016 10:13 am
Forum: General Questions
Topic: Ranorex for AutoCAD Application- some controls go undetected
Replies: 1
Views: 1327

Ranorex for AutoCAD Application- some controls go undetected

Hi, We are trying to create automated tests using ranorex for a plugin developed over Autocad (CAD software). We mostly do a recording module, which when ran back, sometimes states that Ranorex "Failed to Find Item (UI element)". When cross-checked with Ranorex Spy, the item's path obtained here was...