Re: [Wtr-general] right click???

2006-09-11 Thread Zeljko
This is out of my league. Anybody familiar with this error message? Željko ie.div(:id, detailProposal0610760).fire_event(rightclick) It highligts it like it wants to do something but never acts as a right click. This is the message in the prompt that I get if that helps.

[Wtr-general] Testing e-mail digest

2007-02-27 Thread Zeljko
This is not Watir related, but it is about testing in Ruby. I am just wondering how others are testing e-mail digest. I used to do it manually, and now I would like to make a script. I have to test daily, weekly and monthly digest. Three options come to mind: 1) Simple, but slow. Change digest

[Wtr-general] How can I click h4 headline?

2007-07-03 Thread Zeljko
I have a h4 headline that I have to click. h4 id=addprojectCreate a new project/h4 This does not work. ie.h4(:id, addproject).click Is there a way to click it? Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org

RE: [Wtr-general] Next release ( 1.4)

2005-07-06 Thread Zeljko Filipin
I am not shure if I undrestood, but I use something like this, if this is what you meant: class Web def enter_text( text_field ) puts - entering text: #{ text_field.display } = #{ text_field.value } @ie.textField( text_field.how, text_field.what ).set(

RE: [Wtr-general] (no subject)

2005-07-20 Thread Zeljko Filipin
require 'first_script.rb' require 'second_script.rb' ... Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of boni udaySent: Wednesday, July 20, 2005 9:56 AMTo: ruby formSubject: [Wtr-general] (no subject) hi how to call 2 or more ruby scripts from a single script

RE: [Wtr-general] Need Help

