tml
>
> Here is a response from Microsoft's lead Ruby developer.
>
> http://www.iunknown.com/2007/05/microsoft_and_i.html
MS wants to play with the Big Boys now.
--
Phlip
http://www.oreilly.com/catalog/9780596510657/
"Test Driven Ajax (on Rails)"
assert_
bsite inside an IFRAME.
--
Phlip
http://flea.sourceforge.net/PiglegToo_1.html
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general
Richard Conroy wrote:
> I am curious what everyone thinks of this (new) book.
>
> It starts off well, with the first example tutorial being
> how to test if an uninstaller worked.
I'm hooked. Brian's no slacker, and he started with the T-word!
--
Phlip
http://c2
inside a ? function?? I'm going back to a
paranoid language with static typing and everything!"
Now I just have to figure out how to stop adding get_ and I'm there.
Who wants to write a tiny book /Elements of Ruby Style/ ?
--
Phlip
http://www.greencheese.us/ZeekLand <--
ecouple your code.
Are most of your tests on the layer under the GUI?
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
s leave a test case running all
night in a loop, and see if it crashes.
If I had Purify, I could try Purify -> Ruby -> IE -> JavaScript.
Except all of those items probably leak like crazy (except Ruby, of
course!), so you would not be able to tell the trees for the forest.
--
> >Now how to get rid of all the IEs that pop up in a tested state during
> >the run?
>
> $HIDE_IE=true I think this is what you are looking for.
>
> Brian
Won't they still exist in memory?
--
Phlip
http://www.greenchee
Can you use WET's capture system to extrude scripts which you then run in
Watir >1.4?
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/l
les. It
stitches together the RSpec environment, tests all the cases, and then
changes each case's result_color to reflect its passing state.
What feature should I add next?
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
___
W
l from one
test case:
def test_universe()
step_bigBang()
step_inflationPhase()
step_condensatePhase()
step_quasarIgnition()
# etc
end
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
ecords, each in their
intermediate state, and push them to the next state. The tests can run
in any order because the data refreshes between test cases.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailin
likes redundancy, or
something else is going on!
In conclusion, thanks! I will replace the getHTML with that, to force a more
accurate snapshot.
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Lennon wrote:
> Ah. Thank you!
Allow me to answer your meta-question.
To learn what a Ruby object can do, write this:
puts object.public_methods.sort
You would have seen 'url' in the Us.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand &
f dynamic elements, etc.
Now what am I missing? Can I get the HWND from @browser, then copy its
GDI display context?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge
> Then .form(:name) works for me, but not for the id.
I suspect that .form(:name, 'x') worked where x was 1 letter, but not many
letters.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing
cept for nitwits like me who refuse to
learn basic CGI before leaping into naughty topics like AJAX!
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Bret Pettichord wrote:
> ruby -e "require 'watir'; puts Watir::IE::VERSION"
1.5.1.1065
My test suite is checked into the HEAD here, if you want to tweak its
forms cases:
http://rubyforge.org/projects/minirubywiki/
--
Phlip
http://c2.com/cgi/wiki?Z
venience, not to use the .
Should I use it? and would CGI still work?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Watirists:
My website generates forms on the fly, and names them after relative
paths and files, with a / between them.
When I use wie.form(:id, 'path/file'), I can't hit the form.
Is this a bug? Is the / screwing up the lookup?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand
ing in the exactly way they
tell us to. If my lowly $ie handle goes away, the COM ref-count should
go to zero, the IE browser should garbage-collect itself, and all the
resources should free!
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Bret Pettichord wrote:
> Phlip wrote:
> > I am still wondering how anyone TDDs with this system.
> Did you see the recent post by Aslak Hellesoy where he showed a simple
> framework for using Watir with Rspec to do TDD? (or BDD)
I do not wonder how to write Watir tests bef
d grab the IE object it holds. (Is this @@browser?)
Does anyone have a complete, TDD-ready example of Watir_Simple in
action, such as one testing a public web site? So I can run it and
report if it exhausts my handles?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <
Bret Pettichord wrote:
> BTW, i have used this technique ALL THE TIME in my work on Watir.
>
> Another good method is "ole_get_methods" which is handy when you are
> trying to pull some information from an element.
> Phlip wrote:
> > ...how to query such
>
ction and code
browsing features. Then port what you learn back to Ruby!;)
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
ick on an element, Firefox makes the real
thing flash its borders. That makes me wish I needed to use this feature
now!
If your program needs them, then you must "iterate through ActiveX
collection objects", so Google for that. In Ruby's WinOLE system. ;-)
--
Phlip
http://www
ing and adapting for a long
time.
Why not use Selenium? I think it injects JavaScript, just like Koos's
sample, so it might be more portable.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@ru
Manish Sapariya wrote:
> However, few people have ported and changed necessary file to make
> it work on MacOS and Linux.
Which browser?
I have researched how to do it thru KParts to Konqueror, for example.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- N
> Bret Pettichord wrote:
>
> > This code works with 1.5.
>
> Can I install that from gem?
I just found watir-1.5.1.1065.gem, and the E went away in the test run.
Now how to get rid of all the IEs that pop up in a tested state during the run?
--
Phlip
http://c2.com
e by one, because of poor
test isolation. A failure diagnostic would contain the page in the
state the last case left it.
So how did you avoid repeatedly opening and closing the IE object?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
an install.rb.
>From there, how do I, uh, install?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
.rb:78:in `new_process'
./tests/domSuite.rb:19:in `setup'
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
end of a test batch,
shouldn't that take down all the zombie IE Automation objects it
spawned? And their handles?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http:/
David Schmidt wrote:
> What version of Watir are you running?
1.4.1, per this version dump:
C:\Documents and Settings\Phlip>gem query -l watir
*** LOCAL GEMS ***
fxri (0.3.3)
Graphical interface to the RI documentation, with search engine.
fxruby (1.6.1, 1.2.6)
FXRuby is th
test negatives.)
So now the effect happens much faster. What to do?
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Watirists would make their IE object global,
and reuse it between test cases. This mild efficiency doesn't violate
the Test Isolation guideline when you put $wie.goto("about:blank")
between each test case.
--
Phlip
http://c2.com/cg
e reveal() technique I suggested.
How would that look in Watir code?
The two techniques could reinforce each other!
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Paul Carvalho wrote:
> Should be installed with Ruby itself. On my hard drive, I found a copy
> located in the /ruby/doc folder.
Ouch right just found it: C:/ruby/doc/ProgrammingRuby.chm
I gave up too soon.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- N
echnique, could
they describe it in Watir terms? to wtr-general@rubyforge.org ?
Using it will give this Watir initiate more propulsion than a
capture/playback system!
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
___
Wtr-genera
Paul Rogers wrote:
> type="text/javascript">
Thanks - I already use that trick for graphics, but I forgot it here!
And - oh joy - you can't just put in one big number, you have to
change it all the time.
--
Phlip
http://c2.com/cgi/wiki?Zee
use my latest version?
(I researched this once, ages ago, for the IE side; I want to start
first here at the Watir side...)
(It's the Webrick server; both with servlets and CGI pages.)
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NO
40 matches
Mail list logo