[wtr-general] Re: Filling Textarea - Rapidweaver

2010-05-28 Thread rsb
On 27 Mai, 09:32, Yuping Zhong littlezhong...@gmail.com wrote: But when I use the same command in Safari and FF,get the same error as rsb. Sorry, yes I am using Safari an a MacBook. I don't want to switch to IE. :-) Perhaps the new Xcode will help. Best wishes... René -- Before posting,

[wtr-general] Re: Filling Textarea - Rapidweaver

2010-05-28 Thread rsb
My full code (Safari on MacBook) ## # Load the neccessary libraries require 'rubygems' require 'safariwatir' # Define a Browser handle and open a blank site browser = Watir::Safari.new browser.goto about:blank # Switch to my contact form browser.goto

Re: [wtr-general] Re: Filling Textarea - Rapidweaver

2010-05-27 Thread Yuping Zhong
$browser.text_field(:name,form[element3]).set(Ruby) It works in IE. But when I use the same command in Safari and FF,get the same error as rsb. Anyone knows how to resolve this in SafariWatir and FireWatir??? On Thu, May 27, 2010 at 5:26 AM, George george.sand...@gmail.com wrote: It seems to

[wtr-general] Re: Filling Textarea - Rapidweaver

2010-05-26 Thread George
It seems to work for me (I'm using IE8). require 'watir' browser = Watir::IE.attach(:title, 'Kontakt') browser.text_field(:name, form[element3]).set This example demonstrates the power of Watir and Ruby! On May 26, 9:08 am, rsb r...@antispam.de wrote: Hi, for a little tutorial I created a