2005-07-21 Thread Zeljko Filipin
You have to include first.rb in second.rb.Put this at the beggining of second.rb (if both files are in the same directory): require 'first' Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of boni udaySent: Thursday, July 21, 2005 1:04 PMTo: ruby formSubject: [Wtr

[Wtr-general] RE: image.to_s

2005-07-21 Thread Zeljko Filipin
And also required property alt is not displayed. Zeljko -Original Message- From: Zeljko Filipin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 3:08 PM To: wtr-general@rubyforge.org Subject: image.to_s I am making unit tests for my methods and I found a bug in watir. I wanted

RE: [Wtr-general] Need Help

2005-07-22 Thread Zeljko Filipin
Ruby is a singleinheritance language (Programming Ruby -- The Pragmatic Programmer's Guide, 2nd edition) But there is something called mixins. Read from ProgrammingRuby.chm (comes with ruby) this: Mixin Modules (classes) Mixins (modules) Mixins---Including Modules (language) Zeljko

[Wtr-general] RE: bug in text_field.to_s

2005-07-26 Thread Zeljko Filipin
I think the problem is that size and maxLength are not defined for textarea. Zeljko -Original Message- From: Zeljko Filipin [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 4:32 PM To: wtr-general@rubyforge.org Subject: bug in text_field.to_s There seems to be a bug

RE: [Wtr-general] Sending Email Notifications

2005-07-27 Thread Zeljko Filipin
I use net/smtp. http://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/ Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tuyet Cong-Ton-NuSent: Wednesday, July 27, 2005 3:14 AMTo: wtr-general@rubyforge.orgSubject: [Wtr-general] Sending Email Notifications After

RE: [Wtr-general] Script return values

2005-07-27 Thread Zeljko Filipin
I am new to unit testing, but try this: assert(ie.contains_text(verification text), TEST FAILED.) assert(boolean, [ message ] ) - Fails if boolean is false or nil. rescue seems to rescue your failure. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

[Wtr-general] Watir::FactoryMethods#file_fields

2005-07-27 Thread Zeljko Filipin
Is there some reason that there is no method Watir::FactoryMethods#file_fields (like Watir::FactoryMethods#buttons)? It would be nice to have it. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr

RE: [Wtr-general] Watir::FactoryMethods#file_fields

2005-07-27 Thread Zeljko Filipin
Thanks, I also have file_field, but I need file_fields (plural). :) Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: Wednesday, July 27, 2005 7:20 PM To: wtr-general@rubyforge.org Subject: RE: [Wtr-general] Watir::FactoryMethods

RE: [Wtr-general] Inserting variable name in string

2005-07-27 Thread Zeljko Filipin
But it will not work if you use single quotes ('), you have to use double quotes () if you have variable inside the string. new_string = abcdef#{var1}jklmnop Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: Wednesday, July 27

RE: [Wtr-general] Watir::FactoryMethods#file_fields

2005-07-27 Thread Zeljko Filipin
Thanks, I will try it at once. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: Thursday, July 28, 2005 12:25 AM To: wtr-general@rubyforge.org Subject: RE: [Wtr-general] Watir::FactoryMethods#file_fields Ok, this time Im sure I

RE: [Wtr-general] RE: image.to_s

2005-07-27 Thread Zeljko Filipin
Thanks again. About type: image - after I thought about it, I also think it should not be removed. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: Thursday, July 28, 2005 12:45 AM To: wtr-general@rubyforge.org Subject: RE: [Wtr

RE: [Wtr-general] RE: image.to_s

2005-07-28 Thread Zeljko Filipin
. 182 tests, 1060 assertions, 4 failures, 0 errors Zeljko -Original Message- From: Zeljko Filipin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 7:46 AM To: 'wtr-general@rubyforge.org' Subject: RE: [Wtr-general] RE: image.to_s Thanks again. About type: image - after I thought

RE: [Wtr-general] where's the tarball again?

2005-07-28 Thread Zeljko Filipin
At this page there is link Download tarball : http://rubyforge.org/cgi-bin/viewcvs.cgi/?cvsroot=wtr (http://rubyforge.org/projects/wtr/ SCM Browse CVS Repository). Or just click http://rubyforge.org/cgi-bin/viewcvs.cgi/cvs_root.tar.gz?tarball=1cvsroot=w tr to download it. Zeljko -Original

RE: [Wtr-general] RE: image.to_s

2005-07-28 Thread Zeljko Filipin
meta http-equiv=Content-Type content=text/html; charset=UTF-8 / /head body p img src=images/flower.png alt=image disabled=disabled / /p /body /html Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: Thursday, July 28, 2005 7:06 PM

RE: [Wtr-general] radio button support

2005-07-29 Thread Zeljko Filipin
:WebSite disabled: false type: radio id: name: AssociateWith value:Distributor disabled: false = 0 Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shao Kang Tat Sent: Friday, July 29, 2005 4:07 PM To: wtr-general

RE: [Wtr-general] radio button support

2005-07-29 Thread Zeljko Filipin
Well, I never delete old watir before I install new one and it works fine. I just did it today. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shao Kang Tat Sent: Friday, July 29, 2005 4:30 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr

RE: [Wtr-general] press 'Yes' using Watir

2005-08-01 Thread Zeljko Filipin
/001676.html Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmytro Sent: Sunday, July 31, 2005 7:30 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] press 'Yes' using Watir Does any one know how to press 'Yes' button on the window

[Wtr-general] file_field.set

2005-08-01 Thread Zeljko Filipin
/watir.rb:3099:in `set' ... Will title be supported for file fields? I would like it. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] RE: file_field.set

2005-08-01 Thread Zeljko Filipin
I would also like title support for other html elements (like checkbox). Zeljko -Original Message- From: Zeljko Filipin [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 1:26 PM To: wtr-general@rubyforge.org Subject: file_field.set 1) After I do: ie.file_field(:index,1).set('C

RE: [Wtr-general] press 'Yes' using Watir

2005-08-01 Thread Zeljko Filipin
1) Look at watir unit tests 2) For searching archives try this in Google: site:rubyforge.org [Wtr-general] javascript (instead of javascript you can use anything you think can be usefull) Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

[Wtr-general] Inheritance

2005-08-02 Thread Zeljko Filipin
end end Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

RE: [Wtr-general] open file with file_field

2005-08-08 Thread Zeljko Filipin
is removed,just make sure your files for upload do not have spaces in path. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neumann, Carsten - ENCOWAYSent: Monday, August 08, 2005 11:36 AMTo: wtr-general@rubyforge.orgSubject: [Wtr-general] open file with file_field How

RE: [Wtr-general] open file with file_field

2005-08-08 Thread Zeljko Filipin
(about 10 seconds at my box). Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neumann, Carsten - ENCOWAY Sent: Monday, August 08, 2005 4:00 PM To: wtr-general@rubyforge.org Subject: AW: [Wtr-general] open file with file_field What do you mean

RE: [Wtr-general] New, improved support for popup dialogs

2005-08-09 Thread Zeljko Filipin
If I use Watir::dialog.button('OK').click I get error undefined method `dialog' for Watir:Module (NoMethodError) Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Tuesday, August 09, 2005 6:11 PM To: wtr

RE: [Wtr-general] Set the Focus to a newly opened Window

2005-08-19 Thread Zeljko Filipin
IE#atach will do it if your window is new browser window ie=Watir::IE.attach(:title,'title') or ie=Watir::IE.attach(:url,'url') Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael MüllerSent: Friday, August 19, 2005 10:19 AMTo: wtr-general@rubyforge.orgSubject

RE: [Wtr-general] Sleep statements and Attach

2005-08-20 Thread Zeljko Filipin
I have the same problem, but I have not found the solution yet. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tuyet Cong-Ton-NuSent: Saturday, August 20, 2005 1:06 AMTo: wtr-general@rubyforge.orgSubject: [Wtr-general] Sleep statements and Attach The code below

RE: [Wtr-general] New Installer for Watir 1.4.1

2005-08-22 Thread Zeljko Filipin
: test_links_and_images_in_table(TC_Tables) [C:/Watir/unittests/../unittests/table_test.rb:165]: 106 expected but was 28. 182 tests, 1053 assertions, 5 failures, 2 errors Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Sunday

[Wtr-general] watir/dialog

2005-08-23 Thread Zeljko Filipin
Is watir/dialog removed from new version? I just installed watir gem, and both remote_eval and watir/dialog seem to be missing (or am I missing something)? I recently moved to remote_eval for dealing with javascript pop up windows. Zeljko ___ Wtr

RE: [Wtr-general] input type=image name=xxx How to use it inWatir?

2005-08-23 Thread Zeljko Filipin
input type="image" name="xxx" is really a button, so you should do: ie.button(:src, '/Images/xxx.gif').click Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex GLoveSent: Tuesday, August 23, 2005 3:41 PMTo: wtr-general@rubyforge.orgSubject:

RE: [Wtr-general] watir/dialog

2005-08-24 Thread Zeljko Filipin
Thanks. I downloaded HEAD. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Tuesday, August 23, 2005 10:30 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] watir/dialog It has not yet been released. Unlike

[Wtr-general] RE: file_field.set

2005-08-24 Thread Zeljko Filipin
There was no answer to this, but it is really ruining my output. :) I am aware that this is cosmetic issue, but I would really prefer no output when selecting file (like there is no output for any other watir method). Zeljko -Original Message- 1) After I do: ie.file_field(:index,1).set

