I vote for leaving watir-webdriver simple. If people want these features
they can just use qa_robusta, or monkey patch watir-webdriver themselves.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
In my webapp I have a simple textfield. To this textfield I have a
jQuery function which will be always executed on every keyup. With
this function there is an Ajax request assigned which loads every time
the result of the SQL-Query. My code is equivalent to the code of
RailsCasts
On Tue, Oct 11, 2011 at 10:54 PM, Joe Fl joeflec...@gmail.com wrote:
Why is it like that and should I expect more like this?
Each watir gem (watir, watir-webdriver, safariwatir...) was developed in
isolation, meaning there is no code sharing. That means that the API is not
100% the same. We have
On Wed, Oct 12, 2011 at 7:38 AM, User silvan.hub...@gmail.com wrote:
After it should click
on a link which is placed on the dynamic content with this code
browser.a(:id = link).click. The problem now is that the click
event won't be executed.
I did not understand what is the problem here.
What do you expect when clicking that link and how do you know that it
didn't get clicked?
Jarmo Pertman
-
IT does really matter - http://itreallymatters.net
On Oct 12, 8:38 am, User silvan.hub...@gmail.com wrote:
In my webapp I have a simple textfield. To this textfield I have a
jQuery
Hi All,
I am trying to get the number of checkboxes within a window. I want
to get the value of each one without knowing which one I will be
using.
html
fieldset class=theme-options
input id=simple_discussion_resource_category_ids_ type=hidden
value=
On Wed, Oct 12, 2011 at 3:32 PM, Joe Fl joeflec...@gmail.com wrote:
I am trying to get the number of checkboxes within a window.
browser.checkboxes.size
returns:
1
I want
to get the value of each one without knowing which one I will be
using.
browser.checkboxes.each {|checkbox| puts
I'm seeing an annoying issue that I suspect has to do with objects inside
page frames and Selenium and Watir-Webdriver.
I brought up part of it already in this post:
https://groups.google.com/d/topic/watir-general/gIgtHbFxfbw/discussion
Here's a similar issue:
If I reference some text on a
hi,
my code is
require 'rubygems'
require 'watir'
require 'watir-webdriver'
require 'watir/browser'
include Watir
Watir::Browser.default = 'ie'
$ie = Watir::Browser.new
$ie.goto(www.google.com)
it is working fine while opening for IE but when i change to 'ff' or
'firefox'
it is not opening at
Why do you have watir and watir-webdriver both? I will try with the
following:
require 'rubygems'
require 'watir-webdriver'
browser = Watir::Browser.new :firefox
On 12 October 2011 16:56, Babu suvodasgu...@gmail.com wrote:
hi,
my code is
require 'rubygems'
require 'watir'
require
Hi Željko,
Thank you for getting me started.
I have developed the following code but I an still falling short of getting
the value property.
lists = $browser.div(:class,'add-themes').lis
lists.each do |li|
puts chckbx = li.text
I see we have this same exact question over on StackOverflow..
http://stackoverflow.com/questions/7722712/watir-and-ajax-requests
I vote we deal with the answer over there as that venue is better
about being able to format code samples, edit questions and answers,
etc. No sense duplicating the
i am getting this error
C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/
selenium/webdrive
r/firefox/binary.rb:116:in `path': Could not find Firefox binary
(os=windows). M
ake sure Firefox is installed or set the path manually with
Selenium::WebDriver:
:Firefox::Binary.path=
i got it open.
but not able to navigate to google?
On Oct 12, 12:00 pm, Rahul Sharma rahulsharma@gmail.com wrote:
Why do you have watir and watir-webdriver both? I will try with the
following:
require 'rubygems'
require 'watir-webdriver'
browser = Watir::Browser.new :firefox
On 12
able to navigate the diffent site but when i want to get all the text
form different HTML tag i need to add
require 'watir'
which is giving compliation error as
C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.3.4/lib/watir-
webdriver/vers
ion.rb:2: warning: already initialized constant VERSION
On Oct 12, 9:00 am, Rahul Sharma rahulsharma@gmail.com wrote:
Why do you have watir and watir-webdriver both? I will try with the
following:
require 'rubygems'
require 'watir-webdriver'
browser = Watir::Browser.new :firefox
Also why oh why do you have
include Watir
in there?
--
Oops!
Chuck, thanks for the reminder about Page Object. I just discovered the
source of the problem was that I had two methods with the same name in this
page class.
Argh!
False alarm.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Hi Chuck,
Thank you for help.
I used the parent.
lists = $browser.div(:class,'add-themes').lis
numListStr = lists.length
lists.each do |li|
puts chckbx = li.text
davalue = $browser.label(:text, chckbx).parent.checkbox.value
puts davalue
end
I
but if i not include watir then how ican get all html tags value from
the firefox webpage?
On Oct 12, 1:52 pm, Chuck van der Linden sqa...@gmail.com wrote:
On Oct 12, 9:00 am, Rahul Sharma rahulsharma@gmail.com wrote: Why do
you have watir and watir-webdriver both? I will try with the
Hi!
Try not to reply to me directly, but reply to the watir-general list instead
:)
And what is exactly showing 1.8.7 for you? What would you expect it to
show instead?
Jarmo
On Wed, Oct 12, 2011 at 6:29 PM, Babu suvodasgu...@gmail.com wrote:
i got it...now thanks
it is showing the 1.8.7
On Oct 12, 12:09 pm, Joe Fleck joeflec...@gmail.com wrote:
Hi Chuck,
Thank you for help.
I used the parent.
lists = $browser.div(:class,'add-themes').lis
numListStr = lists.length
lists.each do |li|
puts chckbx = li.text
davalue = $browser.label(:text,
On Oct 12, 12:47 pm, Babu suvodasgu...@gmail.com wrote:
but if i not include watir then how ican get all html tags value from
the firefox webpage?
On Oct 12, 1:52 pm, Chuck van der Linden sqa...@gmail.com wrote:
Include isn't doing what you think it is.
read this:
i was wrong..
i mean to say require 'watir'
if i don't use this then i can't get all the HTML tags
so f i use
require 'rubygems'
require 'watir-webdriver'
browser = Watir::Browser.new :firefox
then can i get all links/all tags from the web page?
thanks
Suvo
On Oct 12, 5:23 pm, Chuck van der
yes
watir-webdriver is based of of watir you should have access to all the
methods supported by elements
http://pettichord.com/watirtutorial/docs/watir_cheat_sheet/WTR/Methods%20supported%20by%20Element.html
On Wed, Oct 12, 2011 at 9:14 PM, Babu suvodasgu...@gmail.com wrote:
i was wrong..
i
24 matches
Mail list logo