watir-webdriver Questions

2

Solved

I have a text-field on a HTML page which checks whether you have entered a value between 1 to 365. If the user enters an invalid value like a non-numeric character or a value which does not fall in...
Theatrical asked 17/11, 2011 at 8:22

2

Solved

I have the following code code on my page I wanna check: ... <p class="tags-link"> <a href="/search?q=test1" rel="nofollow">test1</a> <a href="/search?q=test2" rel="nofollow...
Phonation asked 24/6, 2013 at 13:28

2

I try to get a resized 400x400 screenshot of google. I try this both in Selenium and Watir with no success. require 'watir-webdriver' b = Watir::Browser.new b.goto 'google.com' b.window.resize_to(...
Jauch asked 24/7, 2013 at 7:58

2

I was hoping someone could help me with a problem I am encountering when running my cucumber tests. I receive the following error: Timeout::Error (Timeout::Error) C:/Ruby193/lib/ruby/1.9.1/net/...
Hollington asked 17/8, 2012 at 11:49

1

Is there any way to get the page size (in bytes) from the browser with Watir Webdriver? I need to record it for every page (I'm interested into the overall sum, not into detail of each object), so ...
Zeniazenith asked 20/6, 2013 at 10:25

1

Solved

Is there any notable difference between sleep 10 and wait_until(10) They both seem to do the same thing: wait 10 seconds then proceed to the next step
Lucier asked 7/6, 2013 at 13:59

2

Solved

I've done a few searches and I'm unable to find a suitable answer. Basically I have an unordered list which can be of a varying length. I want to iterate through the list, do some other things and ...
Crocein asked 30/8, 2011 at 15:27

4

Solved

I've seen the following issue mentioned in another thread a few days ago amongst other problems, but the solution for this issue (to me) didn't seem to be addressed. I recently ran a test on my Ru...
Bybidder asked 14/5, 2013 at 12:52

3

Solved

I currently use Watir-webdriver for all my front end testing, but the development team use Capybara to run their tests on Jenkins CI. We both use the same Cucumber features. Is it worth us doing ...
Firewarden asked 21/12, 2012 at 14:17

2

Solved

I've got code for a table header: <thead> <tr class="ui-jqgrid-labels ui-sortable" role="rowheader" style=""> <th id="categories_formName" role="columnheader" class="ui-state-defau...
Eaton asked 16/4, 2013 at 17:53

1

Solved

I am new to watir testing. Would somebody help me to find the following element. <div class="location_picker_type_level" data-loc-type="1"> <table></table> </div> I like...
Samuella asked 22/3, 2013 at 13:1

2

Solved

I'm using watir-webdriver, and when clicking on a link with target="_blank" it opens a new window, which I have no control of, but still need to verify that something other than 404 page opened, an...
Physics asked 5/3, 2013 at 20:12

1

I currently have a rails app that uses rspec and watir-webdriver for my integration tests. I want to run my integration tests in a headless browser (for speed purposes). Since my development is don...
Mychal asked 21/11, 2012 at 11:37

1

Solved

I need click on a specific coordinates of a element with watir-webdriver. With selemium-webdriver it will be looks like: @driver.action.move_to(element, 30, 0).click.perform But how do it with w...
Delivery asked 4/2, 2013 at 11:6

3

Solved

How can you specify the size of the browser window opened when you call the following with watir-webdriver? browser = Watir::Browser.new(:firefox)
Plumber asked 25/5, 2011 at 14:44

1

Solved

I am new to Ruby and Watir-Webdriver. I have a suite of automation for our site written in VBScript and I want to convert it to Ruby/Watir because I now have to support Firefox. I've found I really...
Saccharide asked 13/11, 2012 at 16:12

1

I'm running Cucumber 1.2.1 with Watir-webdriver 0.6.1 to test a webpage. Locally all the test run ok, but when trying to launch them on a CI machine (Jenkins) i have a timeout when filling a javas...

1

Solved

Here's a study case: <html> ... <embed name="foo"> <embed name="bar"> ... </html> I'm trying to reference the embed element named "bar" using Watir Ruby's API. The elemen...
Contumelious asked 12/10, 2012 at 15:17

2

I am trying to use the WebDriver to navigate through a https site and download a file using WebDriver. When I did it like this, the file download dialog popped up. WebDriver driver = new ChromeDri...
Danica asked 5/9, 2012 at 19:2

1

Solved

How can I refresh a page using watir-webdrive? I tried what they are saying here: http://watirwebdriver.com/sending-special-keys/ , but no luck. browser.send_keys :f5 Any other suggestions? Than...
Principate asked 31/8, 2012 at 12:52

1

Solved

I'm in the process of migrating some of our legacy Watir scripts over to Watir-Webdriver. The migration has gone mostly well except for how they designed Watir-Webdriver to handle popup windows. Ra...
Uird asked 6/8, 2012 at 21:3

1

Solved

I am trying to click all links on stackoveflow horizontal menu (Questions, Tags, Users, Badges, Unanswered). I have this code but this clicks on first link (this link is Questions), then prints 1, ...
Toxophilite asked 3/8, 2012 at 0:4

2

Solved

I need help with something that seems simple but confuses me. Trying to write some fuzzy matching method that copes with differences in format between what value is computed as needed, and which ar...
Adley asked 13/7, 2012 at 19:11

3

Solved

I am trying to automate a block appearing on the website and comparing its content through CMS table. The issue is I have managed to automate the block appearing on the UI but when I login as admin...
Branham asked 7/6, 2012 at 10:7

3

Solved

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 a...
Champac asked 28/6, 2011 at 8:31

© 2022 - 2024 — McMap. All rights reserved.