Ranorex

How to test subItem of a list ctrl?

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexCore
View previous topic :: View next topic  
Author Message
JohnsonFeng



Joined: 17 Oct 2006
Posts: 2

PostPosted: Fri Oct 27, 2006 5:29 am    Post subject: How to test subItem of a list ctrl?
when I want to click a subItem of the listCtrl to edit
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Wed Nov 01, 2006 4:08 pm    Post subject:
You should select the subItem and then click it with the mouse:

Code: click into code to enlarge
bRet = RxElementFindChild(&element, ROLE_SYSTEM_LISTITEM, "Test2", NULL, &listItem);
if (bRet==TRUE)
{
  RxElementSelect(&listItem, SELFLAG_TAKEFOCUS | SELFLAG_TAKESELECTION);
  RxMouseClickElement(&listItem);
}
...

Jenö Herget
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexCore All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum