Page 1 of 1

Select item(row) from ListBox by comparing data in column

Posted: Thu Dec 02, 2010 7:34 am
by prakash.tirumani
Hi,

I am trying to select item from ListBox, which has more than one column. First and second columns in the ListBox do not have any data but third column has. I want to select the item(row) from ListBox by comparing data in third column of every row.


Thank You,
Prakash .Tirumani

Re: Select item(row) from ListBox by comparing data in column

Posted: Thu Dec 02, 2010 5:15 pm
by Support Team
Hi,

Please could you post us a Ranorex Snapshot of the entire control? So it is much easier for us to analyze the problem.
Create a Ranorex Snapshot

But I think, it seems there is no accessibility for this list. Is this some sort of custom control, which was created by your developers? If yes, there are two ways to get the objects form this list. Regards,
Peter
Ranorex Team

Re: Select item(row) from ListBox by comparing data in column

Posted: Fri Dec 03, 2010 7:29 am
by prakash.tirumani
Hi Peter,

I have attached the Ranorex Screenshot file (ListBox.rxsnp). Please look into that, meanwhile let me also download GDI Plug-In and see.

Thanks,
Prakash .Tirumani

Re: Select item(row) from ListBox by comparing data in column

Posted: Fri Dec 03, 2010 12:59 pm
by Support Team
Hi,

Thank you for the snapshot. Please answer me one additional:
Is your application a WinForms or MFC application?

Please also update to the latest version of Ranorex (2.3.5).

Regards,
Peter
Ranorex Team

Re: Select item(row) from ListBox by comparing data in column

Posted: Wed Dec 22, 2010 9:46 am
by prakash.tirumani
Hi,

I have updated to Ranorex 2.3.5.
Coming to your question, our Application is developed using Delphi.

Thank You,
Prakash .Tirumani

Re: Select item(row) from ListBox by comparing data in column

Posted: Wed Dec 22, 2010 2:07 pm
by Support Team
Hi,

as mentioned above it looks like your controll doesn't support accessibility. So the only way to automate this controll is either to implement accessibility for it, or to use the GDI plugin.

How to do so is explained in the links postet four posts above.

Regards,
Tobias
Support Team