Pages
-
Recent Posts
- Announcing ‘bewildr’ – test your WPF UI apps with IronRuby
- How to get the submodules of a ruby module
- Netbeans ‘Cucumber Features’ plugin in Beta!
- Programmatically take screenshot in IronRuby
- ThoughtWorks Anthology: Agile vs Waterfall Testing
- Testing a website on different versions of IE
- How to show all cookies for a page
Recent Comments
Tags
Abbot agile agile testing Automated Testing Books cheat sheet cucumber database Data Conversion Testing Example Code Exceptions FireBug Firefox Firewatir fitnesse Fix Internet Explorer IronRuby ISEB Java mac os x Maximo Mistakes MS Access NetBeans netgear nv+ QA Rational Functional Tester Regular Expressions RQuery RSpec Ruby Ruby on Rails Safari SQL sqlite Standards Test::Unit Test Case Management Test Data testing Tools WATIR white win32oleCategories
- agile
- Automated Testing
- bewildr
- Books
- cucumber
- Data Conversion Testing
- Example Code
- fitnesse
- General Testing Stuff
- IronRuby
- Links
- Making Life Easier
- Manual Testing
- Mistakes
- Rational Functional Tester
- RQuery
- RSpec
- Ruby
- Ruby on Rails
- Test Data
- Test Driven Development
- Test Management
- Test Management
- Test::Unit
- Testing Theory
- Tools
- Uncategorized
- WATIR
- white
- win32ole
Meta
This work by Nathaniel Ritmeyer is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported.
Tag Archives: Firefox
How to show all cookies for a page
It’s not always that you can test a website from the comfort of Firefox + Firebug + FireCookie. When you have to use another browser where checking cookies isn’t so much fun (er… that’s all of them but firefox), you … Continue reading
Posted in Making Life Easier
Tagged browser, cookies, FireBug, Firefox, Internet Explorer, javascript
Leave a comment
Lessons from a watir success story
There aren’t enough UI test automation success stories documented on the net, so here’s my contribution. This post is about how we started with zero automated UI testing capability, and how a couple of months later we had the capability … Continue reading
Posted in Automated Testing, Ruby, Test Management, Test::Unit, Tools, WATIR, agile
Tagged agile, Automated Testing, FireBug, Firefox, Firewatir, NetBeans, Ruby, Test::Unit, Tools, WATIR
10 Comments
Watir’s @browser.url returning the previous page’s url
I’ve come across a page which, when I navigate to it and ask it for it’s url (using @browser.url) gives me the previous page’s url. Very frustrating. To get around this, you can use direct DOM manipulation. Here’s a call … Continue reading
Posted in Automated Testing, Example Code, Ruby, Tools, WATIR
Tagged Automated Testing, Example Code, Firefox, Firewatir, Fix, Ruby, Tools, WATIR
2 Comments
Kill process by name using Ruby on Windows
Though it is possible in ruby to kill a process by its ID in ruby, it isn’t possible to kill processes by name, I guess because it would work differently across operating systems. This is a pain when using watir/firewatir, … Continue reading
Posted in Example Code, Ruby, Tools, WATIR
Tagged Automated Testing, Example Code, Firefox, Firewatir, Ruby, Tools, WATIR
Leave a comment
Exception class/object expected (TypeError) on starting FireWatir
If you get the following… /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:1078:in `raise’: exception class/object expected (TypeError) from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:1078:in `js_eval’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:195:in `get_window_number’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:162:in `initialize’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:177:in `new’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/firefox.rb:177:in `start’ …the problem is that firefox is already running, probably with a dialog box open. … Continue reading
Posted in Automated Testing, Ruby, WATIR
Tagged Automated Testing, Exceptions, Firefox, Firewatir, Ruby, WATIR
Leave a comment
Finding a form by xpath in Firewatir causes ‘Stack Level Too Deep’
If in a firewatir script you look for a form using xpath, you’ll get the following output: SystemStackError: stack level too deep from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/htmlelements.rb:72:in `locate’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:1012:in `exists?’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:965:in `assert_exists’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:1403:in `method_missing’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/htmlelements.rb:75:in `locate’ from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:1012:in `exists?’ … Continue reading
Posted in Automated Testing, WATIR
Tagged Automated Testing, Firefox, Firewatir, WATIR
Leave a comment
How to quit Firefox using FireWatir on a Mac
There seems to be a bug in the way that FireWatir on the mac quits firefox… it doesn’t! When you try, you end up with a dialog box saying: Close Firefox A copy of Firefox is already open. Only one … Continue reading
Posted in Automated Testing, Example Code, Ruby, Tools, WATIR
Tagged Automated Testing, Example Code, Firefox, Firewatir, Ruby, Tools, WATIR
Leave a comment














