1
vote
1answer
222 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
176 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 ...
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 = ...