Re: [Wtr-general] how to determine if checkbox is disabled

2005-08-26 Thread Zeljko Filipin
it again). Zeljko 2005/8/26, [EMAIL PROTECTED] [EMAIL PROTECTED]: What's the best approach to know if a checkbox is disabled or not? I could try to set it then just catch the error. but is there a method or something? I'm using this site for reference http://wtr.rubyforge.org/rdoc/classes/Watir

Re: [Wtr-general] Passing data between scirpts?

2005-08-26 Thread Zeljko Filipin
Global variable is any variable that starts with $ (like $my_global_variable). Zeljko 2005/8/26, Ian Phillips [EMAIL PROTECTED]: Hi. Just started using WATIR and have hit this problem. I need to pass a variable or have a global variable so that all my scripts have access

RE: [Wtr-general] Connecting to a second window

2005-08-30 Thread Zeljko Filipin
Try this $ieAbout = Watir::IE.attach(:title, /About KALIDO MDM/) instead of $ieAbout = IE.attach(:title, /About KALIDO MDM/) Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Harris Sent: Tuesday, August 30, 2005 11:53 AM To: wtr-general

RE: [Wtr-general] Problems with Assert method

2005-08-30 Thread Zeljko Filipin
And I noticed that you have def Test1 instead of def test1 Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian PhillipsSent: Tuesday, August 30, 2005 3:51 PMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] Problems with Assert method Hi.I noticed in your

