WPF Combo Box : Automation Tools

WPF Combo Box

Ranorex Spy, Recorder, and Studio.

WPF Combo Box

Postby atom » Thu Nov 19, 2009 8:58 pm

Hiya

I have a problem seeing WPF combo box items
The item text property doesnt appear to be the name of the text the item is displaying, but rather the class name of the code behind it. See screenshot below:

wpf_combo.JPG
wpf_combo.JPG (95.31 KiB) Viewed 444 times
atom
 
Posts: 321
Joined: Mon Dec 08, 2008 12:14 am
Location: Dublin, Ireland

Re: WPF Combo Box

Postby Support Team » Fri Nov 20, 2009 3:51 pm

Hmm, maybe someone forgot to override ToString() in the class in question.
Do those ListItems have children ? Please post a snapshot (rxsnp) of the combobox.

Michael
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4285
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: WPF Combo Box

Postby atom » Fri Nov 20, 2009 6:00 pm

I think your correct...
The combo box is based on an object collection, with items in the combo box coming from a specific property of each object. No .ToString was implemented on the object
I will talk to our developers, and let you know

Thanks
atom
 
Posts: 321
Joined: Mon Dec 08, 2008 12:14 am
Location: Dublin, Ireland

Re: WPF Combo Box

Postby prabhu_thi » Wed Feb 02, 2011 6:23 am

Hi,

Wether the above mentiond is fixed..Becaus i am also facing problems in WPF Combo controls
prabhu_thi
 
Posts: 8
Joined: Wed Feb 02, 2011 5:28 am

Re: WPF Combo Box

Postby Support Team » Wed Feb 02, 2011 10:20 am

prabhu_thi wrote:Wether the above mentiond is fixed..Becaus i am also facing problems in WPF Combo controls

There is no fix, because this is not an issue Ranorex can do anything about. If you read the conversation in this thread, it was explained that this is most probably an issue of the control or the usage of it.

Regards,
Alex
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4285
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests

cron