Hi Jaordzz,

Comments are inline.

On 7/5/07, salamond <[EMAIL PROTECTED]> wrote:

Q1: how do you write your scripts?
If I want to set my username & passwd in a login form's text_field,
is there any other way except for dig into the html to see what the name
of text_filed is?


I use Firebug (https://addons.mozilla.org/en-US/firefox/addon/1843) for
Firefox, but there is also Internet Explorer Developer Toolbar (
http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en
)

Q2: Working with Ajax sometimes, I can't even find the object in
VIEW/source.
does watir support Ajax testing? will it work with several web sites like
igoogle or liferay?


Yes. If you have a problem with something, let us know.

Q3: I can't have attach work properly for me.
if i got a link like this :

<a href="http://www.google.com"; target="_blank">.
and ie is my current page driver.
ie2= Watir::IE.attach(:url,'http://www.google.com' <http://www.google.com%27>)
if i did this, will the link in ie be clicked and a new window generated?

Try this.

ie.link(:href, "http://www.google.com";).click

Zeljko
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to