I'm trying to find a GUI item in user code. The user code knows the parent of the item inquestion via a RepoItemInfo, and constructs the relative RanorexPath to the item. But how do I apply the relative path? RepoItemInfo has no method (or at least, I failed to find it) to return items that match a specified path, like
Code: Select all
Adapter[] RepoItemInfo.FindChildren(RxPath path); // does not exist
Code: Select all
VerifyColumnSort(RepoItemInfo grid, string column, string direction, string sortType)
The RanorexPath for a cell, relative to "grid", is "row/cell[accessiblename='cell_name']". An expression that matches all cells of the column is "row/cell[@accessiblename~'column_name$'] (this is no because of the peculiarities of the grid implementation).
Ranorex version is 9.3.1.
Hoping for advice!
Hans