Hi Darryl,
Thanks for the feedback.
I have checked but found that the application contains no frames.
irb(main):012:0> browser.goto'1.2.3.4'
=> 21.233967
irb(main):013:0> browser.show_frames
there are 0 frames
=> 0..-1
Sudeep
On Fri, Dec 10, 2010 at 6:25 AM, Darryl Brown wrote:
> Hi Sudeep,
Hi,
I have an error: "undefined method `add_assertion' for nil:NilClass
(NoMethodError)" for the following code:
require 'rubygems'
require 'test/unit'
require 'spec/test/unit'
class SomeTests < Test::Unit::TestCase
def initialize(formObject)
@object = formObject
end
def Validate()
Hi Sudeep,
Does the page you are testing have frame sets?
Start an irb session and go to your web page.
Example:
C:\>irb
irb(main):001:0> require 'watir'
=> true
irb(main):002:0> ie = Watir::IE.new
=> #
irb(main):003:0> ie.goto '1.2.3.4'
=> 5.343
irb(main):004:0> ie.show_frames
there are 3 fram
I think the biggest issue for me is that I'm still very new to RSpec.
If I spend a little more time learning this, I should have a better
sense of how your framework...erm, works.
BTW, I tried to use your Google example and was fine except for the
deprecation warning for activesupport. I'm still t
:class should work as well to identify the table, if the text you're
getting from tables has the same class attribute.
It's a bit hard to read, but then you want to pull the text from the
cell, which is easy:
foo.table(:class, 'box3')[1][1].text
something like that and then parse the text that's
Just to clarify, I am trying to get the number next to XYZ in the HTML
and echo it out.
On Dec 9, 2:58 pm, watirboy wrote:
> Due to security purposes, I stripped out any identifying info from
> tags and either just deleted it or replaced it with lorem ipsum (only
> one part has that). There were
Due to security purposes, I stripped out any identifying info from
tags and either just deleted it or replaced it with lorem ipsum (only
one part has that). There were no names or ids on any of the tags, and
all that i left was class. Thanks for the help :)
use the .keypress method... simulate as a user would...
On Thu, Dec 9, 2010 at 11:13 AM, watirboy wrote:
> Odd situation. The developers at my site are using legacy code that is
> screwed up HTML. Basically for my WATIR script I need to echo out the
> next 6 characters after the string I am sear
Can you give a snippet of the mangled html? I'm sure there's a way to find it.
Cheers,
Charley
On Thu, Dec 9, 2010 at 12:13 PM, watirboy wrote:
> Odd situation. The developers at my site are using legacy code that is
> screwed up HTML. Basically for my WATIR script I need to echo out the
> ne
Odd situation. The developers at my site are using legacy code that is
screwed up HTML. Basically for my WATIR script I need to echo out the
next 6 characters after the string I am searching for. Usually I would
just dig deep into the TD cells, but they are all jumbled. Does anyone
have any idea ho
getAllContents gives only the text.
As I wrote already above, I want to find out the titles because it
will save time for the test. If I am checking the titles, the test
will last more than 6 hours.
If I am checking the titles it will save a lot of duplicate effort.
On Dec 8, 2:23 pm, Chuck van
Happy to do that if you can suggest what you're interested in. All the
basic elements are described along with examples. Let me know what
would help and I'll see what I can do.
Cheers,
Charley
On Wed, Dec 8, 2010 at 5:26 PM, George wrote:
> +1
>
> It would be helpful to have a little more docu
Are you able to disable some of the security settings in IE?
On Thu, Dec 9, 2010 at 7:26 AM, Ramu Gadde wrote:
> Hi All,
> Can any one help to handle this message are you sure you want to
> navigate from this page. in IE 6 using ruby and watir. I tried in
> different ways. so please give me your
On Thu, Dec 9, 2010 at 1:26 PM, Ramu Gadde wrote:
> Can any one help to handle this message are you sure you want to
> navigate from this page.
Did you read this?
http://wiki.openqa.org/display/WTR/Pop+Ups
http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
> I tried in
> different ways. so p
Hi All,
Can any one help to handle this message are you sure you want to
navigate from this page. in IE 6 using ruby and watir. I tried in
different ways. so please give me your valuable suggestion and
solutions.
Thanks in advance.
Regards,
Ramu
--
Before posting, please read http://watir.
15 matches
Mail list logo