Page 1 of 1

Unable to see list item elements in ranorex 7.0

Posted: Tue May 09, 2017 4:51 pm
by Andrew Simpson
Hi,

I have recently upgraded to ranorex 7, I have noticed that with the new wpf functionality(wpfimprovedonly) turned on it appears to be excluding the list items for the drop downs making them impossible to select.

In its place there is a text item that just shows whatever item on the dropdown it selected, I have tried setting this value as the drop down item I require but does not affect the aut in the way I want it to.

Ive attached a snapshot and screen shot of the area in question

Thanks

Re: Unable to see list item elements in ranorex 7.0

Posted: Tue May 09, 2017 5:18 pm
by Andrew Simpson
Ive actually solved this but thought I would add what ive learned for anyone else

Although Spy does not appear to see the list items if you add in a generic list item top the repository it will find it on the dropdown

So in the repository select add new item then its path as listitem[@text='text you need to select']

Might not be the same for everyone but solved it for me :)

Re: Unable to see list item elements in ranorex 7.0

Posted: Wed May 10, 2017 12:00 pm
by Andrew Simpson
Although I still think this is an issue with ranorex 7.0, can someone lert me know whether this issue needs to be logged

Thanks

Re: Unable to see list item elements in ranorex 7.0

Posted: Wed May 10, 2017 2:47 pm
by krstcs
Have you tried using F12 while tracking? This temporarily suspends tracking so you can click on the drop-down and open the list. Then when you release F12 Ranorex should be able to track the list directly.

Re: Unable to see list item elements in ranorex 7.0

Posted: Wed May 10, 2017 4:04 pm
by Andrew Simpson
Yeah I have, this worked for some list items but not for most of them, when you pause spy to open the table it just wont highlight any item on the drop down as it does with the drop downs that work as expected.

Seems to work more often than not, in fairness is may well be the way the aut is designed

Thanks