Hi Marlon,
I tried the above code and I am getting the following error,
Ruby193/lib/ruby/gems/1.9.1/gems/watir-4.0.2-x86-mingw32/lib/watir/loader.rb:48:
stack level too deep (SystemStackError)
Watir version: Watir4.
Please advise what am I doing wrong here.
Thanks,
S
On Wednesday, 4
Hi,
i would like to know how to perform button click from nested div's when it
is nested upto seventh div or more
*input id=btnAddNewCustomer type=submit class=ui-button Action
value=Create New Customer onclick=createNewCustomer()*
*
*
Currently, the script execution neither gives an error nor
Hi,
In my application I've to click on deactivate button which returns a popup (
*Are you sure you want to deactivate this A/B Test? After deactivation,
this test can\'t be activated again.)* with OK and Cancel buttons.I've to
click on 'OK'.
I tried many ways but no luck..Your help is much
Thank you Ethan and Adam so so so so much! You guys solved my problem. We
had similar problem that we stupidly named our ruby test file watirgrid
which is the same file in the watirgrid gem.
It literally took me a week trying to poke around even inside the source
code of the watirgrid to find
Hello all,
I am currently doing my first script using Watir and I am experiencing an
issue. I tried to get an answer by reading many posts but I was not able to
find by myself.
At some point during the scenario that I am automating, a pop-up appears
and I just want to click on a OK button. I
I installed watirgrid on my Mac: OS X 10.7.5, Mac default Ruby 1.8.7 with
all the needed gems, watir, webdriver, rubygems, etc
require 'rubygems'
require 'watir-webdriver'
require 'watir'
require 'watirgrid'
require 'controller'
require 'provider'
# Here's some basic examples in plain Ruby
On Mon, Mar 18, 2013 at 10:45 PM, caoxu2...@gmail.com wrote:
I installed watirgrid
I am not sure if watirgrid is maintained any more. (It is
not officially part of Watir project.)
You can create an issue here: https://github.com/90kts/watirgrid/issues
Željko
--
https://leanpub.com/watirbook
This is a really old post! I'm guessing at the time there wasn't an easier
way of doing this, but now you can do something like the below.
b.metas.each do |m|
puts m.name
puts m.title
end
On Tuesday, March 19, 2013 3:22:30 AM UTC-4, Soori wrote:
Hi Marlon,
I tried the above code and I am
Have you tried to use waiters or delays?
Something like:
@browser.text_field(:name = 'j_username').wait_until_present
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
I don't think that problem in fact that div is nested, but more that click
event is not working as it should
Try
browser.button(:id, *btnAddNewCustomer*).fire_event(onclick)
or
browser.button(:id, *btnAddNewCustomer*).fire_event(onmousedown)
or
browser.button(:id, *btnAddNewCustomer*).send_keys
Provide more of your code like where you put mentioned statements
Have you tried the same things from irb?
--
--
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
Hi Alex,
I'm using cucumber with ruby.I'm using it in step def as below :
Then /^I click deactivate$/ do
browser.button(:class = 'submit120').click
end
Then /^I click confirmation box$/ do
browser.execute_script(window.confirm = function() {return true})
# browser.confirm(window.confirm =
No Success Alex. Sorry
On Tue, Mar 19, 2013 at 5:22 PM, Alex Shtayer ashta...@gmail.com wrote:
I don't think that problem in fact that div is nested, but more that click
event is not working as it should
Try
browser.button(:id, *btnAddNewCustomer*).fire_event(onclick)
or
Hi,
Can someone explain how to disable Java Script Alert message during watir
script execution?
Thanks
--
--
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
This thread is closed. The information is available at following link
*http://watirwebdriver.com/javascript-dialogs/*
On Tue, Mar 19, 2013 at 6:42 PM, Sohail Mirza mrz...@gmail.com wrote:
Hi,
Can someone explain how to disable Java Script Alert message during watir
script execution?
Thanks
This is working now...Implemented as below :
message = @page.confirm(true) do
@page.button_that_causes_the_confirm
end
message.should == Text from the confirm popup
On Tuesday, March 19, 2013 11:24:18 AM UTC, sk.f...@gmail.com wrote:
Hi,
In my application I've to click on deactivate
Hi,
I am trying to resize my IE browser using watir classic. Is there a method
to do that? Currently, the code that I have incorporated into my framework
works for FF and Chrome. Does watir-classic support resizing of IE
browsers? Here's a sample code:
def init_browser
if
Any help on this?
On Tuesday, March 19, 2013 9:03:20 AM UTC-5, Pavan Turlapati wrote:
Hello,
I got one more problem which I need some experts to help
me. I have a radiobutton which is present under the iFrame but when I try
any of the below lines I am getting the
18 matches
Mail list logo