[wtr-general] Re: Anyone have Firewatir jssh plugin working on Mac PPC Tiger?

2009-06-16 Thread Angrez Singh
The only reason for asking you to compile is that we don't have access to the kind of environment you were mentioning. Any ways happy coding with Firewatir on Windows :) - Angrez On Tue, Jun 16, 2009 at 3:29 AM, Bean Rider lab...@gmail.com wrote: Wow, I'm not trying that; I had a hard enough

[wtr-general] Re: Languages supported by Watir

2009-06-16 Thread Rahul Ahuja
Yes. On Jun 15, 11:35 pm, Alister Scott alister.sc...@gmail.com wrote: Do you mean in your web application that you are testing? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this

[wtr-general] Re: How to get static text value in a variable

2009-06-16 Thread Rahul Ahuja
Thanks Wesley, But the solutions shared by you doesn't seems to work for the reasons unknown to me. Getting an error: in `assert_exists': Unable to locate element, using :index, 1 (Watir::Exception::UnknownObjectException) Please suggest how to go ahead. Thanks Warm Regards, Rahul On Jun 15,

[wtr-general] Re: How to get static text value in a variable

2009-06-16 Thread Wesley Chen
I am sure you can fix the problem by yourself. index =1 means the first element if index =2, means the second element in the HTML Thanks. Wesley Chen. On Tue, Jun 16, 2009 at 3:37 PM, Rahul Ahuja mightyah...@gmail.com wrote: Thanks Wesley, But the solutions shared by you doesn't seems to

[wtr-general] Automating a File uploader popup

2009-06-16 Thread Natasha
Hi All, One of the links on our company website invokes a file uploader popup window. Techinally its a Flash method that calls the native OS file browser and then handles the response. Is it possible to automate it using Watir or any Ruby library? Thanks, Natasha

[wtr-general] Automating a File uploader popup

2009-06-16 Thread Natasha
Hi All, One of the links on our company website invokes a file uploader popup window. Techinally its a Flash method that calls the native OS file browser and then handles the response. Is it possible to automate it using Watir or any Ruby library? Thanks, Natasha

[wtr-general] Watir Podcast #25 with Dave Hoover of SafariWatir

2009-06-16 Thread Željko Filipin
I am recording a podcast with Dave Hoover of SafariWatir this Friday 7pm utc. If you have any questions for him, please post them here. What is that podcast thing, you ask? Take a look: http://watirpodcast.com/ Željko Filipin --~--~-~--~~~---~--~~ You received

[wtr-general] Re: firewatir form submit working???

2009-06-16 Thread jason
Orde, thanks for looking at this. unfortunately thats not the answer - maybe even a little off track. I am getting a lot cases where form.submit does not work as expected. another case is www.monster.de ff.form(:index, 1).text_field(:name, ctl00$ctl00$searchBox $_ptbKeywords).value = 12345

[wtr-general] Re: What languages are supported using Watir

2009-06-16 Thread Željko Filipin
On Mon, Jun 15, 2009 at 3:02 PM, Rahul Ahuja mightyah...@gmail.com wrote: Which all languages mentioned below are supported by Watir. What do you mean by that? Can you enter text written in those languages in text box with Watir? I know there are problems with some languages, but I also think

[wtr-general] Re: Automating a File uploader popup

2009-06-16 Thread Željko Filipin
On Tue, Jun 16, 2009 at 10:47 AM, Natasha itsn...@yahoo.co.uk wrote: One of the links on our company website invokes a file uploader popup window. This does not work? http://wiki.openqa.org/display/WTR/File+Uploads Željko -- http://watirpodcast.com/

[wtr-general] Running scripts on Mozilla 1.5.0.3

2009-06-16 Thread Durgesh Nadkarni
Hi, I have installed the mozilla version 1.5.0.3. But when I ran the scripts it gave me following error. = 1) Error: test_Gmail_Working(Gmail): Watir::Exception::UnableToStartJSShException: Unable to connect to machine : 127.0.0.1 on port 9997. Make sure

[wtr-general] Why Do Exists? Exceptions Occur?

2009-06-16 Thread Bill Mosteller
A little loop to run through a Hotmail inbox (line 59 is the if statement): puts TimeStr() + Back from in-box click sleep(1) (1..20).each do |x| inboxrow = $ie.frame(:id, 'UIFrame').table(:class, 'InboxTable').row (:index, x).cell(:class, 'Sbj') if inboxrow.exist? then

[wtr-general] Re: Automating a File uploader popup

2009-06-16 Thread Natasha Ranney
Hi Thanks for the pointer. Unfortunately I don't think it will help, as it looks for HTML tag input type = file :( But following is the piece of code that invokes the popup in my case: div a href=# class=linkbutton alt span

[wtr-general] Firewatir browser incorrectly reading URLs that contain a hash (#) symbol

2009-06-16 Thread Aaron
I'm using Firewatir to navigate a website that uses AJAX links. When one of these AJAX links are clicked, the URL some/url turns into some/url#something/else. However, the url field of my browser object only returns some/url; it ignores whatever is after the hash symbol. This only occurs when

[wtr-general] Re: Watir Podcast #25 with Dave Hoover of SafariWatir

2009-06-16 Thread George
I'd like to know if SafariWatir will one day be compatible with the PC... On Jun 16, 3:11 am, Željko Filipin zeljko.fili...@gmail.com wrote: I am recording a podcast with Dave Hoover of SafariWatir this Friday 7pm utc. If you have any questions for him, please post them here. What is that

[wtr-general] Re: Automating a File uploader popup

2009-06-16 Thread George
Hi Natasha, Have you tried file_field? browser = Watir::IE.attach(...) browser.file_field(:id,open_file).set(filepath) On Jun 16, 6:26 am, Natasha Ranney itsn...@yahoo.co.uk wrote: Hi Thanks for the pointer. Unfortunately I don't think it will help, as it looks for HTML tag input type =

[wtr-general] Re: Why Do Exists? Exceptions Occur?

2009-06-16 Thread James
I'm fairly sure your script isn't even getting to the exists? line. You need to tack it directly onto the $ie.frame.etc. instead of trying to assign it to a variable first and then using .exists? on it. I agree it would be nice if you could write it the way you have, but it does make sense the

[wtr-general] Re: FireWatir 1.6.2 unittests don't run

2009-06-16 Thread Andrew
I got past this error, but not all of the tests appear to be working yet. After getting the latest code from git, I copied the watir \commonwatir\unittests\setup folder to Ruby\lib\ruby\gems\1.8\gems \watir-1.6.2\unittests. However, core_tests.rb won't run any tests, but window_test.rb will run

[wtr-general] Re: Why Do Exists? Exceptions Occur?

2009-06-16 Thread Mark Anderson
, but that seems like a lot of trouble when I would have expected exists? to have simply said no. __ Information from ESET NOD32 Antivirus, version of virus signature database 4160 (20090616) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

[wtr-general] Re: Why Do Exists? Exceptions Occur?

2009-06-16 Thread wsm
I believe Mark has it right. Crisper script, exists? is on line 65: inboxtbl = $ie.frame(:id, 'UIFrame').table(:class, 'InboxTable') rows = inboxtbl.row_count_excluding_nested_tables() puts TimeStr() + Back from in-box click, + rows.to_s + rows if inboxtbl.row(:index, (rows +

[wtr-general] 30 Second Pauses When Scripting Hotmail

2009-06-16 Thread Bill Mosteller
I'm whipping up a script for Hotmail that signs on, goes to the inbox, refreshes it, and opens a message from the inbox. When the script hits the inbox for the first time, or the message, it often pauses for about 30 seconds. I suspect it's waiting for the animated ad on the right hand side of

[wtr-general] Re: firewatir form submit working???

2009-06-16 Thread orde
Took a closer look. WORKS: http://www.jobware.de/ ff.form(:index, 1).text_field(:index, 1).value = ruby ff.form(:index, 1).submit DOESN'T WORK: http://www.monster.de ff.form(:index, 1).text_field(:name, ctl00$ctl00$searchBox $_ptbKeywords).value = 12345 ff.form(:index, 1).submit BUT THIS

[wtr-general] Can't click on text in a cell which is located in undefined tables

2009-06-16 Thread shiran
Hi all, Below name texts (Jayasooriya, Jayawardena) are located in cells of a un named table. But they are working like links. When double click on that text, method 'select submit' is getting called. I am not being able to double click on this text using watir. Appreciate your help on this