Watir-webdriver is an open source framework for testing web applications. It is a Ruby implementation of Webdriver and allow supported browsers IE, Firefox, Chrome and HTML Unit to be driven using the Watir API.

learn more… | top users | synonyms

2
votes
1answer
286 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 ...
0
votes
1answer
37 views

Pre-load database for testing

I'm a bit new to mocking data for testing. I'm using ruby in conjunction with watir-webdriver and I have a local version of the app. I'd like to run a script which empties the tables of the local ...
1
vote
2answers
180 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
1answer
121 views

Best resources for learning Ruby/Cucumber/Rspec test suite organization and refactoring [closed]

I'm working with a Cucumber suite that needs refactoring and organization. The end goal is to have a maintainable suite of tests that matter enough that developers will stop if the cucumber tests are ...
4
votes
1answer
445 views

Watir WebDriver in conjunction with Java [closed]

Is it possible to use Watir WebDriver in conjunction with Java? I have to execute some Java methods for dealing with data in DB in order to simulate different situations and test website UI using ...
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 ...
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 ...
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 = ...