Thanks for the screencasts : Automation Discussions

Thanks for the screencasts

Experiences, small talk, and other automation gossip.

Thanks for the screencasts

Postby Ciege » Mon Aug 16, 2010 8: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
Ciege
 
Posts: 907
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA

Re: Thanks for the screencasts

Postby Support Team » Tue Aug 17, 2010 1: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
User avatar
Support Team
Site Admin
 
Posts: 4289
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation Discussions

Who is online

Users browsing this forum: No registered users and 0 guests