Good work Jasmine. :) Really helpful. Thanks
2011/6/29 Jasmine
> I have resolved the problem.
> ie.li(:text."q").text
>
> On 6月29日, 上午11时50分, Jasmine wrote:
> > ie.li(:text,"q").click .the satement can get the value,but "click" is
> > not right.I need click the name
> > On 6月29日, 上午11时35分, Jasm
I have resolved the problem.
ie.li(:text."q").text
On 6月29日, 上午11时50分, Jasmine wrote:
> ie.li(:text,"q").click .the satement can get the value,but "click" is
> not right.I need click the name
> On 6月29日, 上午11时35分, Jasmine wrote:
>
>
>
> > How to get the value of the li tag?
> > There are code ab
ie.li(:text,"q").click .the satement can get the value,but "click" is
not right.I need click the name
On 6月29日, 上午11时35分, Jasmine wrote:
> How to get the value of the li tag?
> There are code about the question
>
>
> q
> t
> I want to get "q" or "t",there is only data if use
> ie.li(:class,"dy_b
How to get the value of the li tag?
There are code about the question
q
t
I want to get "q" or "t",there is only data if use
ie.li(:class,"dy_bgg"),I need to get the value and click it
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-ge
Hi all,
I am migrating my test scripts from watir to watir webdriver.
Watir webddriver is amazing!
But lots of errors occured with the Table class.
Is row_count method not supported any more or which method i should use to
instead?
Regards
eason
--
Before posting, please read http://watir.c
Doesn't that come from the activesupport library? I don't think the Fixnum
class
has support for that.
- Original Message
From: Reciprocity
To: Watir General
Sent: Tue, June 28, 2011 1:08:04 PM
Subject: [wtr-general] Watir 1.9.1 testing error
I'm runing my scripts through Watir
I'm runing my scripts through Watir 1.9.1.rc1 on IE8, Win7 and Ruby
187. I have this code:
puts 1.year
I get this error:
undefined method `year' for 1:Fixnum (NoMethodError)
This code has always worked in the past. Does anyone know what has
changed for this not to work anymore?
Thanks in advan
This thread should have useful information:
http://stackoverflow.com/questions/5073552/rspec-ruby-basic-example-error
Hope it helps.
orde
On Jun 28, 7:39 am, Parag Dave wrote:
> Thanks Zeljko,
>
> This will really helpful.
>
> But i have some problem i am not able to understand how to run this
On Tue, Jun 28, 2011 at 5:49 PM, Anne Mordkoff wrote:
> solved this problem -- don't need the require 'watir'
> however, when I run my test and try to open the browser (ie)
> using Watir::Browser.new :ie
> I get a timeout error
> C:/Ruby/Ruby187/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill': execut
Thanks, Raveendran -- that did it...
On Tue, Jun 28, 2011 at 1:50 AM, Raveendran P wrote:
> Hi Anne,
>
> I have no idea how Watir can do this...
>
>
> But i can give the ruby solution to you
>
>
> Solution:
>
> 1. Collect the entire HTML of the page -- @text=@ie.html
> 2. Search the text "" in t
solved this problem -- don't need the require 'watir'
however, when I run my test and try to open the browser (ie)
usingWatir::Browser.new :ie
I get a timeout error
C:/Ruby/Ruby187/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill': execution expired
(Timeout::Error)
from C:/Ruby/Ruby187/lib/rub
I did a gem cleanup because I had multiple versions of watir-webdriver,
added the require for watir-webdriver and added your suggested change
(browser.h2s.size).
When I ran my test I got an error...(NextTest.rb is my test script)
my list of require statements:
require 'rubygems'
require 'watir
Oh, man, Jari - The gains in speed from going this way instead of reading
the logs in the browser are amazing.
I only wish I'd known about open-uri 6 months ago!
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
h
Thanks Zeljko,
This will really helpful.
But i have some problem i am not able to understand how to run this
test.
I created one file named bowling_spec.rb
# bowling_spec.rb
require 'bowling'
require 'rubygems'
require 'rspec'
describe Bowling, "#score" do
it "returns 0 for all gutter game" d
On Tue, Jun 28, 2011 at 3:55 PM, Parag Dave wrote:
> How can i generate report (That has visual identification like Fail
> test is in red line or any symbol and Pass test is in Green) with
> watir. Also how much time it took in the one test script. Is there any
> tool or gem that help to create lo
Hello All,
Here is the one important question.
How can i generate report (That has visual identification like Fail
test is in red line or any symbol and Pass test is in Green) with
watir. Also how much time it took in the one test script. Is there any
tool or gem that help to create logger report
On Tue, Jun 28, 2011 at 3:28 PM, Parag Dave wrote:
> Like Upload the file
This could help:
http://wiki.openqa.org/display/WTR/File+Uploads
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
--
Before posting, please read http://watir.com/support. In short:
Hi Orde,
DO we have any documents for the Java Scrip and accessing the DOM
element? Because some of the things i can not able to access in the
Watir. Like Upload the file it can able to click the javascript button
but can not select the file from the popup window.
On Jun 27, 1:35 pm, orde wrote:
On Tue, Jun 28, 2011 at 1:56 PM, Deep wrote:
> Expected Path and line number of the above mentioned Step definition :
> lib/steps/product_details_steps.rb:8708
> After executing the cucumber file, Actual Path and line number of Step
> definition seen in HTML file : lib/steps/product_details_steps.
cucumber file name:UMB_001
Gerkhin Code in cucumber file:
@Umbrella-UMB_001
Feature:sdhfgdfgtwueiytwi
Scenario: Verifying policy information returned
Given the user is on the policy details page
And Certified Acts of Terrorism Rating Factor is pre-filled as 1% and
grayed out
_
Fea
On Tue, Jun 28, 2011 at 11:17 AM, Deep wrote:
> I have a step file (SF) which contains more than 6000 lines. I execute
> a feature file line that executes a step definition (in line 4500) in
> step file SF successfully. However in HTML result file it is shown as
> line 330 instead of line 4500.
W
Hi,
In WATIRCRAFT, we have a result file created for every execution of a
feature file (cucumber file) in HTML format which specifies the line
number of the step definition executed for each feature file line.
I have a step file (SF) which contains more than 6000 lines. I execute
a feature file l
On Mon, Jun 27, 2011 at 7:33 PM, Anne wrote:
> I need to be able to get a count of the number of h2 headers on a
> page.
Using watir-webdriver gem, you can do this:
browser.h2s.size
# => 5
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
--
Before postin
23 matches
Mail list logo