Watir, pronounced "water", is an acronym standing for "Web Application Testing in Ruby". Watir is a toolkit used to automate browser-based tests during web application development. It uses the Ruby scripting language to drive Internet Explorer, Mozilla Firefox, Google Chrome, Opera and Safari, and ...
1
vote
2answers
70 views
Validate worksheet name using WATiR
How to validate the worksheet name / file name of Excel and CSV files in WATiR?
Because if we save the CSV file in with different name, the worksheet name will also change while in Excel it will ...
1
vote
2answers
349 views
Include Watir test cases in a Continuous Integration system
Did anyone succeed deploying Watir test cases to a continuous integration system such as Team City or Hudson?
I'm trying to find a way to have the test scripts executed and have the results generated ...
2
votes
1answer
275 views
Watir : NoMethodError: undefined method `click' for nil:NilClass
I'm trying to expand a dynamic section of the UI without much success. It works like a charm in the console (using the rubyshell instance) but when I execute this in a batch on TestWise I get this ...
2
votes
1answer
238 views
Cucumber and Watin for Acceptance testing in Asp.Net MVC
If the business owner/QA are writing/running the Acceptance test against the front end of a Asp.Net Mvc Application, is there a benefit to using SpecFlow/Watin or SpecFlow/Selenium over ...
3
votes
2answers
853 views
Watir, Selenium::WebDriver for Chrome?
I've been using Watir for a month or so now and use
profile = Selenium::WebDriver::Firefox::Profile.new
profile.proxy = Selenium::WebDriver::Proxy.new :http=> proxy # proxy = "IP:Port"
This ...
5
votes
1answer
461 views
Can you use Watir successfully with AJAX\GWT Applications
It seems that some UI automation tools struggle with GWT grids & the asynchronous aspect of Ajax based applications. Has anyone tried Watir with an GWT\Ajax application. Please share your ...
4
votes
2answers
782 views
Is drag-and-drop possible in watir-webdriver?
I would like to drag-and-drop one element to the position of another, triggered from within a watir-webdriver script.
By "drag-and-drop" I mean picking up a draggable element and releasing it on ...
14
votes
11answers
7k views
Under what circumstances is Sikuli better for test automation than Selenium or Watir?
The Sikuli website says:
Sikuli is a visual technology to automate and test graphical user
interfaces (GUI) using images (screenshots).
Under what circumstances is Sikuli a better technology ...
3
votes
1answer
360 views
Problems with escaping the equals sign in a Watir Robot argument
We're currently using the very lovely Robot Framework for our automation.
Unfortunately, we've run into a hitch with the '=' character - we have a number of places in the app where we have a link to ...
7
votes
3answers
2k views
Good Watir or Watir-Webdriver tutorials/resources for new-to-automation testers?
There are at least two really good books for Selenium beginners, and quite a few courses/tutorials out there, as well as a lot of blogs.
However, I haven't seen quite as much out there for Watir - ...
2
votes
2answers
482 views
How can I select a file to put into a file_field without using the absolute path with Watir / Ruby?
For example, consider the following script:
require 'rubygems'
require 'watir-webdriver'
browser = Watir::Browser.new(:firefox)
browser.goto("http://tinypic.com/")
file = ...
11
votes
8answers
5k views
Whether to choose Selenium over Watir or Lightweight Test Automation when testing web applications created using c sharp?
I am currently researching testing frameworks to test c sharp developed web applications. I have been leaning more towards the use of Selenium over Watir or Lightweight Test Automation but hesitant ...