Sunday, February 14, 2010

Chapter 53/Day0: Watir-Webdriver Journey

Here is the first Days worth of notes with watir-webdriver and selenium-webdriver.
  1. First experiment is to run ruby script #1.
  2. Second experiment is "#2" link.
  3. 2/6/2010: Used Ruby 1.8.6 on Vista.
  4. 2/6/2010: Could not install selenium-webdriver on Mac. (PROBLEM) error-msg-mac
  5. 2/7/2010: Used ruby 1.8.7 on Ubuntu. Had to install 32-bit version of Chrome on Ubuntu.
  6. 2/7/2010: Rebuilt OpenSolaris in VirtualBox on Vista PC/done. Then installed ruby-dev,
    SUNWjruby, SUNWruby18 (plus 37 other packages) (245.03 MB) using Package Manager.
    Then I "su -" to root and ran "gem update --system". Still getting an error message when
    I try to install "gem install selenium-webdriver". error-msg-link
  7. Also found the following other reference related to some of the above errors.
  1. Found reference to run "sudo port install libffi" on mac for missing ffi.h errors so
    upgrade macports and then ran command for libffi-3.0.8 package. Downloaded
    3.0.0 ftp package and ran "configure" and "make install" and got these errors.
  2. Installed selenium-webdriver's dependencies independently (rack (1.1), json_pure (1.2), ffi (0.5.4), and rspec (1.3.0).
  3. Then installed selenium-webdriver (0.0.16) successfully and then watir-webdriver (0.0.1.dev5) successfully.
  4. Then try mac version as documented above in table.
  5. GIT location for watir-webdriver:
  6. Who else is working on watir-webdriver?
  • Jari Bakken is the only one who's written code so far. Ċ½eljko Filipin has been very
    helpful with testing, documenting and spreading the word.
  1. What google/yahoo e-groups do I plan to use?
  • Use and selenium-dev lists.
    Also the list (on Rubyforge IIRC).
    (only me)
  1. IDE being used by watir-webdriver developers: (was: Which IDE? Eclipse, Netbeans, Redmine, Intellij)
  • Jari usually prefers simple text editors over IDEs;
    TextMate on OS X and emacs everywhere else.
    If I were to pick an IDE, it would be RubyMine.
  1. What is the best way to communicate?
    -- Google Talk, e-groups, email, twitter, IRC (sorted)
    IRC (I'm in #watir on freenode), but you can also reach me on email or
    GTalk. I've also had good experiences collaborating on open source
    projects with Google Wave.
  2. Research OpenSolaris contacts/old paperwork. (done)
Jari's Advice on Patches/Pull Requests
  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don’t break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your
    own version, that is fine but bump version in a commit by itself I can ignore when I pull).
  • Send me a pull request. Bonus points for topic branches.
2/13/2010 Request:
I would like to help out with watir-webdriver so I have been
setting up different environments (see Summary Wiki below) and
installing the software (selenium-webdriver and watir-webdriver).

No comments:

Post a Comment