You cannot post messages because only members can post, and you are not currently a member.
Description:
General discussion of using Watir for testing.
|
|
|
Cannot click the link element after scrolling the page
|
| |
Hi, I got one issue to click the link element after scrolling the page. Here is the code. *link1 =...@driver.link(:text, "123") * *y= link1.wd.location[:y]* *...@driver.execute_script("sc roll(0, #{y-150})")* *link1.click* While debugging, I found that *link1.visible?* is false after executing javascript, but the link can been seen on the page.... more »
|
|
PSA: Downloading PDF Files With New Firefox
|
| |
As you may know, the latest version of Firefox has a JavaScript .pdf viewer. This can cause issues when you want to download a .pdf file.
To eliminate problems with the Firefox .pdf viewer in Watir, disable "pdfjs" in Firefox preferences, like so:
profile['pdfjs.disabled'] = true
Here it is in a complete Firefox profile set up for downloading, which you must create before instantiating the Watir browser:... more »
|
|
Watir-webdriver: hover doesn't work for FF 20
|
| |
Hi guys, I faced the issues related to hover method in FF20. hover works in chrome but doesn't work for FF. I've tried to do chenge profile.native_events but it didn't help; also I played with fire_event method- the same result When I run tests in FF I receive the following error in the line when I... more »
|
|
How to locate an element on a mask layer?
|
| |
After I clicked a button,then the site gives a floating mask layer. I tried to find an element on the mask layer using class,like (:class=>"blabla"),but it failed. What should I do to locate the element?
|
|
Watir-webdriver : How to select an option from the list
|
| |
Hi, In my application I've to select an option from the list.I tried as below but its not selecting the option: @browser.select_list(:name => "siteName").select "ccfashion" HTML code: <select id="site" onchange="$('input[name=switch ToSite]').val(true); $('#switchSiteShopAdminForm'). submit();" name="siteName">... more »
|
|
Problem with screenshot.save method
|
| |
Hello, I use "@browser.screenshot.save file" for when I have a problem, but
when I use it and I have a Timeout Exception it doesn't work well, because
it was waiting for page load totally(This page never load because It has a
problem). How can I do for It doesn't wait and capture a snapshoot?
Best Regards... more »
|
|
You are using an old or stdlib version of json gem
|
| |
Hi all,
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 Ruby 1.9.2-p290 environment, and was
presented with the following error when I ran a test script:... more »
|
|
click_no_wait not working
|
| |
I'm having some problems with click_no_wait. I have a button which when clicked displays a modaldialog. I am using click_no_wait when clicking the button the button turns yellow but I am not getting the modal dialog displayed. If I use .click the button turns yellow and the modal dialog is displayed. I have also tried .click! this also... more »
|
|
click_no_wait clicks the button but nothing happens
|
| |
When clicking on a button using click_no_wait the button turns yellow at the point it is clicked but nothing happens as if the button was never clicked. I have tried click! and this does click the button the script haults because a modal dialog is displayed. I have read lots of comments that there have being problems with... more »
|
|
|