RE: [Wtr-general] select box contains?

2005-08-31 Thread Zeljko Filipin
ie.selectBox(:index,1).getAllContents will return text of all options in select box. I guess it depends how you installed watir (installer, gem), but there is documentation start All Programs Watir API Reference. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Wtr-general] assert PASSED and FAILED

2005-08-31 Thread Zeljko Filipin
Will you describe installation of watir as gem in user guide? I think it is the most simple way. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Wednesday, August 31, 2005 3:11 PM To: wtr-general@rubyforge.org Subject: Re

Re: [Wtr-general] Watir for javascript-driven pages?

2005-09-19 Thread Zeljko Filipin
http://wtr.rubyforge.org/wiki/wiki.pl?FrequentQuestions Zeljko -Original Message- By the way, is there a search function for the mail achive? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr

Re: [Wtr-general] Help regarding assert commands in watir.

2005-09-21 Thread Zeljko Filipin
See WATIR User Guide http://wtr.rubyforge.org/watir_user_guide.html (Use Assertions headline) Also see files in unitTests folder (in watir folder) on your machine. Hope it helps. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guru Sent

Re: [Wtr-general] clicking this image

2005-09-28 Thread Zeljko Filipin
It is because it is a button, not an image. Try $ie.button(:src,/RBJ_LoginButtonOff/).click Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 9:04 AM To: wtr-general@rubyforge.org Subject: [Wtr

Re: [Wtr-general] javascript question

2005-10-04 Thread Zeljko Filipin
Try this ie.selectBox(:id, 'Details:UnassignedList').select('(X0005)') $ie.button(:value, '').click Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of beth ferguson Sent: Tuesday, October 04, 2005 7:34 PM To: wtr-general@rubyforge.org Subject: [Wtr

Re: [Wtr-general] handling file dialog

2005-10-05 Thread Zeljko Filipin
I also need that, as far as I know, it is not supported. They say all modal dialogs will be supported in 1.5 (http://wtr.rubyforge.org/wiki/wiki.pl?RoadMap) Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday

[Wtr-general] OO and test/unit

2005-10-17 Thread Zeljko Filipin
going totally wrong somewhere? Thanks. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to delete an item by clicking a trashcanicon...

2005-10-21 Thread Zeljko Filipin
All you need is here http://wtr.rubyforge.org/watir_user_guide.html If you have a problem, let me know. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Achan AwungshiSent: Friday, October 21, 2005 8:16 AMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] how

Re: [Wtr-general] Text box gives an Alert Window when input is giventhrough Watir

2005-10-25 Thread Zeljko Filipin
Try $ie.text_field(:name,NAME).set('6') Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amitha Shetty Sent: Tuesday, October 25, 2005 11:55 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] Text box gives an Alert Window when

Re: [Wtr-general] Testing If a Checkbox is Checked by Default

2005-10-26 Thread Zeljko Filipin
Try this: ie.checkbox(:id, 'checkbox_id').checked? I found it here http://wtr.rubyforge.org/rdoc/ (Classes Watir::RadioCheckCommon http://wtr.rubyforge.org/rdoc/classes/Watir/RadioCheckCommon.html) Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [Wtr-general] Is there a method to do ie.contains_html() ?

2005-10-27 Thread Zeljko Filipin
Try http://www.ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php It has a gui debugger. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sy Ali Sent: Thursday, October 27, 2005 2:44 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general

Re: [Wtr-general] How to get Image Source from Excel Input file?

2005-11-02 Thread Zeljko Filipin
Enter icons2.gif in excel instead of /icons2.gif/. Then try this: IMAGE = worksheet.range('b11')['Value'] $ie.image(:src, /#{IMAGE}/).click Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amitha Shetty Sent: Wednesday, November 02, 2005

Re: [Wtr-general] if textfield is read only?

2005-11-03 Thread Zeljko Filipin
html: input type=text readonly value=some_value / watir: ie.textField(:index, 1).readonly? Watir code will return true if text box is readonly, and false if not. I found it at http://wtr.rubyforge.org/rdoc/index.html Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Wtr-general] How to hide the explorer window in Watir

2005-11-04 Thread Zeljko Filipin
I just tried b option and file upload pop-ups appear. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of TomSent: Friday, November 04, 2005 3:42 PMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] How to hide the explorer window in Watir You could try

Re: [Wtr-general] Assertions trouble

2005-11-04 Thread Zeljko Filipin
Add this to your MY Helper script and it will work just fine. require 'test/unit/assertions' include Test::Unit::Assertions I think you can remove require 'test/unit' require 'test/unit/ui/console/testrunner' require 'watir/testUnitAddons' from that script (but I am not sure). Zeljko

Re: [Wtr-general] if textfield is read only?

2005-11-08 Thread Zeljko Filipin
And I could not find it in rdoc, too. :) Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 11:53 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] if textfield is read only? Thanks

