The Spy tool can detect the table object but I can't detect any of the individual cells in the table.
When I add the table object to the repository (including all of its children) I see:
- that the all of the columns have been correctly identified
that the data contained in the first actual row of the table has been identified as well
When I use the following code to interrogate table:
Code: Select all
// Get the number of screen table rows.
overviewScrTableRows = MyRepo.InterfaceAdministration1HkMess.OverviewTable.Rows.Count;
Report.Log(ReportLevel.Info, string.Format("There are {0} rows in the Overview table on the Interface Administration window.", overviewScrTableRows));
// Get the number of screen table columns.
overviewScrTableColumns = MyRepo.InterfaceAdministration1HkMess.OverviewTable.Columns.Count;
Report.Log(ReportLevel.Info, string.Format("There are {0} columns in the Overview table on the Interface Administration window.", overviewScrTableColumns));
- 2 rows
0 columns
Very grateful for help on this one...
PS: I'm able to upload screenshots of the test execution report and of the table in question. I'm not currently allowed to submit a snapshot of the table object unfortunately.
Using:
Microsoft Dynamics AX 2009
Ranorex 4.1.2.16100