Page 1 of 1

Thanks for the screencasts

Posted: Mon Aug 16, 2010 7:02 pm
by Ciege
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. :oops:

Thanks guys for taking the time to post the screencasts! It certainly gave me a tip I hadn't thought about before!

Re: Thanks for the screencasts

Posted: Tue Aug 17, 2010 12:12 pm
by Support Team
Ciege wrote:Thanks guys for taking the time to post the screencasts! It certainly gave me a tip I hadn't thought about before!
You are welcome! And thanks for the positive feedback, I'll forward it to the guys responsible for creating the screencasts! :D

Regards,
Alex
Ranorex Team