Re: [Wtr-general] if textfield is read only?

2005-11-08 Thread Zeljko Filipin
I think I found it with this ie.textField(:index, 1).methods Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 3:42 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] if textfield is read

Re: [Wtr-general] Can watir be used to drive gmail....

2005-11-16 Thread Zeljko Filipin
I just tried it too, and it really does not work. Solution: log in, go to http://mail.google.com/mail/h/ and you will be switched to basic HTML and watir will work. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of smanish Sent: Wednesday, November

Re: [Wtr-general] Can watir be used to drive gmail....

2005-11-16 Thread Zeljko Filipin
HTML source will tell you why it does not work. :) It seems that gmail uses a lot of ajax (or something like that). Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of smanish Sent: Wednesday, November 16, 2005 10:32 AM To: wtr-general@rubyforge.org

Re: [Wtr-general] How to capture current page in a variable?

2005-11-16 Thread Zeljko Filipin
I do not understand what do you need. To capture url use ie.url, for text ie.text, for title ie.title, for html ie.html... Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beaton, MalcolmSent: Wednesday, November 16, 2005 11:44 AMTo: wtr-general@rubyforge.orgSubject

Re: [Wtr-general] Can watir be used to drive gmail....

2005-11-16 Thread Zeljko Filipin
http://googleblog.blogspot.com/2005/10/guess-what-just-turned-34.html More about gmail. Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of smanish Sent: Wednesday, November 16, 2005 10:32 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general

Re: [Wtr-general] How to capture current page in a variable?

2005-11-16 Thread Zeljko Filipin
You can do assert(ie.url == the_URL_I_Am_expecting') More information abuot select listsat http://wtr.rubyforge.org/rdoc/ (http://wtr.rubyforge.org/rdoc/classes/Watir/SelectList.html) Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beaton, MalcolmSent: Wednesday

Re: [Wtr-general] Open new browser after clicking button

2005-11-17 Thread Zeljko Filipin
It looks to me that your application does what it is supposed to do. Open new page in the same browser.Watir has nothing with the fact what happens after he clicks button. Could you give me more detail (html...)? Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Wtr-general] How to get some certain informations of page

2005-11-21 Thread Zeljko Filipin
"XXX,,,," in variable my_var. "\w" will match any letter, "(\w){3}" will match three letters if "X" is: -number: replace \w with \d -number or letter: replace \w with \d|\w -anything: replace \w with . (dot) Zeljko From: [EMAIL PROTECTED]

Re: [Wtr-general] How to download the html file in ruby

