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: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

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.
You do not have the required permissions to view the files attached to this post.

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

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

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.