Being a (relatively) longtime user what could I possibly learn from the screencasts the guys at Ranorex made for us? Nothing (or so I thought)... Watching the RanorexPath Part 2 screen cast gave me a very simple and elegant (and embarrassingly so) easy solution to something I made difficult to do. That being the finding a cell or table item in a row that contains other data.
Your solution (pseudo code)
Code: Select all
Ranorex.Cell foocell = /foo/cell[@text=My Text]/../cell[@accessiblename~'Amount"]
My solution (pseudo code)
Code: Select all
Ranorex.Cell foocell = /foo/cell[@text=My Text]
Ranorex.Element fooelement = foocell.parent
Ranorex.Cell myrealcell = fooelement/cell[@accessiblename~'Amount"]
Your 1 line of easy code trumps my 3 lines of confusion.
Thanks guys for taking the time to post the screencasts! It certainly gave me a tip I hadn't thought about before!
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...