Think :index will work.
--- Denys Zakhzohyy [EMAIL PROTECTED]
wrote:
Problem seems to be small but i can not solve it so
far.
On HTML page there is a frameset with 2 frames which
do not have any name or id attributes.
Is it possible to access those frames?
ie = IE.attach(:title, /TitlebarText/)
--- mihai [EMAIL PROTECTED] wrote:
how can i control a already IE opened window
for example if i have www.google.com window open but
not with watir can i associate a variable $ie to
that window an then click links etc using that
variable?
http://www.ruby-forum.com/topic/64065
--- Madhu [EMAIL PROTECTED] wrote:
Hi, help me out
Can WATIR support MS SQL 2005.
Presently i'm using ruby SciTE.
I'm unable to locate any doints or ideas as to how
to connect my application with the MS sql 2005.
If any of u have a solution share it
How to catch keyboard input signal by manual to
pause/resume the testing process, for example using
CTRL+P to pause and CTRL+R to resume.
There's a really easy, low-tech way to do this in
Windows. Any console application can be paused by
selecting part of the console window. Try this:
-Open a
Message -
From: John Fitisoff [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Monday, February 19, 2007 5:51 PM
Subject: [Wtr-general] Attach problem when remotely
running tests using
telnet
I think that this may be one of those Doctor, it
hurts when I do that... questions (where
Bill,
This is really great! I subsequently got things
working by going to the objectspace, finding the ie
object and then assigning it to an object within the
navigation method each time that it got called. But
this seems like a better way of doing it. And if it
works for the attach method it may
I think that this may be one of those Doctor, it
hurts when I do that... questions (where the answer
is: then DON'T do that...). But here goes...
I have a test framework and am using the attach method
pretty liberally throughout it. I'm using it in the
test login routine to close existing windows
Try changing the name of the test method from
'newprojectso' to 'test_01_newprojectso'. Test::Unit
looks for methods that start with 'test_'.
John
--- sarita [EMAIL PROTECTED] wrote:
I got this error while running a test thru
testsuite:
Loaded suite C:/TESTSU~1.RB
Started
FE
Finished
Is there any way of creating a single log file
containing the output for an entire test suite? I see
the logger example but it's generating files for each
individual test.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection
Spaces in the path will cause problems. But I think
that using the DOS version of the path will work.
--- Marina Hellermann [EMAIL PROTECTED]
wrote:
Hi,
I'm experiencing the same problem, could you let me
know, when you find
proper solution?
Thanks a lot,
-Original Message-
That looks sort of (but not quite) like UTF-8
encoding, which includes the ASCII character set.
Although normally you'd see something like \u00d9
(\u + a code). So it's some sort of unicode variant.
For anything that doesn't fit into the ASCII range
you'll see some sort of encoded value like that.
Does Watir support Ajax applications??
YES. I recently started for a company that was using
HtmlUnit. Our app used lots of Ajax and I had lots of
problems writing tests for certain pages. The main
problem was that HtmlUnit emulates a browser rather
than actually driving one, and the javascript
The problem we're running into is that some of the
pages we access occasionally NEVER finish loading.
Yup. I'm working on multithreaded tests and that seems
to happen (not a lot, but then it doesn't have to
happen a lot to mess things up). You can use Ruby's
timeout library to set a timeout value
I've read accounts of folks using WATIR with Linux.
You have to have the Windows API and IE installed to
get it to work. I'm not sure what happens when
FireWatir gets installed as it's using SSH, but seems
like it might be possible. Try Googling WATIR and
Linux...
--- Manish Sapariya [EMAIL
What does your /code/ contain?
Here it is. I thought maybe that I needed to
manipulate the string a little before re-using it but
that didn't help. I'm thinking that the spaces comment
I made in the earlier note didn't make sense: who
DOESN'T have spaces in their paths for this kind of
thing?
Hi all,
I'm trying to use cookiemanager to delete data between
test iterations but my paths contain spaces. I don't
have a problem getting the paths using
getSpecialFolderLocation but I get an error when I use
them with deleteSpecialFolderContents to try to delete
my cookies or my cache.
As far
If you aren't trying to do anything complicated - and
the calendar control responds to keyboard input - you
might want to try using the send_keys method to set
the calendar control:
ie.image(:id, my_calendar_icon).click
ie.send_keys({UP})
ie.send_keys({LEFT})
ie.send_keys({ENTER})
The drawback
Help! I'm new to Watir, and am trying to get my
company to use it, but am running into a problem. I'm
trying to run multiple, independent windows without
having them interfere with each other. I've tried a
few different things:
-ie, ie1, ie2 etc... (no globals)
-Using winclicker to launch an
18 matches
Mail list logo