Tagged Questions
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 ...
3
votes
2answers
855 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
784 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
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
483 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 = ...