DevExpress & Table.Rows

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
User avatar
odd
Posts: 17
Joined: Fri Mar 11, 2011 9:37 am

DevExpress & Table.Rows

Post by odd » Thu Apr 07, 2011 3:13 pm

Our application is using DevExpress. Table and its content are recognized perfectly, i can find rows through the Find method. But, i cant access rows with Table.Rows.

Code: Select all

// Interface.Instance.StoredProcedures.Grid
// is a Table with RxPath = "/form[@controlname='StuMainForm']/
// element[@controltypename='MdiClient']
// /form[@controlname='StuStoredProceduresDlg']/container/container[@controlname='panel1']
// /container[@controlname='gridGroupControl']/element/table[@accessiblerole='Table'] "
System.Console.WriteLine(Interface.Instance.StoredProcedures.Grid.Rows.Count.ToString());
Output is 0. There are actually 2 rows in that table.

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

Re: DevExpress & Table.Rows

Post by Support Team » Thu Apr 07, 2011 3:19 pm

Hi,

Please would it be possible to send us a Ranorex Snapshot to analyze the issue?
With this snapshot it is much easier to narrow down the problem.
How to create a Ranorex Snapshot

Thanks in advance.

Regards,
Peter
Ranorex Team
.
Image

User avatar
odd
Posts: 17
Joined: Fri Mar 11, 2011 9:37 am

Re: DevExpress & Table.Rows

Post by odd » Thu Apr 07, 2011 3:28 pm

Hi! Thanks for the fast reply.

Sure, here is snapshot.

Regards, Alexander.
Attachments
gridControl.rxsnp
(311.24 KiB) Downloaded 219 times

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

Re: DevExpress & Table.Rows

Post by Support Team » Thu Apr 07, 2011 4:55 pm

Please take a look to following link
http://www.ranorex.com/forum/accelerato ... html#p8251
This post includes the solution for your issue.

Regards,
Peter
Ranorex Team
.
Image

User avatar
odd
Posts: 17
Joined: Fri Mar 11, 2011 9:37 am

Re: DevExpress & Table.Rows

Post by odd » Fri Apr 08, 2011 9:30 am

Solution is short enough to be good. Thank you.

Regards, Alexander.