Paul Mendoza C# blog
Saturday, August 18, 2007
  BarCamp: Session on Selenium by Nelz
It's lunch now today at BarCamp. I've met a bunch of great people and been in two really awesome sessions so far. The second session I went to was Nelz's session on Selenium which is a tool for Firefox for testing a website. As I was sitting through the presentation I took down some notes and I'll just drop them below. Forgive me for the errors.


Selenium <-- AKA: a cure to mercury poisoning.

  1. Runs across OS's and browser.
  2. Uses Javascript and iFrames to embed a test into your browser. Drives your app. Interact with JS to emulate user actions.
  3. It can control starting the browser and closing it. AUTOMATED TESTING!
  4. Selenium IDE
    1. Has debugging
    2. Easy selection of on page elements
    3. Recording and playback of the tests. Just start the recording, step through the pages and then save the recording. The script of the steps can then be passed onto other developers easily or other people with Selenium to do the test themselves.
    4. Saves tests off in multiple formats such as Ruby, PHP...
  5. Shortcomings of IDE
    1. Firefox only
      1. The recorded session can be played in any browser.
    2. Sometimes thrown off by AJAX events.
  6. No one does RAILs at this presentation.
  7. Tests can be handed off to other people so that they can run the test themselves to see the issue as well. Great for showing the problem.
    1. A script of the test can be exported as Java, C#, HTML, Python, Ruby so that Selenium Remote Control can run the script as part of the main tests.
  8. Doesn't to browser version testing.
  9. "Click and Wait" can have a wait time set for it.
  10. J-Meter can be used for performance testing.
  11. Fitness is another testing tool.
  12. Look into Floyd for testing browser tests. It speaks to the browser via the browser API.
    1. Javascript has limitations because of the security.
 
Comments: Post a Comment





<< Home
I am currently an ASP.NET, C# developer working on MangosteenNation.com, a XanGo website for helping people build their businesses. I am also pursuing a degree at CSU San Marcos in Southern California.

XanGo at Mangosteen Nation

Archives
October 2005 / November 2005 / December 2005 / January 2006 / February 2006 / March 2006 / April 2006 / May 2006 / June 2006 / July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / January 2007 / April 2007 / May 2007 / June 2007 / August 2007 / February 2008 / August 2008 /


Powered by Blogger

Subscribe to
Posts [Atom]