2005-11-22 Thread Zeljko Filipin
# File automatically closed here (from http://en.wikipedia.org/wiki/Ruby_programming_language) Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim che Sent: Tuesday, November 22, 2005 7:21 AM To: wtr-general@rubyforge.org

Re: [Wtr-general] How to check the error when opening the html pages

2005-11-24 Thread Zeljko Filipin
Try this require 'watir'begin ie = Watir::IE.start('http://w.111.com/')rescue = e puts "error: #{e}"end Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim cheSent: Thursday, November 24, 2005 2:26 AMTo: wtr-general@rubyforge.orgSubject: [Wtr-ge

Re: [Wtr-general] How to enter text in textareawith style=display:none

2005-11-28 Thread Zeljko Filipin
will be shown. Quick and easy. :) Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sathya Shankar Sent: Monday, November 28, 2005 1:26 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] How to enter text in textareawith style=display:none

Re: [Wtr-general] wait

2005-12-02 Thread Zeljko Filipin
# some ruby code sleep 1 # more ruby code "sleep 1" will wait for 1 second before"# more ruby code" is executed, if that is what you needed. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hrishikesh JamadagniSent: Friday, December 02,

Re: [Wtr-general] wait

2005-12-02 Thread Zeljko Filipin
As Jeff Wood would say: glad I could help. :) Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hrishikesh Jamadagni Sent: Friday, December 02, 2005 11:11 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] wait Thanks dude

Re: [Wtr-general] Non-blocking image click

2005-12-08 Thread Zeljko Filipin
I can not help you with your problem, but I installed 1.4.1 watir gem a few days ago. Try (in command prompt): gem install watir By the way, it is nice to know that I am not the only one from Croatia using watir. :) Zeljko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[Wtr-general] Test Run

2005-12-15 Thread Zeljko Filipin
read it (or there is nothing now or even interesting to you there), but just to make sure... More articles can be found here http://msdn.microsoft.com/msdnmag/find/default.aspx?type=Tiphrase=Test%20Ru nwords=exact Zeljko ___ Wtr-general mailing list Wtr

[Wtr-general] ruby ide

2005-12-19 Thread Zeljko Filipin
I am using Arachno Ruby IDE (http://www.ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). I also tried Scite and Freeride (included in Ruby). I am just wandering what the rest of you use (Eclipse...). Zeljko ___ Wtr-general mailing list Wtr-general

Re: [Wtr-general] ruby ide

2005-12-20 Thread Zeljko Filipin
Thank you all. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff WoodSent: Monday, December 19, 2005 7:51 PMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] ruby ide I've used JEdit, Eclipse w/ RDT, Komodo, ArachnoRuby, FreeRIDE, Scite, Emacs w/ ruby-mode

Re: [Wtr-general] url checking

