Hi Pallavi,
I'm getting the same error,after using rubygems it is giving error for
watir.
I wanna ask u that when you have done gem update --system and then installed
a local watir gem,did any error appeared?i'm writting it in command prompt.
please check if i've done correctly or not.
Microsoft
Sir,
This is not working.
Kindly help me out on this.
thanks
divya
On Dec 5, 7:03 pm, Moochie <[EMAIL PROTECTED]> wrote:
> if $ie.div(:text, /Balance:/).exists?
> ksh = $ie.d(:text, /Balance:/).text.split(" ")
> puts ksh[2]
> end
>
> On Dec 5, 4:51 am, Divya <[EMAIL PROTECTED]> wrote:
>
hi,
Is there any remote server setting required for watir?
irb(main):001:0> irb
irb#1(main):001:0> irb require "watir"
(irb#1):1: warning: parenthesize argument(s) for future version
LoadError: no such file to load -- watir
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
3
Hi Parul,
try running this at the cmd ...
gem update --system
gem install watir
After everything is installed try running in irb.
Also once you start irb from cmd or run dialog .. you dont need to
enter irb within it.
This is what it will look like in irb.
irb(main):001:0> require "watir"
=> tr
It happens only on Vista
On Dec 9, 2:10 am, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> Larry,
>
> We've had multiple reports of this problem with click_no_wait, but I
> have not been able to reproduce them.
>
> Bret
>
> [EMAIL PROTECTED] wrote:
> > Hey all -
>
> > I'm trying to dismiss popups a
Hi Mates,
After a long searching i got the solution.
Instead of using complicated functions and methods, i use simple code
to retrieve the text from a Web Dialog.
require 'watir/ie'
require 'watir\contrib\enabled_popup'
require 'watir/dialog'
require 'watir/winClicker'
@ie = Watir::IE.new
@ie.
Hi Tony,
1) This is what I'm getting when run it at cmd
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\parul.upadhyay>gem update --system
Updating RubyGems
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR
Hi,
I was able to do an update and install watir successfully. Only problem with
running the scripts.
As for your case, i think you could not connect to the server for update.
On Tue, Dec 9, 2008 at 1:33 PM, parul upadhyay <[EMAIL PROTECTED]> wrote:
> Hi Pallavi,
> I'm getting the same error,afte
Charley and Alex - thanks! I'll follow up with both of you in the
coming week or so about how we can proceed. Of course anyone else
with interest is encouraged to jump in too.
Pete
On Dec 8, 4:26 pm, "Charley Baker" <[EMAIL PROTECTED]> wrote:
> We've already taken on screencasts:http://github.
Is this true for the others seeing this problem as well?
I've tested this on Vista and haven't seen it, so I know there is more
to it, but I could believe that it is something Vista specific.
Bret
Divya wrote:
> It happens only on Vista
>
> On Dec 9, 2:10 am, Bret Pettichord <[EMAIL PROTECTED]
You're behind a proxy, try this:
http://wiki.openqa.org/display/WTR/Installing+ruby+gems+from+behind+proxy+firewall
Charley Baker
blog: http://charleybakersblog.blogspot.com/
Project Manager, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Tue, Dec 9, 2008 at 3:42 AM, Parul Upad
using iShowYou on a mac is an easy way to record voice and screen
actions. Its also only $20
Since its easier to take a screenshot of a windows app runing inside
a vm on a mac, than it is to take a screen shot in windows, Im
guessing iShowYou will be easier too.
Im happy to give it a go, even if
What is the statement after the click_no_wait?
If you use handle_popup, add some more seconds to wait; especially on slow
machine.
What I know is, the click_no_wait actually happens.
But, when the browser or server is being ready to respond, your next code
statement executes.
Try putting -- s
I have vista home edition, use a lot of click_no_wait.
But, did not see the issue.
Might need some sleep() after the click_no_wait.
Michael
- Original Message
From: Bret Pettichord <[EMAIL PROTECTED]>
To: watir-general@googlegroups.com
Sent: Tuesday, December 9, 2008 7:55:21 AM
Subj
Michael - I thought of that already and put in a click_no_wait that
just selected a link. Nothing happened, so it wasn't just the popup-
handling code. What would a fire_event command look like, exactly?
Right now, the line that has the problem for me is
BROWSER.button(:id, "Btndelete").click_n
Also it happened to me on IE6, I did not upgrade my browser, just
upgraded to watir 1.6.2 then it's broken.
-Original Message-
From: watir-general@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 8:59 AM
To: Watir General
Subject:
Hello,
my Watir fanatic brethren...
I have been an avid Watir user for more than two years now.
But I've mostly been helping with small web applications,
with consequently small test bases, on and off.
I have a basic question to ask of you experts out there.
I'd like someone to explain to me,
it's possible the regular expression isn't matching ..
The first thing I'd do to debug is remove the split and just puts ksh
to see what you 'have' in the string before you try to split it.
eg for debugging purposes try
if $ie.div(:text, /Balance:/).exists?
ksh = $ie.d(:text, /Balance:/).
gah just noticed typo in the below.. the method is of
course .text not .txt as I've typed it
On Dec 9, 1:20 pm, Chuck vdL <[EMAIL PROTECTED]> wrote:
> it's possible the regular expression isn't matching ..
>
> The first thing I'd do to debug is remove the split and just puts ksh
> to see wh
Are you saying when you use 'click', the button was clicked properly?
The only different between 'click' and 'click_no_wait' is 'wait' statement is
removed.
Can you check to be made sure that is an 'Input', rather than 'a' html tag?
- Original Message
From: "[EMAIL PROTECTED]" <[EMA
That's correct: the click method succeeds where the click_no_wait
method fails. I'm not entirely sure how to go about checking that, so
can you give me more details? Or, equally, can you provide a button or
a link that you know for sure to be classed as Input rather than with
the tag? Because if
Michael Hwee wrote:
> The only different between 'click' and 'click_no_wait' is 'wait' statement is
> removed.
>
Actually no. This is not the only difference. The big difference is that
with click_no_wait the click method is actually executed in a separate
process that attaches to the window
Hi charley,
Thanks!! I think half of my problem is solved.
Now that load error is not coming.
However things are still not working fine. This is what I'm getting now.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\parul.upadhyay
Hello All --
I'm trying to launch a modal dialog using the following code. I
believe I have to tell the goto to not wait for the page to finish
loading but I cant find out how. if it was a button, I could use
click_no_wait. Is there a goto_no_wait or a way I can tell Watir to
not wait. Thanks i
In these cases I execute command in another thread. If anybody suggest
another usefull method I will be happy :) . Try this:
...
thr = Thread.new {
ie.goto "javascript:OpenPage();"
}
sleep(3) #time to wait of javascript popup
thr.kill
puts ie.modal_dialog.html # now must gets here
On 10 дек
25 matches
Mail list logo