No I can search the parent table and for each row I can check what the AccessibleDefaultAction is:
Code: Select all
Ranorex.Table HDTable = RanorexFormName.FindSingle("/form[@controlname='frmMainDialog']/element/form[@controlname='CostItemRegisterForm']/container[@controlname='pnlMain']/*/table", 10000);
foreach (Ranorex.Row row in HDTable.Rows)
{
string strDefaultAction = row.Element.GetAttributeValue("AccessibleDefaultAction").ToString();
Report.Info("Accessible Actions: " + strDefaultAction);
if (strDefaultAction == "Expand detail")
{
//Invoke Action needs to go here
}
}
I cannot click the or double click the row or cell because that does a different action than Expanding the detail table.
Thanks...