Hi Maloy,
A snippet of code was provided yesterday. Did you see this code? Does this
code not work? Do you have questions about the code? Are you executing
this via IRB or someting like Eclipse?
Have you executed any of the unit tests? Do the assertions work for the
unit tests?
Thanks,
It sounds like it is not a web modal dialog, which is what our advice is for,
but rather a windows modal dialog. If so, i suggest using AutoIt.
Bret
-
Posted via Jive Forums
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. No hello world,
silly arithmetic examples etc.
Well it is ordered, I will know myself soon.
___
On 2/1/07, Richard Conroy [EMAIL PROTECTED] 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. No hello world,
silly arithmetic examples etc.
Well it is ordered, I will know myself
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.com/cgi/wiki?ZeekLand -- NOT a
I didnt enjoy the early drafts too much, but with Brian Marrick as the
author, you know its going to be full of useful stuff. I was checking the
prag programmers site daily for it to come out.
- Original Message -
From: Richard Conroy [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
I am trying to test a website that has streaming content, and it seems that
because this content is streaming, IE never returns that it is no longer busy.
Is there some way around this? I am unable to do anything on the site in these
cases.
Thanks,
Nathan
I had the same problem once too. Take a look at the wait method
it has these lines
while @ie.busy
and
until @ie.readyState == READYSTATE_COMPLETE do
you might be able to remove or the other
Paul
- Original Message -
From: Nathan [EMAIL PROTECTED]
To:
To add a little bit of information, when I use irb to test my script's actions,
I don't get timeouts, but when I am running the script, which activates a
javascript menu, then clicks on a link in that menu, and I am on a page that is
streaming video, I continually get timeouts, even when the
On 1/31/07, Bret Pettichord [EMAIL PROTECTED] wrote:
ie.link(:html, /contract_id=227/).click
Once more, this is so cool.
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
So basically the test never starts because IE is never finished loading
the items on the page? I've witnessed this also with slow-loading
images on our staging servers. IE hangs out (no pun intended) until the
final image shows and then tests away.
It may be a low-tech resolution, but if I'm
On 1/30/07, Naga Harish Kanegolla [EMAIL PROTECTED] wrote:
a href=# onclick=new
Ajax.Request('/data_entry/ajax_add_term/131?contract_id=227',
{asynchronous:true, evalScripts:true}); return false;add a term/a
Can regular expressions be used with xpath? This does not work.
ie.link(:xpath,
Yes, i think this should work. I have never tried this and I can assure you
that it will break way more things then it could ever fix :)
module Watir
class IE
def wait
puts 'hello'
end
end
end
hi,
thanks for your reply. I have used your code but after using it also i got an
error c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__': No such file to load -- /apps/ruby/lib/ruby/1.8/test/unit
(LoadError).
When I modified your code as the following
require
The following code shows a case using clearSecurityAlertBox().
---
require 'watir' # the watir controller
include Watir
require 'watir/winClicker'
$ie = Watir::IE.new
$ie.goto('https://10.101.4.69:4443')
# create a new
I've ordered one also. I was a reviewer for the early drafts of the
book, which were very good, I'm looking forward to seeing how the
final version came out!
Ditto.
**
I can't send a link to my application as it is in my local host. I am sorry for
this.
The select option will be generating after i click on the link. Its ajax
stuff. So that select can't be shown in the html. It is generating after the
whole page is loaded. So wat should be done for such type
The following code shows a case using push_security_alert_yes()
---
require 'watir' # the watir controller
include Watir
require 'watir/WindowHelper'
$ie = Watir::IE.new
$ie.goto('https://10.101.4.69:4443')
helper =
You can wait in a loop till the select box is loaded or use some kind of
indicators like in gamil the top right corner of window reads
Loading... when the mails are being loaded.
In your case you can wait for the control itself
#while the control exists is false sleep
Hi,
You can't use regular expression in xpath with XPATH 1.0, you can use it in
XPATH 2.0 and rexml supports only xpath 1.0.
You can use string operations like substring, string before, string after
though.
http://www.w3.org/TR/xpath#section-String-Functions.
Prema
On 2/2/07, Željko Filipin
20 matches
Mail list logo