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
Hi Jhun,
One more thing I noticed in your code you have mis-spelled the fire-event
its fireEvent.
li.fireEventt(ondblclick); should work.
Let me know if it solves the problem.
Regards,
Prema
On 6/7/07, Prema Arya [EMAIL PROTECTED] wrote:
I have taken this gem from the trunk.
You can
Can you please help me. I have this code:
lis = $browser.elements_by_xpath(//li);
lis.each do |li|
$logger.log(value: + li.id);
if (li.id == d.id[4..10])
$logger.log(FOUND!!!);
li.fireevent(ondblclick);
break;
end
end
It seems that the event ondblclick is not working.
Hi,
We are working on it. Will let you know the results soon.
Regards,
Angrez
On 6/9/07, jhun [EMAIL PROTECTED] wrote:
Can you please help me. I have this code:
lis = $browser.elements_by_xpath(//li);
lis.each do |li|
$logger.log(value: + li.id);
if (li.id == d.id[4..10])
Thank you so much. I'll wait for that. :)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I have this in my code:
lis =
$browser.elements_by_xpath(//li);
lis.each do |li|
$logger.log(value: + li.id);
if (li.id
Hi Jhun,
Thanks for reporting this. You can use the latest code form svn/trunk at
http://firewatir.googlecode.com/svn/trunk/FireWatir/
We have already fixed this issue.
In case you face any problem let me know.
Regards,
Prema
On 6/7/07, jhun [EMAIL PROTECTED] wrote:
I have this in my code:
i hope u could help me. Im in a rush. Thanks!!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
You were indeed correct Bret.
They have fixed the issue now and will be available in the next firewatir gem
or from source if needed quickly
More detauis here: [Firewatir Bug
#28|http://code.google.com/p/firewatir/issues/detail?id=28can=4q=]
___
Hi Eoin,
Are you still facing the problem? try using the latest code from svn.
if it's still there ,II will look into it.
Regards,
Prema
On 5/11/07, Bret Pettichord [EMAIL PROTECTED] wrote:
I was confused about your problem. It now looks like this is a FireWatir
bug.
Bret
ie.div(:class , 'wiki').ole_object.innerText = hi Chris
Interesting, I've never hit this part of Watir before. Any chance of
doing this in FireWatir?
Answering my own question, I'll bet that s/innerText/textContent/
would work. (Thanks Selenium reference page!) But I haven't tried
it
Chris McMahon wrote:
Answering my own question, I'll bet that s/innerText/textContent/
would work. (Thanks Selenium reference page!) But I haven't tried
it yet.
There's another good candidate for refactoring.
Could you say more words about what you are suggesting.
Could you say more words about what you are suggesting.
Quoting from the Selenium reference:
storeText ( locator, variableName )
Gets the text of an element. This works for any element that
contains text. This command uses either the textContent (Mozilla-like
browsers) or the innerText
I beleive innerText is an ie only thing ( it might be thinkiig of innerHTML
though)
- Original Message -
From: Chris McMahon [EMAIL PROTECTED]
Date: Wednesday, May 16, 2007 1:58 pm
Subject: [Wtr-general] fireWatir guess. Re: how to manipulate this?
ie.div(:class , 'wiki
Chris McMahon wrote:
Quoting from the Selenium reference:
storeText ( locator, variableName )
Gets the text of an element. This works for any element that
contains text. This command uses either the textContent (Mozilla-like
browsers) or the innerText (IE-like browsers) of the element,
Neither Watir nor Selenium nor FireWatir currently provides commands for
munging text directly. To me this sounds like something that is outside
the scope of a testing tool. Can you elaborate on the scenario that
makes you want to do this? Is it testing related?
Yes, it's testing. My
Chris McMahon wrote:
Neither Watir nor Selenium nor FireWatir currently provides commands for
munging text directly. To me this sounds like something that is outside
the scope of a testing tool. Can you elaborate on the scenario that
makes you want to do this? Is it testing related?
Charley Baker wrote:
It's a curious bug, just saw the same thing. A bug/feature, works more
than it should. :) Chris is right we should definitely spend more time
with Angrez, Prema and the Firewatir community. I'm getting slammed by
requests for multiple browser tests and starting to
This is odd:
require 'rubygems'
require 'firewatir'
require 'test/unit'
require 'firewatir/testUnitAddons'
include FireWatir
ff = FireWatir::Firefox.new()
ff.goto(http://www.socialtext.net/stoss/index.cgi?mcmahon_test;)
ff.link(:text, Help).click
sleep 5
ff.attach(:title, /Documentation/)
include Test::Unit::Assertions # you need to mix in the assertion
methods if you want to use them outside of a testcase.
Thanks, got it, I should have seen that.
-C
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi Folks,
I have scripts that use authentication. So when I start my first test, it goes
to a login page and once I click the login button, my test runs.
Subsequent tests runs without going to the login page as I'm now authorished to
run the rest of the scripts.
So in my code if the login
Im going to guess that this is a bug in 1.5
Seems like this would be an opportunity to sync up FireWatir with
Watir. I think Charley has been looking into some of that recently.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
It's a curious bug, just saw the same thing. A bug/feature, works more than
it should. :) Chris is right we should definitely spend more time with
Angrez, Prema and the Firewatir community. I'm getting slammed by requests
for multiple browser tests and starting to abstract layers so that it's
Eoin wrote:
However FireWatir doesn't ignore the login button and bombs out when it sees
it.
It would help if you showed us the error and the page. However, my guess
is that the problem is with the behavior of contains_text. In Watir for
IE 1.4 this did not include the title. In Watir for
Hi...
Seems like this script should work, but I'm getting
FireWatir::Exception::UnknownObjectException: Unable to locate object,
using id and id value
for both the buttons. I put the sleeps in in case it was a
page-rendering issue, but I don't think that it is.
(BTW, feel free to add
Hi,
We have released FireWatir Version 1.0.2. This version is platform
independent. Though not tested on Linux and Mac by FireWatir team due to
lack of resources/time, its been used by people on different platforms.
In this version we concentrated more on filling gaps between scripts written
Hi,
We have released FireWatir version 1.0.1
For new features and future enhancements please go through release notes at
http://code.google.com/p/firewatir/wiki/ReleaseNotes .
Main features of this release are:
1. Main concern was speed. It has been improved significantly and now it's
:in
`test_simply_attach_to_new_window_using_url'
I may have some setting to prevent popups - I'll try and find out
Paul
- Original Message -
From: Angrez Singh
To: wtr-general@rubyforge.org ; [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2007 6:15 AM
Subject: [Wtr-general] FireWatir version 1.0.1 released
to prevent popups - I'll try and find out
Paul
- Original Message -
*From:* Angrez Singh [EMAIL PROTECTED]
*To:* wtr-general@rubyforge.org ; [EMAIL PROTECTED]
*Sent:* Wednesday, January 17, 2007 6:15 AM
*Subject:* [Wtr-general] FireWatir version 1.0.1 released
Hi,
We have
Hi Andrew,Currently I don't have the breakdown for this; I will make some measurements and will post the breakdown soon. Socket communication may not be slow but the number of calls made via JSSh seems to be the main cause of the slowness. The logic for selecting an element makes number of calls
Angrez,
Thanks for investigating this.
Andrew
From: Angrez Singh [EMAIL PROTECTED]
Reply-To: wtr-general@rubyforge.org
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] FireWatir performance and watir on linux
Date: Fri, 8 Sep 2006 12:22:54 +0530
Hi Andrew,
Currently I don't have
Hi,
I have proof of concept for clicking on javascript dialog boxes in
firefox on linux using
at-spi library. However before I proceed ahead with some more
experiments, I wanted
to investigate the reason of slowness of FireWatir.
1. Is it because of inherent approach of driving firefox using
But the bigger issue of ensuring compatability between versions of Watir is
tricky. For example, FireWatir doesn't support frames. Is this reasonable?
I suppose that is up to whatever minimum standard is used to determine
whether an API is sufficiently compatible or not. I like the idea of
On 7/13/06, Dave Hoover [EMAIL PROTECTED] wrote:
And even then, i suspect that each implementation would have some additional features that were not part of the standard API.No doubt.For example, SafariWatir has close and quit methods.Onecloses the window, while the other quits the
On 7/13/06, Bret Pettichord [EMAIL PROTECTED] wrote:
With mine this is how you click an alert button:
ie.dialog.button(OK).click
For clarification, this is how you click an alert button with SafariWatir:
browser.alert.click
It doesn't take a parameter since alert boxes only have one button.
There have been several inquiries lately asking about FireWatir, getting it to run on Mac and Linux, and about our future plans to integrate with the main Watir code base.Most of the work (all?) on FireWatir has been done by Angrez Singh and his partner Abishek. Angrez has been busy lately and has
On 7/12/06, Bret Pettichord [EMAIL PROTECTED] wrote:
But what FireWatir needs is more experimentation, and that means that it
needs to be developed according to different development rules from Watir. I
am happy to consult, and to hear any ideas about how it might develop
differently, but i
Hi,
Has anyone tried running firewatir on linux?
I went through the code and looks like it wont
run under linux because references to win32ole
and autoit libraries.
Is it expected run under linux by any chance?
What will it take to make it run under linux?
Thanks and Regards,
Manish
On 7/7/06, Manish Sapariya [EMAIL PROTECTED] wrote:
Hi,
Has anyone tried running firewatir on linux?
I went through the code and looks like it wont
run under linux because references to win32ole
and autoit libraries.
Dave Hoover got it running on a Mac. Search in the archives for
Firewatir
I've read accounts of folks using WATIR with Linux.
You have to have the Windows API and IE installed to
get it to work. I'm not sure what happens when
FireWatir gets installed as it's using SSH, but seems
like it might be possible. Try Googling WATIR and
Linux...
--- Manish Sapariya [EMAIL
I gave a talk on Acceptance Testing at RailsConf yesterday, showcasing
Watir, Selenium, and Sahi. Since I have a MacBook Pro (and I hadn't
installed Parallels/WinXP yet), I wanted to show off FireWatir. Alas,
it appears that the JSSH XPI that FireWatir relies upon doesn't work
on Mac Firefox.
Dave,Thanks for the report and suggestions.On 6/27/06, Dave Hoover [EMAIL PROTECTED] wrote:
and Chris McMahon was able to get me the latestWatir source built into a gem (can't do that w/o Windows currently),
Do we need to make a FireWatir gem publicly available?I'm also curious about why you
and Chris McMahon was able to get me the latest
Watir source built into a gem (can't do that w/o Windows currently),
Do we need to make a FireWatir gem publicly available?
I'm also curious about why you can't create a gem on non-windows platforms.
Sounds like a bug we should fix.
If I'm
On 6/27/06, Chris McMahon [EMAIL PROTECTED] wrote:
If I'm not mistaken, it's because the build depends on
C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.0.945\watir\win32ole\win32ole.so
and this was not interpreted correctly on the Mac? That is, there is
no context for win32ole on platforms other
Hi All--
I'm building a new test app that has frames and needs cross browser
functionality. I can't seem to find the firewatir download anywhere. can
anyone point me to it?
Thanks--
Beth
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi Beth,As such currently there is no tar ball or gem that exists for FireWatir. You need to install SVN client from sourceforge.net. (
http://sourceforge.net/project/showfiles.php?group_id=138498package_id=151948) and then import the source code for watir
Hi, Allcould anyone tell how long does it take for running the mozilla_all_tests.rb on firefox? Thanks a lotGegegege qian [EMAIL PROTECTED] wrote:HI: AllI'm trying to use firewatir, but could not make it work. Please give me some help.1)I have download
Hello!
I guess that the last time Ive runned
mozilla_all_tests took me 2 hours more or less
Cheers!
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gege qian
Sent: Lunes, 22 de Mayo de 2006
11:31 a.m.
To: wtr-general@rubyforge.org
Subject: [Wtr-general
It took me just a few seconds over three hours. :)
Finished in 10892.833 seconds.
On 5/22/06, gege qian [EMAIL PROTECTED] wrote: could anyone tell how long
does it take for running the mozilla_all_tests.rb on firefox?
___
Wtr-general mailing list
On 5/22/06, gege qian [EMAIL PROTECTED] wrote:
Hi, All
could anyone tell how long does it take for running the mozilla_all_tests.rb
on firefox?
FireWatir is about 20X to 30X slower than the corresponding IE tests
on our machines; Angrez and I are looking at an alternative
implementation to
Mayo de 2006 11:31 a.m.To: wtr-general@rubyforge.orgSubject: [Wtr-general] FireWatir Hi, Allcould anyone tell how long does it take for running the mozilla_all_tests.rb on firefox?Thanks a lotGegegege qian [EMAIL PROTECTED] wrote: HI: AllI'm trying
Subject:
Re: [Wtr-general] FireWatir
From:
"Amit Garde" [EMAIL PROTECTED]
Date:
Mon, 22 May 2006 21:41:17 +0530
To:
wtr-general@rub
Hello,
I've just installed firewatir and upgraded to the latest watir from svn
at openqa.org - following the instructions given on this list. I'm
running the tests now - they take a very very long time - for example:
$ ruby checkbox_xpath_test.rb
Loaded suite checkbox_xpath_test
in advance! I guess this has something to do with the jssh parameter,
Am I Wrong?
Regards
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Martes, 28 de Marzo de 2006
09:18 p.m.
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general
Hi all!
I'm starting the development of a script for a WebPage. This
Unit Test should run in Explorer and also in Internet Explorer.
I'm running FireWatir, and I have a question:
1) How should I specify wheter a script will be run against
Firefox or Internet Explorer? If I'm not
Try thisbrowser = Watir::Firefox.newBretOn 3/28/06, Rodrigo Julian Martin [EMAIL PROTECTED]
wrote:
Hi Angrez, thanks for the quick reply!
I've tried the code:
require 'watir'
browser = Firefox.new #You need to
create new Firefox instance. Rest will remain same.
browser.goto(
Hi,I had run mozilla_all_tests.rb yesterday night I got no failures:$ruby mozilla_all_tests.rb Loaded suite mozilla_all_testsStarted.Starting win setFileDialog in new process. Setting text
I think it is my mistake. My Firefox opens new windows in new tab, and I think there is some pop-up blocker hiding.On 3/22/06, Angrez Singh
[EMAIL PROTECTED] wrote:I'll try to run these test on some other machine let you know if there are any failures. One thing that you can check is that your
I have just run mozilla_all_tests.rb and got only two failures (just to let you know). It took just a few seconds over three hours. :)Finished in 10892.833 seconds. 1) Failure:test_file_field_Exists(TC_FileField_XPath) [C:/watir/mozilla_unittests/../mozilla_unittests/filefield_xpath_test.rb:27]:
Tried. No luck. The same behaviour.On 3/17/06, Dave Liebreich [EMAIL PROTECTED] wrote:
Hmm.Maybe Angrez's version of the jssh xpi is broken.Can you tryagain with the versions in
http://people.mozilla.com/~davel/jssh/
___
Wtr-general mailing list
One. I copy/pasted it from Installation guide for FireWatirfirefox.exe –jsshAnd the solution is here! I copy/pasted it from the Installation guide for FireWatir!And it seems that Word transforms -jssh to –jssh. Replaces hypen (-) with dash (–).
Something likeWord (2003 sp2) Tools AutoCorrect
No. The current version of jssh, when installed, is not listed in the
extension manager. I suggest you try re-installing jssh, and remember
to restart Firefox after the install.
Has anyone else tried using this and run into problems?
On 3/17/06, Zeljko Filipin [EMAIL PROTECTED] wrote:
Sould
I tried re-installing jssh (and I remembered to restart Firefox after the install) and even reinstalling Firefox. No luck. Am I the only one with this problem (or even the only one that tried to do it?)?After I perform
firefox.exe
–jssh, http://www.croczilla.com/jssh opens with error page The
After I perform firefox.exe –jssh, http://www.croczilla.com/jssh opens with
error page
That's very odd. Specifying -jssh on the command-line should not
affect the start page.
Perhaps you are not typing the same thing we are suggesting?
What is displayed on the javascript console?
-Dave
Are you putting one hyphen or two before jssh?On 3/17/06, Dave Liebreich [EMAIL PROTECTED]
wrote: After I perform firefox.exe –jssh,
http://www.croczilla.com/jssh opens with error pageThat's very odd.Specifying -jssh on the command-line should notaffect the start page.Perhaps you are not typing
Hi,Did you install the XPI that is included in the package? Regards,AngrezOn 3/15/06, Zeljko Filipin
[EMAIL PROTECTED] wrote:Of course, when I start unit tests, I get this error message.
C:\watir\mozilla_unittestsmozilla_all_tests.rbC:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1263:in `initialize':
Yes, I can see DOM Inspector 1.8.0.1 at extensions.telnet localhost 9997 worked for me two days ago, but then Firewatir did not work because I had watir 1.4.1.On 3/16/06, Angrez Singh
[EMAIL PROTECTED] wrote: Hi, Did you install the XPI that is included in the package?
Hi,Yes, I can see DOM Inspector
1.8.0.1 at extensions.telnet localhost 9997 worked for me two days ago, but then Firewatir did not work because I had watir 1.4.1.DOM Inspector has nothing to do with JSSh extension. I don't know why its not working if it has been working before. Try installing it
I installed watir from tarball, but now I have another problem.When I start
firefox from cmd
C:\Program Files\Mozilla Firefoxfirefox.exe -jssh
JSSH: A Java Secure Shell client library page
opens(http://www.pitman.co.za/projects/jssh/index.html).
Then I check if JSSh is listening on port 9997 but
Of course, when I start unit tests, I get this error message.
C:\watir\mozilla_unittestsmozilla_all_tests.rbC:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1263:in
`initialize': Bad filedescriptor - connect(2) (Errno::EBADF)from
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1263:in `initialize'
Unlike firefox extensions, this xpi package doesn't open up as file dialog for me. On trying to install as xpi(.zip) file, it just opens up the file contents and starts displaying the binary data... I don't think the problem is at my end as i am perfectly able to install and use other .xpi
I have windows xp sp2, ruby 1.8.4, watir 1.4.1 (gem install), Firefox/1.5.0.1.
From Installation guide for FireWatir (Installation Guide.doc):
3. Take backup of following files inside [ruby
installationdirectory]/lib/ruby/site_ruby/1.8 folder, just to make sure you
don'tmess up with earlier
Hi,Unlike firefox extensions, this xpi package doesn't open up as file dialog for me. On trying to install as xpi(.zip) file, it just opens up the file contents and starts displaying the binary data... I don't think the problem is at my end as i am perfectly able to install and use other .xpi
Hi Zeljko,You are not doing anything wrong here. The current version for Firefox is in sync with what is available on the tar ball. So the 'watir.rb' in Firefox extension is refactored version of 'watir.rb' file that is available on the HEAD. So I think that is the source of error.
So, what you
Hi Bret,I have committed the code for 'FireWatir' in branch named 'firefox'. Now we can run WATiR scripts against 'Firefox' browser. Anyone who wants to have a quick preview can download the code from this branch. For using the version follow the instructions provided in the 'installation doc'
I'm wondering what versions of Firefox this is designed to
work with?
Thanks
Thom
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Angrez
SinghSent: Friday, March 10, 2006 1:10 PMTo: Bret
Pettichord; wtr-general@rubyforge.orgSubject: [Wtr-general] FireWatir
release alpha
I have committed the code for 'FireWatir' in branch named 'firefox'.
Now we can run WATiR scripts against 'Firefox' browser.
Yay!
Congrats Angrez on getting this to work.
Angrez used JSSH as a remote-control mechanism for Firefox. For those
interested in porting Watir to other platforms,
Hi,
I'm wondering what versions of Firefox this is designed to
work with?\Sorry I forgot to mention the versions. I have tried it on Firefox 1.5
1.5.0.1. I am not sure if it works versions less than this.Regards,Angrez
___
Wtr-general mailing list
Could you please add a page to our new wiki about the Firefox release with answers to questions like this?BretOn 3/11/06, Angrez Singh
[EMAIL PROTECTED] wrote:Hi,
I'm wondering what versions of Firefox this is designed to
work with?\Sorry I forgot to mention the versions. I have tried it on
Hi Bret,Could you please add a page to our new wiki about the Firefox release with answers to questions like this?
ok..Regards,Angrez
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
80 matches
Mail list logo