[Wtr-general] general questions when trying Watir
salamond
jarodzz at gmail.com
Thu Jul 5 07:44:47 EDT 2007
We are trying to find some tools to help us in web automation testing.
Selenium WET Watir are all reviewed.
Finally we choose Watir 'coz it's pure scriptable.
Using Selenium and WET will make our scripts highly rely on IDE,
which is not what we want to.
But there's several problems these days really puzzled me.
I tried to search the archive mail list. But didn't find anything useful.
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?
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?
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')
if i did this, will the link in ie be clicked and a new window generated?
According to the User Guide, I think it should be the right way to work.
But i tried several times, it didn't work. seems it can't find the
object with url "www.google.com".
anybody know what's going wrong ?
thanks
Jaordzz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070705/e94a90d1/attachment.html
More information about the Wtr-general
mailing list