Thanks for the suggestions, many ways to skin a cat! Oscar, I understand
your point about an element existing but can still be not visible.
Interestingly, both 'should_be present' method caused problems:
undefined method `present?' for []:Array (NoMethodError)
Both
as to why this should happen?
Thanks,
Barry.
ERROR:
Scenario: Registered user logs in to account
And a user exists
When I enter my login details
Then I should have access to my account
undefined method `exists?' for []:Array
event is going to make that visible. Watir won't interact with an
element that isn't visible to the user, because a real user wouldn't be
able to do that either.
On Wednesday, October 3, 2012 1:49:52 AM UTC-4, Barry Horgan wrote:
I notice that the source html that the select section
':-
https://spreadsheets.google.com/spreadsheet/viewform?formkey=dGtlWGJjbWhuSlAyMHhLdXc2eE0wX2c6MQ
Barry.
On Monday, September 24, 2012 9:02:25 AM UTC+10, Barry Horgan wrote:
still no resolution! get the following error using this code:-
def select_redemption_option
puts
Hi Adrian,
could you post the code you used to solve this? I have been trying to get a
solution for days and cannot figure out how to select an option from a drop
down menu, it is driving me crazy!!!
thanks,
Barry.
On Tuesday, September 25, 2012 9:30:33 PM UTC+10, Adrian Killens wrote
, waiting for {:tag_name=select,
:id=redeumption} to become present (Watir::Wait::TimeoutError)
I can see the test running, the drop down is clicked and the options
display.
On Friday, September 21, 2012 6:30:01 PM UTC+10, Željko Filipin wrote:
On Fri, Sep 21, 2012 at 4:03 AM, Barry Horgan
on a specific value.
Works through Selenium IDE using 'select | id=redeumption | label=Single
(@driver.find_element(:id, redeumption)).select_by(:text, Single)
On Wednesday, September 19, 2012 8:58:38 PM UTC+10, Željko Filipin wrote:
On Wed, Sep 19, 2012 at 8:02 AM, Barry Horgan
bho
Hi,
i have been struggling to get this to work today, looked through a lot of
examples and previous threads but still unable to find a solution. I know
it must be something simple - i just can see it!
I am using Cheezy's page-object gem trying to select an option from
a drop down list on the
thanks Željko, that works for me.
On Friday, July 20, 2012 6:49:48 PM UTC+10, Željko Filipin wrote:
On Fri, Jul 20, 2012 at 2:22 AM, Barry Horgan
bho...@spreets.comjavascript:
wrote:
When I add credits to users account credit_amount expiry_date
...
Step definition:
def
i am having a problem with a feature file that i am currently working on, i
want to pass two arguments from one line of the feature file (from table)
to my step definition - is this possible? any of the examples i have looked
at in The Cucumber Book seem to have one argument per line.
Feature
things from a console.
From: Barry barry...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Wednesday, January 11, 2012 1:04 PM
Subject: [wtr-general] Segmentation fault when using thread, watir, and Tk
I use Tk to create GUI to invoke
Thanks. I will just use Tk.
Barry
On Jan 10, 10:35 am, Dave McNulla mcnu...@gmail.com wrote:
Sounds like shoes has an unsupportable design. You could try to fix that,
but it's probably a lot of work. Your alternative is to use an older
ruby/watir.
Good luck
Dave
--
Before posting
I use Tk to create GUI to invoke watir. When I click a button, IE
window should be opened. To avoid the freezing UI, I put it into a new
thread. This worked until everything finished and I closed Tk window.
There will be segmentation fault. I am not familar with Thread in
Ruby. Should I clean
But shoes has a ruby intergrated inside itself. For that ruby, there
is no gem executable.
On Jan 10, 12:43 am, Dave McNulla mcnu...@gmail.com wrote:
can't you just run c:\ gem -v to see the version you are using of gems?
And if you are using the wrong one, run c:\ gem update --system
Dave
if other people could open IE windows in a way as
watir-webdriver for Firefox.
Barry
On Jan 9, 2:58 am, Chuck van der Linden sqa...@gmail.com wrote:
if you open multiple IE sessions manually do they share cookies? if
so this is a fundimental IE thing and there's not much we are likely
-want-two-cookies
Caveat: I haven't tried these instructions. I think I got something working
briefly back in 2007 but I ended up not using it as I didn't need to test
something like a shopping cart.
From: Barry barry...@gmail.com
To: Watir General watir
to figure out which window to attach to.
i think someone suggested VM as the solution. It might be easier to set up
multiple VM instances.
From: Barry barry...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Monday, January 9, 2012 10:01 AM
?
Thanks,
Barry
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
Nobody has this problem? All your IE windows have different sessions
with watir?
Barry
On Jan 6, 10:34 pm, Barry barry...@gmail.com wrote:
I tried to open two IE windows at the same time. In watir-webdriver,
Firefox alway open them in seperate session. But in Watir, the two IE
windows share
, new. But all didn't work.
require watir
browser = Watir::IE.new
browser.goto(link)
.
Thanks!
Barry
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general
I tried to log into the website with Watir. But the password field has
error [remote server] resource://fxdriver/modules/atoms.js:9380:in
`unknown': Element is no longer attached to the DOM
Selenium::WebDriver::Error::StaleElementReferenceError). How to solve
this problem?
require watir-webdriver
It works!! Thanks for your quick response!
I set the sleep() because I thought the webpage was not fully loaded.
Thanks again.
Barry
On Dec 21, 10:44 pm, Chuck van der Linden sqa...@gmail.com wrote:
Why the long sleep after setting the address?
for the password, the field is reacting
22 matches
Mail list logo