2005-12-24 Thread Zeljko Filipin
To get browser url: ie.url To assert: assert_equal('http://www.google.co.in/', ie.url) Hope it helps. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hrishikesh JamadagniSent: Monday, December 12, 2005 6:42 AMTo: wtr-general@rubyforge.orgSubject: [Wtr-general

Re: [Wtr-general] assert_match question

2006-01-05 Thread Zeljko Filipin
I think that your error message undefined method `html' for Frame means that html method is not defined for Frame class. Zeljko 2006/1/4, Roy Sin [EMAIL PROTECTED]: Hi Wtr, I have a begin end as shown below where I do an assert_match to see if the html match a string variable that I stored

Re: [Wtr-general] PDF Testing using the Watir

2006-01-05 Thread Zeljko Filipin
As far as I know, no. But maybe you can testpdf filesusing some other ruby library. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chintakrindi Meghanath Sent: Thursday, January 05, 2006 12:56 PMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] PDF Testing

Re: [Wtr-general] Link that can not be found

2006-01-09 Thread Zeljko Filipin
+1 for www.w3schools.com Zeljko 2006/1/7, Michael Bolton [EMAIL PROTECTED]: I'm resending this message because I don't believe that it ever appeared on the list. If it did, please pardon me. ---Michael B. A while back, someone wrote: I am having the problem with the link

Re: [Wtr-general] WATIR 1.4.1 Did something happen?

2006-01-11 Thread Zeljko Filipin
I guess that you used to install watir from Download tarball. Gem version is usually older. Also, I think that elements_by_xpath is not included in 1.4.1, only in HEAD (but I am not sure). Zeljko 2006/1/10, Pat Cappelaere [EMAIL PROTECTED]: I just did a gem install watir Watir.rb now shows

Re: [Wtr-general] Read In from external file

2006-01-11 Thread Zeljko Filipin
I use yaml (http://yaml4r.sourceforge.net/). Try it, you will love it. Zeljko 2006/1/11, Torres, Ben (HQP) [EMAIL PROTECTED]: Hello, Can Watir read from an external file and plug that data into a script? If so, how? Ex: I have var1 = city, var2 = state, var3 = zip. Can I have a file

Re: [Wtr-general] close all IE windows

2006-01-24 Thread Zeljko Filipin
I think this will help. begin # attach to and close all IE windows rescue end I think that Bret Pettichord posted code that does what you need, but I can not find it now. Zeljko 2006/1/24, Richard Lawrence [EMAIL PROTECTED]: I'm trying to attach to and close all IE windows before

Re: [Wtr-general] question

2006-01-30 Thread Zeljko Filipin
Simple way: put your scripts in the same folder (example: script1.rb, script2.rb...) make script that calls other scripts: require script1 require script2 Zeljko 2006/1/27, Rexhina Alickolli [EMAIL PROTECTED]: Hello guys: I have just started to work with ruby and I am wondering

Re: [Wtr-general] Tab Click

2006-01-30 Thread Zeljko Filipin
I guess nothing happens. Zeljko 2006/1/30, [EMAIL PROTECTED] [EMAIL PROTECTED]: When I look at this HTML... div id='LineTab' style='position:absolute; left:0px; top:12px; width:595px; height:30px; z-index:1;align=left;visibility:hidden;' table width='595' cellspacing='0' cellpadding='0

Re: [Wtr-general] assert_equal problem in the module

2006-02-07 Thread Zeljko Filipin
require 'test/unit/assertions' include Test::Unit::Assertions 2006/2/7, jayashree [EMAIL PROTECTED]: Hi, I am new to watir and ruby. There are two ruby files.In the main ruby file I am using assert_equal.It's working fine.There is another ruby file which contains module.I want to write all

Re: [Wtr-general] How do you pass values to Hidden Input fields?

2006-02-07 Thread Zeljko Filipin
Try http://www.fiddlertool.com/fiddler/ Zeljko 2006/2/6, Paul Carvalho [EMAIL PROTECTED]: BTW, does anyone know a tool that will allow me to see what info IEpasses from one page to another? SpySmith is nice for viewing staticinformation on a page, but not for showing me what's being passed

Re: [Wtr-general] assert_equal problem in the module

2006-02-07 Thread Zeljko Filipin
I had the same problem not so long ago :) 2006/2/7, jayashree [EMAIL PROTECTED]: Hi Zeljko Filipin, It's working fine. Thank you, Jayashree. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zeljko Filipin Sent: Tuesday, February 07, 2006 1:45 PM

Re: [Wtr-general] Watir, Ruby, objects and variables

2006-02-08 Thread Zeljko Filipin
Thanks, but it does not work. class Page attr_accessor :texts def initialize(url, texts) @url, @texts = url, texts end end @page_view = Page.new( app.com/view.aspx, [File View]) @page_view_after_add = @page_view.clone @page_view_after_edit =

Re: [Wtr-general] Watir, Ruby, objects and variables

2006-02-08 Thread Zeljko Filipin
Now I know why it does not work. ri Object#clone and ri Object#dup prints this. Produces a shallow copy of _obj_---the instance variables of _obj_ are copied, but not the objects they reference. Anybody knows method that copies the object, not just the instance variables of object?

Re: [Wtr-general] Modifying Watir source

2006-02-10 Thread Zeljko Filipin
$ is end of string. So, /nameTextBox$/ would match Details$nameTextBox and not nameTextBoxMainContent or something alike. Take a look at http://phrogz.net/ProgrammingRuby/, search for Regular Expressions. -- http://www.testingreflections.com/blog/3071

Re: [Wtr-general] How can I display a message while a Watir script is Sleeping?

2006-02-16 Thread Zeljko Filipin
The easiest way I can think of is to output something in the console. # some ruby/watir codeputs Please wait a few minutes for some stuff to happen in the background.# more ruby/watir code On 2/15/06, Paul Carvalho [EMAIL PROTECTED] wrote: Hi there, this may seem trivial to some, but I haven't

Re: [Wtr-general] Save the results..

2006-02-22 Thread Zeljko Filipin
1. go to command prompt2. type ruby my_watir_script.rb my_watir_script_results.txt 3. all output will be stored in my_watir_script_results.txt4. you can do it even shorter my_watir_script my_watir_script_results.txt For more information, visit

Re: [Wtr-general] Save the results..

2006-02-22 Thread Zeljko Filipin
-general%40rubyforge.org/ On 2/22/06, Kiran Kumar.. [EMAIL PROTECTED] wrote: Hi, Thanx for the same. What is the command to maximize the browser window.Please let me know.. Regards Kiran.. --- Zeljko Filipin [EMAIL PROTECTED] wrote: ie.link(:text, /inbox/).click For more information, visit http

Re: [Wtr-general] multiple mails for a post

2006-02-23 Thread Zeljko Filipin
No. Are you using Outlook? On 2/24/06, Manish Sapariya [EMAIL PROTECTED] wrote: Is everybody getting multiple mails for one post like me? Thanks, Manish ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] multiple mails for a post

2006-02-24 Thread Zeljko Filipin
I do not know for thunderbird, but I had similar problem with outlook.I made some rules for sorting e-mails in folders, and by mistakedoubled one, so I started receiving double mails. I fixed it - deletedall rules (and started using gmail). I do not know if this helps, orif thunderbird even has

Re: [Wtr-general] any way to make IE.text_field.set optional?

2006-03-01 Thread Zeljko Filipin
This will also work (if you are passing nil or false when you do notwant to set text field). Just a bit shorter. def enter_text(arg1, arg2, arg3)@ie.text_field(:name, 'field1').set(arg1) if arg1@ie.text_field(:name, 'field2').set(arg2) if arg2@ie.text_field(:name,

Re: [Wtr-general] How do you skip a disabled checkbox?

2006-03-03 Thread Zeljko Filipin
This will do it. ie.frame('MainWindow').checkboxes.each { |x| x.set unless x.disabed } --http://www.testingreflections.com/blog/3071http://iskusivac.blog.hr/ ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] How do you skip a disabled checkbox?

2006-03-04 Thread Zeljko Filipin
Ups. :) On 3/3/06, Paul Carvalho [EMAIL PROTECTED] wrote: This worked perfectly - once I spelled disabled correctly. ;-) Thanks! Paul. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Handling with forms in watir.

2006-03-10 Thread Zeljko Filipin
It would help if you provided html snippet of your page, but Watirtells you that it can not find object with text Nebo GA 1.0. This isstrange, because you are trying to click link with text Nebo GA 1.0 (notice extra space at the end). Change $IE0.link( :text, Nebo GA 1.0 ).click to $IE0.link(

Re: [Wtr-general] Wtr-general Digest, Vol 28, Issue 15

2006-03-10 Thread Zeljko Filipin
Rails? Visit http://www.rubyonrails.org/. They have mailing list, butthis is the wrong one. Also, if you copy/paste your error somebodycould actually help you, I think they can not read minds (or is itjust me). :) If you want to install Watir, your error would really help. Do not thake this

[Wtr-general] Download tarball at svn.openqa.org

2006-03-14 Thread Zeljko Filipin
? Thanks, Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

  1   2   3   >