I don't personally use 'recorders' but tools like this are an immense
help for getting new team members up to speed until they get a grasp
on effectively using Firebug. There are no Watir recorders per se.
However, tools such as this one and Webmetrics offer help to new
testers that don't have a pr
Howdy,
1) Upgrade to the latest Watir version.
2) Use -
Watir::Wait.until(2) {$ie.text_field(:name, "q").exists?}
This is an example waiting up to 2 seconds for the search box on the
Google home page to be present.
Regards,
Darryl
On Apr 21, 4:30 am, psdd wrote:
> I had installed watir 1.8
On Thu, Apr 21, 2011 at 8:33 PM, Adam Reed wrote:
> Using text_area.value = string rather than text_area.set string has
> saved a significant amount of time for my scripts in massive-data-
> entry scenarios.
>
Not so for watir-webdriver - they both use the same mechanism under
the hood (which in
Done: http://jira.openqa.org/browse/WTR-475
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
My guess, not tested is that you'll have to fire an event on element in
Firewatir. This isn't the cleanest api right now, but scrollIntoView on IE
is a direct call into the underlying ole object. In Firewatir, it'd be a js
call, similar to this:
http://www.roseindia.net/javascript/javascript-scroll
Still get the same error. Oh well.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
Using text_area.value = string rather than text_area.set string has
saved a significant amount of time for my scripts in massive-data-
entry scenarios.
On Apr 21, 10:14 am, Jari Bakken wrote:
> On Thu, Apr 21, 2011 at 5:07 PM, the_zonker wrote:
> > Environment:
> > watir-webdriver 2.0.0
> > Ruby
You should able to accomplish it through either .fire_event
or .send_keys methods. Examples:
fire_event:
http://rdoc.info/gems/watir/1.8.1/Watir/Element#fire_event-instance_method
send_keys: http://rdoc.info/gems/watir/1.8.1/Watir/IE#send_keys-instance_method
But I think that send_keys only wor
I use scrollintoview on IE7/8 + WinXP/7 without any errors (usually on
div tags to reorient the page "above the fold"). Example:
browser.div(how, what).document.scrollintoview
orde
On Apr 21, 8:24 am, Abe Heward wrote:
> My code:
>
> $ff.checkbox(:id, "stdOptOut").document.scrollIntoView
>
> E
My code:
$ff.checkbox(:id, "stdOptOut").document.scrollIntoView
Error result:
test.rb:7:in `': undefined method `scrollIntoView' for "":String
(NoMethodError)
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
ht
On Thu, Apr 21, 2011 at 5:07 PM, the_zonker wrote:
> Environment:
> watir-webdriver 2.0.0
> Ruby 1.9.2
> Firefox 3.6, IE8
>
It's a good practice to always try the latest released version before
reporting issues. watir-webdriver is currently at 0.2.2.
> I faced with a problem - I need to put a co
Hi guys!
Environment:
watir-webdriver 2.0.0
Ruby 1.9.2
Firefox 3.6, IE8
I faced with a problem - I need to put a content of XML file into text
area.
The content is quite long and the process of filling is extremely
slow.
This slowness of filling causes a timeout error:
Timeout::Error: Timeout:
I tried this method after seeing this thread as it got me curious as
I'd never seen it before; and got the same error. I dug a little
deeper, and found you'll possibly need to add in an extra command.
Does this work for you?
browser.element(how, what).document.scrollIntoView
such as...
browser.
Unfortunately that just fails with an unknown method error.
There aren't any text fields in the part of the screen that I want to get
to. Perhaps this method only works with text fields?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-g
Having talked with our developers we would only need to be able to fire the
following events;
keydown, keyup, mousedown, mouseup and paste.
So really need a way of being able to pass a key code with the keydown and
keyup events for WATIR and FIREWATIR?
--
Before posting, please read http://w
As per what I know you have to start firefox first with -jssh option and
then run the test script.
Test script won't start Firefox. Every time you have to run a script you
have to first start Firefox with -jssh option
- Angrez
On Thu, Apr 21, 2011 at 1:37 PM, prathibha m wrote:
> Ubuntu 10.10 OS
On Thu, Apr 21, 2011 at 3:18 AM, Abe Heward wrote:
> Is scrollIntoView strictly an IE thing?
No.
Try something like this:
browser.element(how, what).scrollIntoView
I do not have firewatir installed so I can not test it, but I remember using
it.
Željko
--
watir.com - community manager
watir.co
I had installed watir 1.8 and could never get past wait statements
I have a lot of wait statements to wait for page after postback and
with watir 1.8, it used to indefnitely wait at wait statements. So
tried installing 1.6.5 and it worked but it is really v. slow.
I have used Watir::Waiter.wait_un
Ubuntu 10.10 OS.
FireFox 3.6.16.
On Apr 21, 11:01 am, Angrez Singh wrote:
> Which OS you are using? Which Firefox version are you using?
>
> - Angrez
>
> On Wed, Apr 20, 2011 at 6:01 PM, prathibha m wrote:
>
>
>
>
>
>
>
> > I installed ruby 1.8.7 version
> > and gems 1.7.2 version
> > i installed
On Thu, Apr 21, 2011 at 9:24 AM, psdd wrote:
> Watir version : 1.6.5
Why are you using an old version of Watir?
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
viaqa.mobi conference on software testing - organizer
--
Before posting, please read http://wa
Hi,
Environment: Windows 2008 R2 server, (default 64 bit)
Browser: IE8 (cannot downgrade since it is windows 2008 server)
Watir version : 1.6.5
Ruby version : 1.8.7
When watir tests are run, it is extremely slow and takes around 10-20
mins to complete a simple test which otherwise in IE7, windows
21 matches
Mail list logo