Thanks for the screencasts

Experiences, small talk, and other automation gossip.
User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Thanks for the screencasts

Post by Ciege » Mon Aug 16, 2010 7:02 pm

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!
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...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Thanks for the screencasts

Post by Support Team » Tue Aug 17, 2010 12:12 pm

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
.
Image