Hi Experts,
Please advise me, to avoid this issue can i change the ie-class file
like below,
def goto(url)
@ie.navigate(url)
sleep 20
return @down_load_time
end
just i changed the wait into sleep 20, will it work? My intention is
browser should wait upto 20 seconds, still
I don't know what will happen when the image button is triggered.
Maybe it will succeed to separate the Javascript.
such as:
require 'watir'
ie=Watir::IE.start(your address)
ie.image(:id,/btnLogin_imgButton/).fire_event("onmouseup") # or
***.fire_event("onmousedown") or...
ie.image(:id,/btnLogin_i
What's the detail information about your div? When the div is clicked, what
will happen?
Thanks.
Wesley Chen.
On Fri, Jan 16, 2009 at 9:14 AM, Michael Hwee wrote:
>
>
> Try click_no_wait()
>
>
>
> - Original Message
> From: "zeng0...@gmail.com"
> To: Watir General
> Sent: Thursday, J
I've tried this previously to posting the thread,
this gives the same result as the thing I posted, resulting in no
error nor action.
On Jan 15, 5:00 pm, wesley chen wrote:
> require 'watir'
> ie=Watir::IE.start(your address)
> ie.image(:id,/btnLogin_imgButton/).click
>
> Thanks.
> Wesley Chen.
I installed JDK6, NetBeans 6.5, Ruby one-click installer(1.8.6-27).
When I clicked button, popup does not pop.
I uninstalled ruby1.8.6-27 and re-installed ruby1.8.6-26.exe as
administrator. Popup works fine for me now.
1. Uninstall ruby1.8.6-27 and re-install ruby1.8.6-26.exe
2. Open DOS command p
I have beenbe running watir/rspec scripts on various machines. My scripts work
great! However, when the scripts are ran on a virtual machine and the
connection is closed but still running, the scripts do not work efficiently. In
other words,when I close the virtual machine without logging off or
Try click_no_wait()
- Original Message
From: "zeng0...@gmail.com"
To: Watir General
Sent: Thursday, January 15, 2009 11:20:10 AM
Subject: [wtr-general] Code hangs after a div click
I have the following code:
$browser.link(:text, "Media").click
$browser.link(:text, "Conten
Ive been working on getting this done. Do you know what library is being used?
Paul
On Thu, Jan 15, 2009 at 3:22 PM, Moochie wrote:
>
> Does anyone know how to move widgets on a page?
>
> The class is ui-sortable.
>
> I've search all over and I'm unable to find any helpful information
> about d
Does anyone know how to move widgets on a page?
The class is ui-sortable.
I've search all over and I'm unable to find any helpful information
about drag and drop.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"W
1. somehow you did not actually install watir.
2. you should use watir 1.6.2. it is better.
bret
Rahil wrote:
> Hi Guys,
>
> Am using watir for quite some time with ruby version 1.8.4 and watir
> gem version 1.5.1.1192. Till now it was working fine for me with this
> version but just now i have
I have the following code:
$browser.link(:text, "Media").click
$browser.link(:text, "Content Manager").click
Watir::Waiter.wait_until { $browser.text.include? "tag all items" }
$browser.div(:class, "collection-container-scroller").table
(:index, 1)[1][1].div(:class
http://wiki.openqa.org/display/WTR/HTML+report+class
On Jan 15, 7:53 am, Jagdeep Jain wrote:
> I got it through Rspec:
> spec usingrspec.rb --format html > testresult.html
>
> On Jan 15, 11:31 am, Jagdeep Jain wrote:
>
> > I want to populate Watir results to HTML format. Is there any way to
> >
require 'watir'
ie=Watir::IE.start(your address)
ie.image(:id,/btnLogin_imgButton/).click
Thanks.
Wesley Chen.
On Thu, Jan 15, 2009 at 8:04 PM, Oded wrote:
>
> Hello all,
> I'm fairly new to Watir, I'm trying to click on a certain image button
> with no success.
> My code looks like this:
>
Hello all,
I'm fairly new to Watir, I'm trying to click on a certain image button
with no success.
My code looks like this:
require watir
ie = Watir::new
ie.goto(host)
ie.image(:id, 'btnLogin_imgButton').fire_event("OnMouseDown")
ie.image(:id, 'btnLogin_imgButton').fire_event("OnMouseUp")
ie.image
Thanks John, this is really help full.
On Jan 15, 4:36 pm, John Kolokotronis wrote:
> I forgot to note that the above code does not contain a valid
> assertion so the test will always pass. You can fix this with a
> "should" statement, like this:
>
> $browser.contains_text("rubyforge.org").shoul
I forgot to note that the above code does not contain a valid
assertion so the test will always pass. You can fix this with a
"should" statement, like this:
$browser.contains_text("rubyforge.org").should != nil # contains_text
returns nil if no match is found...
--~--~-~--~~--
Hi Jagdeep,
I wouldn't recommend mixing both Test::Unit and Rspec - they can both
be used as testing frameworks and there's no reason to use both IMO.
To get a nicely formatted HTML report, I would rewrite your test as
follows:
require 'watir'
require 'spec'
describe "Google Test - with Rspec,
In the following code I am using Rspec for putting my results in
proper format.
If I am executing the below code by commenting the class declaration
then its working fine but if I want to use watir class here like the
code below then it not working and I got the following error on
console.
C:\Ru
18 matches
Mail list logo