Access to UltraGrid Table

Class library usage, coding and language questions.
User avatar
DirkB
Posts: 19
Joined: Thu Jan 29, 2009 9:53 am

Access to UltraGrid Table

Post by DirkB » Tue Mar 23, 2010 3:48 pm

Hi,

I'm sure there is a simple access to the cells of a ultragrid table.
I have rows - I'll get them via row index: myTable.Rows // myTable is a Ranorerex.Adapter {Table:ultragrid1}
I have columns with headers (e.g. 'Seriennummer', 'Serial Number'), but these headers are a kind of cell attributes.
This is probably quite common with tables...
Spy tells me: .../table/row/cell[@accessiblename='Seriennummer']

But I currently don't understand how to access these columns or cells via their "AccessibleName" and not via column index.
By the way if I need to find the right column index how can I find it by comparing the header 'Seriennummer' with an attribute of the cell?
Meanwhile I review the Ranorex.Adapter concept again and again...

Thanx in advance
Dirk
UltraGridTable.jpg
Ranorex Spy of Ultragrid table
UltraGridTable.jpg (87.21 KiB) Viewed 1322 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Access to UltraGrid Table

Post by Support Team » Wed Mar 24, 2010 2:15 pm

Hi,

I'm a little bit confused about you problem description, can you describe the use case ,which you want to execute, more detailed please. And take a look to our Screen Casts of RanoreXPath this maybe help you with your Problem.
http://www.ranorex.com/support/screencasts.html

Please also post or send me a Spy Snapshot of your Application, maybe this helps me to evaluate your Problem.
http://www.ranorex.com/support/user-gui ... html#c2072

Regards,
Peter
Ranorex Support Team
.
Image