[EMAIL PROTECTED] wrote:
> Hi
>
> I still can't get this to work.
>
> If I run the following code, Ruby returns the error message 'Unable to
> attach to Modal Window nil after 10.5 seconds'
>
> Watir::IE::attach_timeout = 10
>
> ie = Watir::IE::new
>
> ie.goto("http://www.echoecho.com/javascript4.h
Jason Alexander wrote:
> My pleasure!
>
> And, great follow-up - very useful information! And, some great advice
> for me going forward!
>
> Thanks so much! :)
>
Jason,
I am drafting some guidelines (stay tuned) on how to ask for help on
this forum. Sometimes i am frustrated by the way some q
Mark,
I'm not able to read your email in my normal email reader. I think
this is because you are using html mail, with color coding and all. In
the future, would it be possible to post text-only email? (I don't
think that is the only issue, because i am able to see other html
email in my normal em
Hi
I still can't get this to work.
If I run the following code, Ruby returns the error message 'Unable to
attach to Modal Window nil after 10.5 seconds'
Watir::IE::attach_timeout = 10
ie = Watir::IE::new
ie.goto("http://www.echoecho.com/javascript4.htm";)
ie.button(:name, "B1").click_no_wait
I certainly don't think the reference here is to the converse of
making Watir an elitist, high cultured, artsy testing tool. :) I'll
refer to popular in this context as widely used. Please read through
my entire post before commenting, revealing secret at the end.
To rephrase the question, I
My pleasure!
And, great follow-up - very useful information! And, some great advice
for me going forward!
Thanks so much! :)
Thanks,
-Jason
Jason L. Alexander > Chief Technology Officer >
Telligent Systems, Inc. > http://telligent.com > w: 214.420.1333 >
http://JasonA.net
-Or
There are examples in watir's unittests, the user guide -
http://www.openqa.org/watir/watir_user_guide.html
There's also some documentation on microsoft's site on html and dhtml:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_
reference_entry.asp
This mail
srinivas vejalla wrote:
> Can some one know me examples and list of APIs to read
> DOM elements from Watir scripts.
Do you need them, or does your program need them?
If the former, you can use Firefox, hit your page, and use Tools -> DOM
Inspector.
I just discovered each time I click on an ele
It's been a while, but I think I found the code in WET or perhaps in
someone's blog, but in any case my statement here was to acknowledge
that I didn't write that code, and to give credit to the author.
David
Bret Pettichord wrote:
> David Schmidt wrote:
>
>> but I found some special code wr
I am getting
this error:
1) Error:
test0_Acquire_Add_Comments(TC_Acquire_New):
SystemStackError: stack level too deep
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2574:in `attach_command'
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2574:in `attach_command'
C:/ruby/lib/ruby/site
Jason Alexander wrote:
> Thanks for everyone’s help!
>
> Actually, I found a workaround of sorts -
>
> In my tests, I would grab a div and assign it to a variable and use
> that variable throughout. The problem was, during the operations after
> the var assignment, I would do some things that wou
David Schmidt wrote:
> but I found some special code written by Yaxin Wang which
> does some fancy C++ casting to give us the same type of handle.
>
David,
It seems funny to hear that you found it. This was the code that Yaxin
wrote at my request and to my specifications and contributed to Wa
Hi folks.
I am having a problem getting element_by_xpath to work
cleanly.
Windoze XP pro
Ruby 1.8.5 – One click installer.
Watir 1.5.1.1081 – gem install
Rexml 3.1.5
I’ve attached by browser to google.com.
From irb :
elem=ie.element_by_xpath("//[EMAIL PROTECTED]")
r
HI
Can some one know me examples and list of APIs to read
DOM elements from Watir scripts.
Thanks
Srini
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Brian,
The modal_dialog method uses a Win32 call that locates any popup window
using your current IE window's handle (HWND). I had originally coded
the (:hwnd, hwnd) parameters in addition to the version with no
parameters, but they really do the same thing since there can only be
*one* acti
ie.button(:text, "Click Me").click_no_wait
modal = ie.modal_dialog
-Charley
On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hey
>
> In that case, how do I fetch a ModelDialog instance of the popup after
> calling click_no_wait on the IE instance?
>
>
>
>
>
> -Original Message-
Here's a quick way to get the character set from the meta tags:
ie = IE.start('http://www.yahoo.com')
meta = ie.document.getElementsByTagName( 'meta' ).item(0)
content = meta.getAttribute('content')
content.strip!
content =~ /[\w+\/]\s*;\s*([\w=\-\s]+)$/
charset = $1.split(
On 15/09/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
A couple of recent posts were premised on the assumption that we wantWatir to be more popular? Do we? Why?I say 'yes', we do want it to be more popular. Here's my reason why.I first started out in this industry as a programmer for several yea
Hey
In that case, how do I fetch a ModelDialog instance of the popup after
calling click_no_wait on the IE instance?
-Original Message-
From: "Charley Baker" <[EMAIL PROTECTED]>
Sent: Fri, September 15, 2006 7:25
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] watir-1.5.1.108
You've pretty much answered your own question - only null and :title
methods are supported.
modal = ie.modal_dialog # or use the :title location method to find by title
modal.close
Look at modal_dialog_test.rb in the unit tests if you need more
information and examples.
-Charley
On 9/15/06, [
Googling 'define:popular'
- regarded with great favor, approval, or affection especially by the general
public
- Widely used term, literally meaning of the people. Negatively, in contrast
to high culture, art, etc. and as synonymous with mass
So there could be a popular web testing tec
I have _javascript_ functions defined on the page, how can I access to it from watir? can some one show me the examplethnxLuke
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Title: Re: [Wtr-general] WIN32OLERuntimeError: unknown property or method
Thanks for everyone’s help!
Actually, I found a workaround of sorts -
In my tests, I would grab a div and assign it to a variable and use that variable throughout. The problem was, during the operations after the var ass
Hi
Could some please explain how to find and close a modal dialog using
watir-1.5.1.1081.gem.
When I try to find the dialog using the line 'ie2 = ie.modal_dialog(:hwnd,
hwnd) ' ruby returns the error 'Only null and :title methods are supported
(ArgumentError)'
Thanks
_
Hi,
I was wondering if there is any way of verifying specific codepage usage
of a web application (i.e. ISO-8859 instead of UTF-8) using Watir?
Ulrike
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-gen
On 9/15/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> A couple of recent posts were premised on the assumption that we want
> Watir to be more popular? Do we? Why?
It seems like a dumb question. Of course we do? I can't think of any
positive reason why you wouldn't want that to be so.
I could
Hi Bret,I agree that the bug was related to 'to_s' method but this method internally calls 'text' method which was the source of error that I have logged.Thanks for pointing to the URL on 'openqa'.Regards,
AngrezOn 9/15/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
Angrez,I'm pretty sure that the
A couple of recent posts were premised on the assumption that we want
Watir to be more popular? Do we? Why?
It got me started on a long post describing my own goals, which needs
more time. In the mean time, i thought i would ask the question to the
group.
Bret
_
Danny R. Faught wrote:
> I briefly mentioned how I've been using Watir in a blog post today - "The
> Jury’s Still Out on OpenSTA" (http://tejasconsulting.com/blog/?p=74).
>
> I'd be glad to elaborate on Watir's role in the toolchain, and discuss the
> necessity of using a browser-based test tool
On 9/15/06, Zeljko Filipin <[EMAIL PROTECTED]> wrote:
Why not just redirect from wtr.rubyforge.org to
openqa.org/watir/? Then you will have to maintain only one site. Or change
wtr.rubyforge.org to "we have moved..."? Also, can something similar be made with
http://rubyforge.org/projects/wtr/?
Hi Michael,ie.div(:id, 'menuItem0').fire_event('onmouseover') should work, but it does not.Could it be that your _javascript_ (or something else) is corrupted?Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listi
Angrez,
I'm pretty sure that the bug you cite only affected the "to_s" method
and not the "text" method. I don't think it relates to Jason's issue.
We've migrated all the defects to Jira. Here is the current reference:
http://jira.openqa.org/browse/WTR-33
Bret
Angrez Singh wrote:
> Hi Jason,
Why not just redirect from wtr.rubyforge.org to openqa.org/watir/? Then you will have to maintain only one site. Or change
wtr.rubyforge.org to "we have moved..."? Also, can something similar be made with
http://rubyforge.org/projects/wtr/? Is there a reason for maintaining two sites?Zeljko
_
Title: Paramatrization of the data in WATIR
Can you elloborate, "WET doesn't support full text on the page?"
WET is built as an addon to Watir - So it should support everything
that Watir(Ver 1.4) supports.
Regards,
Raghu Venkataramana
Director
Qantom Software Private Limited
72/1B, 2nd Fl
Hi Sanjay,Have a look at this link which tells how you can use excel object in Ruby.http://www.rubycentral.com/book/win32.html- Angrez
On 9/15/06, Sanjay kumar Rai <[EMAIL PROTECTED]> wrote:
Hi,
We are using watir in our project, and we want to do the Parameterization for few things in
Title: Paramatrization of the data in WATIR
Hi,
We are using watir in our project, and we want to do the Parameterization for few things in the script using excel sheet, if possible then can anyone share there code or the procedure to how to do the Parameterization using the excel sheet. Ea
36 matches
Mail list logo