Page 1 of 1

Unable to get the child object of WPF window

Posted: Fri May 12, 2017 11:32 am
by niranjantest
Hi

I am using RANORX 5.4.5 version and trying to automate a desktop application (Infragristic and WPF controls). I have one SPLASH screen where there is option to select various option . My target is to first check the right version content appeared or not and if found then click on that .

But RANOREX spy recognizing it as one element only(List) and i cannot the individual list elements appeared on it. Please see the snapshot.

Any help will be very helpful.

regards,
Nir

Re: Unable to get the child object of WPF window

Posted: Fri May 12, 2017 9:41 pm
by Vega
It doesn't look like your snapshot attached to your post. Have you tried using Microsoft Inspect to see if accessibility is present? If Microsoft Inspect cannot see it either, there may be an issue with accessibility. If accessibility is lacking, you will need to talk to your developers about adding accessibility.

Also make sure that both Spy / Ranorex have the same permission level as the application under test. Lastly I would also try it with Ranorex 7.0+ as this version comes with a new "WPFImproved" plugin which is much better in my experience.

Re: Unable to get the child object of WPF window

Posted: Mon May 15, 2017 7:14 am
by odklizec
Hi,

Ranorex 5.4.5 is way too old and no longer supported. WPF recognition has been improved several times since 5.4.5. So, as already suggested by Vega, I would definitely try latest 7.0.1 with WPFImproved option.

Re: Unable to get the child object of WPF window

Posted: Mon May 15, 2017 2:42 pm
by niranjantest
Thanks Guys..I am able to recognize the individual item now by enabling the plugins for the WPF options true in the Ranorex 5 version only.