Getting List of Status bar items

Ask general questions here.
Posts: 6
Joined: Fri Feb 20, 2009 11:26 am

Getting List of Status bar items

Post by AutoTester » Tue Feb 24, 2009 2:26 pm

I am trying to get list of Status bar items. There are about 20 of them, using RanorexSpy, i can see that , the items under tool bar are listItems. How do i get the values of these list items?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Post by Support Team » Wed Feb 25, 2009 3:18 pm

Please read the User Guide carefully before posting in our forums.
You can also learn from our samples shipped with the software package (under Ranorex 2.X/Samples dir).

Here you can find an example how to read a statusbar item:

Code: Select all

ListItem listItem = comboBox.FindSingle<ListItem>("list/listitem[@accessiblename='Black']");  
Kind regards,
Ranorex Support Team