A colleague in China sent me this, I hope it helps.
Dave
---
Hi Dave,
In ruby, when you need to input the non-English characters, you may
need to convert the characters to the right encoding.
In my testing environment, I use the Chinese OS. Ruby 1.8.7 + Watir
1.6.5.
It seems that It’
Wow, I never even knew it was there. I created a special ruby script
to delete cookies last year. I think it's a great idea.
Dave
On Jan 3, 1:49 pm, Charley Baker wrote:
> Hi all,
>
> Currently in the Watir gem, there is a library which is old and
> untested for Cookie Management, cookiemanage
Works. Thank you!
On Jan 4, 6:25 am, jv-watir wrote:
> Did you try
> $b.link(:text,/Sign Out/).click
> ?
> On Jan 1, 4:34 pm, blkjk wrote:
>
>
>
>
>
>
>
> > that works only with FireFox for me
>
> > On Dec 20 2010, 11:09 pm, Arto Vuori wrote:
>
> > > Hi blkjk,
>
> > > try with a regular express
Excellent, this is just what I was looking for.
Thanks again for the help
manu
On 1/4/2011 6:03 PM, Jari Bakken wrote:
This is documented on the WebDriver wiki:
http://code.google.com/p/selenium/wiki/RubyBindings
Basically, you want to do something like this:
client = Selenium::WebDriver:
This is documented on the WebDriver wiki:
http://code.google.com/p/selenium/wiki/RubyBindings
Basically, you want to do something like this:
client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 120 # seconds - default is 60
driver = Selenium::WebDriver.for(:firefox, :ht
Hi all,
I was finally able to catch the stack trace of the timeout (see below).
Even when the error occurs, the operation continues and the keystrokes
are still sent to the browser.
I am not sure how to override the read timeout in protocol.rb, any
suggestion?
Timeout::Error: execution expir
That's one of the things I mentioned, I don't want to type faster, I
want to keep a normal typing speed but not timeout.
It looks like Webdriver has some timeout settings but I don't know how
to access them from Watir.
manu
On 1/4/2011 4:46 PM, orde wrote:
Try 'speed=:fast'. For example:
br
At last I think I found a work around (?) for this
when I fired onMouseUpEvent for the link with text on page it started
working
b = Watir::Browser.new
b.goto("http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/
index.html/")
b.ul(:id,"speedC-menu").link(:text,"Slow").fire_event("onMous
Try 'speed=:fast'. For example:
browser = Watir::IE.new
browser.speed=:fast
It's documented at
http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/IE.html#M000470
Hope it helps.
orde
On Jan 4, 1:12 pm, Emmanuel Cecchet wrote:
> No, this is the set() operation that generates a timeout (Watir s
No, this is the set() operation that generates a timeout (Watir starts
writing in the form but it takes a long time and the operation generates
a timeout in the ruby script). I have no timeout on the server side.
I forgot to mention that I am using Watir on Webdriver. So this might be
a timeout
If I understand correctly, it is a session time out, you may want to
change in the web server settings or ask some one too, if it is the
issue.
On Jan 4, 3:45 pm, manu wrote:
> Hi all,
>
> I am writing a pretty big chunk of text in a form and want to keep the
> default typing speed in the form to
Hi all,
I am writing a pretty big chunk of text in a form and want to keep the
default typing speed in the form to emulate a real user.
So when I call:
browser.text_field(:name, 'field').set('some very long text here')
The operation stops before completion with a timeout.
Is there a way I can ove
require 'watir'
browsers = ["ie", "firefox"]
browsers.each do |b|
Watir::Browser.default = b
browser = Watir::Browser.new
browser.goto "url"
end
This would work if you were looking to literally run both tests inside
of one script, and could also involve multi-threading to run them
simultaneou
After selecting if I refresh the page using mybrowser.refresh, UI
value changes.
11:18 am, jv-watir wrote:
> I tried Firefox, it does the same! I am not sure what is going on
> with my environment.
>
> On Jan 4, 9:39 am, Željko Filipin
> wrote:
>
>
>
> > On Tue, Jan 4, 2011 at 3:30 PM, jv-wat
I tried Firefox, it does the same! I am not sure what is going on
with my environment.
On Jan 4, 9:39 am, Željko Filipin
wrote:
> On Tue, Jan 4, 2011 at 3:30 PM, jv-watir wrote:
> > Nothing happens in UI, no error messages that I could see.
>
> Did you try with another browser (Firefox) or anot
On Tue, Jan 4, 2011 at 3:30 PM, jv-watir wrote:
> Nothing happens in UI, no error messages that I could see.
Did you try with another browser (Firefox) or another driver
(watir-webdriver)?
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice
Nothing happens in UI, no error messages that I could see.
On Jan 4, 9:27 am, Željko Filipin
wrote:
> On Tue, Jan 4, 2011 at 3:00 PM, jv-watir wrote:
> > mybrowser.select_list(:id,"speedC").select("Faster")
>
> This does not change select list to "Faster"? What happens? Nothing? Any
> error mess
On Tue, Jan 4, 2011 at 3:00 PM, jv-watir wrote:
> mybrowser.select_list(:id,"speedC").select("Faster")
This does not change select list to "Faster"? What happens? Nothing? Any
error messages? I have tried with Firefox and watir-webdriver on Mac and it
worked fine, I do not have IE7 handy at the m
Did you try
$b.link(:text,/Sign Out/).click
?
On Jan 1, 4:34 pm, blkjk wrote:
> that works only with FireFox for me
>
> On Dec 20 2010, 11:09 pm, Arto Vuori wrote:
>
>
>
> > Hi blkjk,
>
> > try with a regular expression,
>
> > $b.link(:href, /logout\/logout/).click
>
> > --Arto Vuori
>
> > On 21
Željko, Thank you!
This is what the problem is
Browser: IE 7 (I tried on IE 8 on a different machine , it did not
work)
OS: Windows XP
Watir 1.6.7
Ruby 1.8.6
I go to page:
http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html/
Action: Selecting a value from dropdown
mybrowse
On Mon, Jan 3, 2011 at 10:48 PM, jv-watir wrote:
> Any ideas, any one else?
I did not reply because it is not clear to me what the problem is. I will
reply if you get really explicit.
Example: on this page, I have done that, I expected something to happen, but
something else happened. Please pro
21 matches
Mail list logo