Page 1 of 1

Adding a WPF Object to the Visual children settings

Posted: Thu Jul 28, 2016 3:03 pm
by Andrew Simpson
Hi :)

I have a number of tests failing due to ranorex not being able to see the WPF's list items within a container

This in itself is simple to fix by changing the "show all elements" WPF plugin to true, however once this is done it disrupts the rest of the modules and tests and creates more problems than it solves.

What I really need is to be able to add the individual container to the plugin so it recognises those child list items without turning them all on. This looks as though it is possible in the WPF tree section of the plugin I'm just unsure as to the actual string to add to get the desired effect

Is this the right direction or should I be doing something else?

Ive attached a snapshot+screenshot, let me know if anything else is needed

Re: Adding a WPF Object to the Visual children settings

Posted: Fri Jul 29, 2016 1:19 pm
by odklizec
Hi,

I believe you need to add BaseType or FullType string to "Always Show Visual Children" array?

Re: Adding a WPF Object to the Visual children settings

Posted: Fri Jul 29, 2016 1:50 pm
by Andrew Simpson
I thought that was probably the case I just don't know what string exactly needs to be added to allow me to see the children, how do I go about ascertaining that?

**edit - just for anyone else the base string is located in the advance wpf setting in spy - this has been added and is now solved :)