Access to UltraGrid Table : Automation API

Access to UltraGrid Table

Class library usage, coding and language questions.

Access to UltraGrid Table

Postby DirkB » Tue Mar 23, 2010 4: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[i] // 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[i]/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 243 times
User avatar
DirkB
 
Posts: 13
Joined: Thu Jan 29, 2009 10:53 am

Re: Access to UltraGrid Table

Postby Support Team » Wed Mar 24, 2010 3: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
User avatar
Support Team
Site Admin
 
Posts: 4837
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests