Comments on: Selenium – Please do the dishes! http://www.testuff.com/blog/selenium-please-do-the-dishes/ SaaS Test Management Tue, 05 Apr 2011 10:37:06 +0000 hourly 1 http://wordpress.org/?v=3.2.1 By: OutKa5t http://www.testuff.com/blog/selenium-please-do-the-dishes/#comment-78 OutKa5t Fri, 16 Apr 2010 17:38:21 +0000 http://www.testuff.com/blog/?p=457#comment-78 Throw in Watir http://watir.com/ and you are off on your merry automation ways. Throw in Watir http://watir.com/ and you are off on your merry automation ways.

]]>
By: Yoav Aner http://www.testuff.com/blog/selenium-please-do-the-dishes/#comment-77 Yoav Aner Fri, 16 Apr 2010 15:32:56 +0000 http://www.testuff.com/blog/?p=457#comment-77 I started off with perl and python mechanize, but it takes much harder work, and sites use some fairly complex mechanisms that make it really hard for you (dynamic hidden fields, tokens and whatnot). With Selenium, it's much easier. Most of the work is done by recording using the IDE. Then only a few tweaks are necessary to get it to run more intelligently. That said, perl mechanize scripts are much 'leaner'. They don't require you launch a browser to run, so they take less memory and CPU, and can run virtually anywhere. Passwords are a problem regardless of selenium vs. perl. I recommend using an encrypted drive like Truecrypt (http://www.truecrypt.org/), which you mount when you log on, and then as soon as your computer is rebooted, it's no longer available. Hopefully you lock your screen when you're away from your computer anyway, and I'm running these scripts on a home computer and not a laptop. I started off with perl and python mechanize, but it takes much harder work, and sites use some fairly complex mechanisms that make it really hard for you (dynamic hidden fields, tokens and whatnot). With Selenium, it’s much easier. Most of the work is done by recording using the IDE. Then only a few tweaks are necessary to get it to run more intelligently. That said, perl mechanize scripts are much ‘leaner’. They don’t require you launch a browser to run, so they take less memory and CPU, and can run virtually anywhere.

Passwords are a problem regardless of selenium vs. perl. I recommend using an encrypted drive like Truecrypt (http://www.truecrypt.org/), which you mount when you log on, and then as soon as your computer is rebooted, it’s no longer available. Hopefully you lock your screen when you’re away from your computer anyway, and I’m running these scripts on a home computer and not a laptop.

]]>
By: Richard Hill http://www.testuff.com/blog/selenium-please-do-the-dishes/#comment-76 Richard Hill Fri, 16 Apr 2010 15:13:00 +0000 http://www.testuff.com/blog/?p=457#comment-76 This looked fun. It is similar to some of the mechanize based perl modules on CPAN. http://search.cpan.org/~mwilson/Finance-Bank-HSBC-1.06/lib/Finance/Bank/HSBC.pm The password encryption is a problem is someone steals your laptop and they can access your bank using selenium. But I expect the conviction rate of selenium users is quite a bit lower than average. Indicating that most thieves do not know selenium. This looked fun. It is similar to some of the mechanize based perl modules on CPAN.

http://search.cpan.org/~mwilson/Finance-Bank-HSBC-1.06/lib/Finance/Bank/HSBC.pm

The password encryption is a problem is someone steals your laptop and they can access your bank using selenium. But I expect the conviction rate of selenium users is quite a bit lower than average. Indicating that most thieves do not know selenium.

]]>