[Wtr-general] FireWatir for 64bit Fedora 7

2007-07-18 Thread salamond

Hello, guys.

I've been setting up environment for a couple of days.

Using IE thought Wine on Fedora works fine,
But when using FireWatir, jssh extensions really block me.

I downloaded a jssh.xpi and load into Firefox, but it doesn't work.
My guess would be jssh is in c++, and have to be recompiled on x86_64 arc
again.

Here comes a nightmare, I tried to recompile Firefox with support of jssh,
but a lot of dependencies show up.

Then I tried to compile a xpi directly from jssh code, but couldn't figure
out how.

Is there any body familiar with jssh compile to XPI or where can I get a
64bit jssh XPI?

Thanks for everyone

Jarodzz
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] general questions when trying Watir

2007-07-06 Thread salamond

Hi, zeljko.
Thanks for the reply.

is that what you mean about open a new window?
ie.link(:href,  http://www.google.com ).click
ie2=Watir::IE.attach(url, http://www.google.com;)
then I can use ie2 to drive the new page?

But I find several problems when trying this.
1 ie.link(:href,  http://www.google.com ).click
A new popup window is blocked.
But when I click the link manually, it did open a new window for me.

2 ie2=Watir::IE.attach(:url, http://www.google.com;)
seems it did attach to the window just opened.
But ie2.show_all_objects shows different with IE/view/source.
I can see a table with IE/view/source,
but ie2.show_all_objects didn't show any table.

3 Another question will be igoogle. I add several protelet on my page.
I can't find those links in show_all_objects, but I can use
ie.link(:text, How to of the Day).click to click it.

Is Watir reading the html/view/source to generate the show_all_objects?


thanks
Jarodzz

On 7/5/07, Ċ½eljko Filipin [EMAIL PROTECTED]  wrote:


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-2d5e1db91038displaylang=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

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

[Wtr-general] general questions when trying Watir

2007-07-05 Thread salamond

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
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general