Questions tagged [watir-webdriver]

Watir (Web Application Testing in Ruby) implementation built on WebDriver's Ruby bindings. Used for web browser automation, this tool allows you to code in Ruby using the friendly Watir API but get the cross browser support of Webdriver to automate Chrome, Firefox, IE, Opera or a 'headless' browser. Distributed as a Ruby gem named 'watir-webdriver'

For those who don’t know what Watir-WebDriver is, it’s basically a nice Watir (ruby) implementation on WebDriver, so it gives you five browsers (four real, one headless) using one neat API, out of the box.

The Watir API uses an object model that parallels the HTML element model and the browser DOM. This allows you to write very natural OOP code where you can have a button in the UI click itself. (as opposed to Selenium where the 'browser' object does everything, and takes the elements as parameters for methods like click.

See: watirwebdriver.com

1623 questions
0
votes
1 answer

Watir Webdriver : Can we use watir to test web services with json data format

I am new in testing web services with json data format. I use watir for my automation. So just wanted to know if it can be done with Watir. I am also looking for other options so all suggestions and links to tutorial are more then welcome.
NewTester
  • 301
  • 1
  • 5
  • 14
0
votes
0 answers

One test suite for functional and performance test

I have been playing around watir-webdriver-performance gem of late and I am quiet interested to test the functionality and performance of the website using single test suite. Thanks to Alister Scott for this Now I want to include this into my env.rb…
Boon
  • 401
  • 1
  • 6
  • 17
0
votes
1 answer

Selenium: Element Not Visible Error when RDC minimized

I'm running WATIR automated tests using Selenium WebDriver on a Windows XP remote desktop, and I noticed that when I minimize the RDC I start getting random Element is not currently visible errors for my assertions. If I leave the RDC maximized and…
0
votes
1 answer

Need to implement Watirgrid,

I want to implement watirgrid, but I'm not able to do that, every time I'm getting errors related with controller and provider starting process, Also all the example over internet, none of them are working. Could any one please help me to implement…
Gaurav Sharma
  • 349
  • 4
  • 13
0
votes
1 answer

Watir-webdriver with firefox

I'm working on web-application automation using ruby and ruby's framework watir-webdriver with Firefox v20.0.1, when I use file_field function to get the file, it gives the following errors: Element is not currently visible and so may not be…
0
votes
1 answer

watir webdriver contains_text replacement?

I found in another forum that the contains_text method has been deprecated in watir webdriver. I will be darned if I can find documentation showing precisely what methods webdriver supports. You might think http://watirwebdriver.com/ would have…
Kevin MacDonald
  • 650
  • 8
  • 21
0
votes
1 answer

Native Events error trying to double-click element using watir-webdriver

I am writting automatic test for GWT application. And I try to double click on table element. I am using this code fo click: browser.element(:xpath,…
user2239655
  • 830
  • 2
  • 11
  • 28
0
votes
1 answer

Loading chrome with extension using watir-webdriver gives Timeout error

I have HTML Tidy extension installed in chrome. When I do: b = Watir::Browser.new :chrome The Chrome browser opens up but without extension. So I used following: b = Watir::Browser.new (:chrome, :switches =>…
UserPD
  • 21
  • 4
0
votes
1 answer

Trying to start up IE on watir-webdriver on windows xp, getting "Errno::EPERM: Operation not permitted - bind(2)", stacktrace points to 'port_prober'

So I'm on Windows XP, and I'm trying to get the watir-webdriver to run Internet Explorer 8. I've already added IEDriverServer.exe to the /bin for cygwin. I also disabled the windows firewall and anti-virus software temporarily, and am still getting…
0
votes
2 answers

How do I copy data from web page and paste it in file for further use with ruby, watir and cucumber?

The first scenario is run as part of the feature file registration.feature (feature1) and has the following content: Scenario: User can register as a Free account Given I am on the home page When I navigate to the Register page And set all…
Bastian
  • 101
  • 2
  • 4
0
votes
1 answer

Watir Measure Page Performance

Ive found this gem : http://watirwebdriver.com/page-performance/ But i cant seem to understand what this measures browser.performance.summary[:response_time]/1000 Does it start measuring from the second i open the browser? Watir::Browser.new…
MichaelR
  • 969
  • 14
  • 36
0
votes
2 answers

Need help to access Chrome toolbar using Watir webdriver

I have Chrome extension downloaded whose icon is in toolbar and I need to access it. I am using Chrome on Windows 7. is this possible using watir?
0
votes
1 answer

Watir Webdriver / Ruby How To JavaScript Select onclick (Calendar)

I'm wondering how to select a calendar date from a page using Watir Webdriver. The URL I'm testing is: http://dev01-new.firestonecompleteautocare.com/appointment/schedule-appointment.htm?execution=e2s4 You have to get to the third step in order to…
0
votes
1 answer

How I can get all links from HTML using watir?

I need to get array of all links on HTML page. How I can do this?
Tomali
  • 9
  • 1
  • 4
0
votes
1 answer

How to choose an element from drop down with watir, that is NOT visible

I write test task and have an error Scenario: Set "Whiskey" value from dropdown menu # features\task2.feature:10 Given I am on the page with "ComboBox" example #…
Sergii
  • 1,017
  • 1
  • 10
  • 19
1 2 3
99
100