How to test subItem of a list ctrl?
-
- Posts: 2
- Joined: Tue Oct 17, 2006 8:31 am
How to test subItem of a list ctrl?
when I want to click a subItem of the listCtrl to edit
You should select the subItem and then click it with the mouse:
Jenö Herget
Ranorex Team
Code: Select all
bRet = RxElementFindChild(&element, ROLE_SYSTEM_LISTITEM, "Test2", NULL, &listItem);
if (bRet==TRUE)
{
RxElementSelect(&listItem, SELFLAG_TAKEFOCUS | SELFLAG_TAKESELECTION);
RxMouseClickElement(&listItem);
}
...
Ranorex Team