hi,
i have tried to write this as
def text(wait_seconds = 1)
# sleep 0.3
autoit = WIN32OLE.new(AutoItX3.Control)
autoit.WinWait(Microsoft Internet Explorer, nil, wait_seconds)
if wait_seconds
s = autoit.WinGetText(Microsoft Internet Explorer)
Hi Joe,
Please post html of that object (and a few lines before and after) so we
could take a look.
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Dear all,
Is there a way to download file and save it to hard disk?
Thanks in advance.
Jason
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Bret,
I've looked at that link allright Bret but haven't got it working yet.
The reason I'm trying to integrate Watir with Nunit is that my project team use
Nunit to run unit tests for the data acccess layer of our .NET project.
Therefore it was decided it was best to try and run our web app
Hi,
Apart from
id:
Value:
Name:
How else can a button be recognised, I'm having problems with a button being
recognised, if i run the script in isolation, the button in question is
selected (as well as if I do the flash method from a console session) but if
if I call the script using
Load
Hi Tunde,
In watir 1.5 I think you can use any attribute of a tag (like class), but I
am not sure about that.
ie.button(:class, my_class).click
you can also use index
ie.button(:index, 1).click
or html
ie.button(:html, /fancy_attribute='something'/).click
or xpath
ie.button(:xpath ,
Here you go
input type=submit name=ctl00$xx$bt_next value=Next onclick=if
(typeof(Page_ClientValidate) == 'function') { if (Page_ClientValidate() ==
false) { return false; }} this.value = 'Next';this.disabled =
true;__doPostBack('ctl00$xxx$bt_next',''); id=ctl00__bt_next
Hi Shalini,
Just try this code (modified your code a little)
def text(wait_seconds = 1)
# sleep 0.3
autoit = WIN32OLE.new(AutoItX3.Control)
autoit.WinWait(Microsoft Internet Explorer, nil, wait_seconds)
if wait_seconds
s = autoit.WinGetText(Microsoft
Hi Shalini,
Just try this code (modified your code a little)
def text(wait_seconds = 1)
# sleep 0.3
autoit = WIN32OLE.new(AutoItX3.Control)
autoit.WinWait(Microsoft Internet Explorer, nil, wait_seconds)
if wait_seconds
s = autoit.WinGetText(Microsoft
i've tried to do ie.div(:id,
calendarStripDateLabelDock).fire_event(onmouseover)but doesn't work for
me.
you can also try it with the steps below:
goto mail.yahoo.com
enter user: f323_cal1 password: testing
mouse over the Today's date on the Calendar Strip at the bottom.
div
Hmm, good question, I don't seem to be able to access it either. Thanks for
the public example, I'll look at it some more and see if I can't trigger it.
-c
On 4/25/07, joe fu [EMAIL PROTECTED] wrote:
i've tried to do ie.div(:id,
calendarStripDateLabelDock).fire_event(onmouseover)but
looking at the html its done using css, not a fire_event
Im no css expert, but I think this will be really difficult for us to do in
watir
- Original Message -
From: Charley Baker
To: wtr-general@rubyforge.org
Sent: Wednesday, April 25, 2007 2:28 PM
Subject: Re: [Wtr-general]
Lillis, Dara wrote:
one thing I've noticed that's slightly weird is that when I use
click_no_wait from eclipse using the new rdt (eclipse 3.2, with rdt
0.9 RC1), what looks like a dos window pops up for a fraction of a
second. the method still works and the popup causes me no problems,
This is something Ive been thinking about for a while.
Canoo ( http://webtest.canoo.com/ ) is a layer above htmlUnit that takes an xml
file and runs it against a web site, clicking buttons, doing assertions etc.
Ive written some code that takes this xml format and converts it to a watir
Could be interesting, I'd looked at webtest when evaluating tools a while
back. And as Elizabeth Hendrickson often says...'Show me the code'. It's
always helpful and demonstrates the point pretty well and if people want to
learn or add on then it gives them a good base. Perhaps it's one other
my thinking was that people who have canoo tests can now ( ok soon ) run those
same tests on a real browser.
I also thought there was a recorder for canoo, that records from a proxy, but I
seem to be mistaken.
I'll get the code a bit better then do a proper announcement
Paul
- Original
Here is what looks like a very useful tool for learning Ruby. This is from
the author of Why's Poignant Guide to Ruby.
http://hacketyhack.net/
http://code.whytheluckystiff.net/hacketyhack/wiki/GetHacketyHack
Bret
-- Forwarded message --
From: why the lucky stiff [EMAIL
Why's Poignant Guide is excellent. It takes learning to program to a new and
otherwise other worldly angle. I've been recommending it, you'll either love
it or hate it. It'd be nice to work on his basic conceptual view and present
a basic programming using Ruby class, wearing bunny suits of
t'd be nice to work on his basic conceptual view and present
a basic programming using Ruby class, wearing bunny suits of course.
With ukuleles. Propose it for Agile2008. I am *so* there.
-Chris
___
Wtr-general mailing list
Wtr-general@rubyforge.org
hi Prema,
Sorry it not working..
It is printing 1 in text file.
please help!!
Regards
Shalini Gupta
On 4/25/07, Prema Arya [EMAIL PROTECTED] wrote:
Hi Shalini,
Just try this code (modified your code a little)
def text(wait_seconds = 1)
# sleep 0.3
autoit =
Hi,
my code is as...
requires
require 'watir'
#require 'autoit'
require 'test/unit'
require 'test/unit/ui/console/testrunner'
require 'test/unit/assertions'
#require 'watir/setFileDialog'
#require 'popups_test'
#require 'enabled_popup'
#logger requires
require 'example_logger1'
require
21 matches
Mail list logo