Element is not working on ListView and Edit box
Posted: Fri Oct 06, 2006 11:10 pm
Hi,
The element approach of selecting item one at a time is not working on ListView and Edit. Are there any known issues or it is not supported.
I am using the same code you suggested for navigating in the Listbox.
The code is failing when I use
if ( RxElementFindChild(&element, ROLE_SYSTEM_OUTLINE, NULL, NULL, &editBoxElement) == TRUE )
Please suggest.
I also want to know the way to retrieve the items which are selected in a ListView. For e.g. I have a listview having 10 items. Out of which item 2,5,7 are selected(highlighted). How can I know using Ranorex API that items 2,5,7 are selected.
Thanks.
Nikhil
The element approach of selecting item one at a time is not working on ListView and Edit. Are there any known issues or it is not supported.
I am using the same code you suggested for navigating in the Listbox.
The code is failing when I use
if ( RxElementFindChild(&element, ROLE_SYSTEM_OUTLINE, NULL, NULL, &editBoxElement) == TRUE )
Please suggest.
I also want to know the way to retrieve the items which are selected in a ListView. For e.g. I have a listview having 10 items. Out of which item 2,5,7 are selected(highlighted). How can I know using Ranorex API that items 2,5,7 are selected.
Thanks.
Nikhil