Tagged Questions

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 ...

learn more… | top users | synonyms

2
votes
1answer
392 views

Wait until the text-field values are fetched through API in Watir-WebDriver

I am writing the registration script where the API is being called in company registration no field and it fetches all the data regarding company and fill it automatically in according field like ...
1
vote
2answers
190 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
765 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
924 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
426 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
1k 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
615 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
1k 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 ...
18
votes
13answers
14k 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
742 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
3k 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
1k 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
9answers
10k 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 ...