Re: [Wtr-general] Need help to test Flash Application

2006-10-18 Thread Zeljko Filipin
As far as I know, Watir can not test flash applications.Zeljko-- http://zeljkofilipin.com/
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] unicode question

2006-10-18 Thread Zeljko Filipin
Put this at the begging of your script:
require "win32ole"
WIN32OLE.codepage = WIN32OLE::CP_UTF8
I do not know if this would help. For context in which it worked see http://zeljkofilipin.com/?p=21Zeljko-- http://zeljkofilipin.com/

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

Re: [Wtr-general] unicode question

2006-10-18 Thread Zeljko Filipin
This thread may be helpful: http://www.mail-archive.com/wtr-general@rubyforge.org/msg04610.htmlZeljko-- 
http://zeljkofilipin.com/
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Outlook Access

2006-10-16 Thread Zeljko Filipin
On 10/13/06, Paul Rogers [EMAIL PROTECTED] wrote:







http://rubyforge.org/projects/gmailutils/
Thanks! This looks great.-- http://zeljkofilipin.com/
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to access a dynamic value from the source code.

2006-10-16 Thread Zeljko Filipin
Get url of page with ie.url.irb(main):003:0 url = "">= http://domain.com/sometextPRO_ID=
12345someothertext2345someothertext'
Get product idirb(main):005:0 pro_id = /PRO_ID=.*/.match(url)= #MatchData:0x2e3c108irb(main):006:0 pro_id[0]= PRO_ID=12345For more information, see documentation for Ruby classes MatchData and Regexp.
Zeljko-- 
http://zeljkofilipin.com/

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

Re: [Wtr-general] Outlook Access

2006-10-13 Thread Zeljko Filipin
On 10/12/06, Paul Rogers [EMAIL PROTECTED] wrote:






THere is even a gmail module which you can use to get access 
to your gmail accountCan you post a link? I am very interested in this.-- http://zeljkofilipin.com/
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Outlook Access

2006-10-12 Thread Zeljko Filipin
On 10/12/06, Michael Ehrich [EMAIL PROTECTED] wrote:
no. i mean something like this. my application has sent an email to outlook.i want watir to open outlook, open the mail and get the mail data like fromtext and so on.Hi Michael,You do not have to open Outlook to see your mail. You can read you e-mail from ruby. This is from my previous post at this list.
- receive e-mail - Net::POP3 (
http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/index.html)- send e-mail - Net::SMTP (
http://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html)- create (before sending) and parse e-mail (from file, after receiving) - TMail (
http://i.loveruby.net/en/projects/tmail/)Net::POP3
and Net::SMTP are included in Ruby, TMail needs installation. I had a
problem with TMail installation, and I contacted author. He recommended
this procedure, and now it works.



  ruby setup.rb config --without-extruby setup.rb setupruby setup.rb installIf anything is unclear, let me know.Zeljko-- http://zeljkofilipin.com/

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

Re: [Wtr-general] Outlook Access

2006-10-12 Thread Zeljko Filipin
On 10/12/06, Michael Ehrich [EMAIL PROTECTED] wrote:














thx for the help. that would be a solution
and what about the contacts and calender functions from outlook J
 

is there a way to control outlook via
watir ?You can not control Outlook from Watir, because it can only control Internet Explorer. But, Watir is written in Ruby, and I think you can do it from Ruby. I did not hear that anybody has done it, but I have heard about controlling Excel from Ruby.
http://wiki.rubygarden.org/Ruby/page/show/ScriptingExcelYou can start there. Or, google for Ruby and Outlook.Zeljko
-- http://zeljkofilipin.com/
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] watirmaker unsupported DEBUG statements

2006-10-04 Thread Zeljko Filipin
On 10/4/06, Bret Pettichord [EMAIL PROTECTED] wrote:
I just organized the known issues in Watir with frames:http://jira.openqa.org/secure/views/bulkedit/IssueNavigator.jspa?mode=hiderequestId=10201
Bret,This link does not work for me. When I click it I get page with error:Issue NavigatorErrors* Could not getRequest search with this id.The Issue Navigator allows you to browse all the issues in the system. Filters allow you to limit the issues that you see.
Using the panel on the left, you can create and edit new filters.Am I doing something wrong?Zeljko-- http://zeljkofilipin.com/
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] file_field.set not working

2006-09-27 Thread Zeljko Filipin
On 9/26/06, Charley Baker [EMAIL PROTECTED] wrote:
Zeljko, Go ahead and open up a Jira ticket for this. It looks likefilefield_test.rb in the unittests is also failing for me.Thanks,CharleyDone.
http://jira.openqa.org/browse/WTR-108Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] file_field.set not working

2006-09-26 Thread Zeljko Filipin
I have just installed watir 1.5.1.1100. I have ruby 1.8.4 (2006-04-14) [i386-mswin32].I have file upload field that looks like thisinput type=fileWhen I try to upload file with this (there is 
file.txt is at C:\)ie.file_field(:index, 1).set('c:\file.txt')command prompt window appears with title c.\ruby\bin\ruby.exe. This appears at that window.c:\wetc:/ruby/lib/ruby/site_ruby/1.8
c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrtc:/ruby/lib/ruby/site_rubyc:/ruby/lib/ruby/1.8c:/ruby/lib/ruby/1.8/i386-mswin32.c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1100Also, Choose file window appears.
After a few seconds, c.\ruby\bin\ruby.exe window closes and Choose file window stays open. file.txt does not get selected.I just tried it with 1.5.1.1081 and it works. Is this a known bug? Is this functionality removed or moved somewhere?
Thanks for help.-- Zeljko Filipin[EMAIL PROTECTED]
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Parameterization of data in the watir

2006-09-21 Thread Zeljko Filipin
The last two times you asked this question, you were suggested to take a look at these pages:http://wiki.rubygarden.org/Ruby/page/show/ScriptingExcel
 http://www.rubycentral.com/book/win32.htmlThey were not helpful?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Disclaimer

2006-09-19 Thread Zeljko Filipin
+1

Zeljko

On 9/19/06, Matt Johnson [EMAIL PROTECTED] wrote:
 Bret, this seems like a reasonable message to put on that page.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Promoting Watir

2006-09-15 Thread Zeljko Filipin
Why not just redirect from wtr.rubyforge.org to openqa.org/watir/? Then you will have to maintain only one site. Or change 
wtr.rubyforge.org to we have moved...? Also, can something similar be made with 
http://rubyforge.org/projects/wtr/? Is there a reason for maintaining two sites?Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] JavaScript created Divs - Access

2006-09-15 Thread Zeljko Filipin
Hi Michael,ie.div(:id, 'menuItem0').fire_event('onmouseover') should work, but it does not.Could it be that your _javascript_ (or something else) is corrupted?Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] exception when contains_text called for empty ie

2006-09-13 Thread Zeljko Filipin
I have just installed watir  1.5.1.1081 and got an error message when I started my script. The shortest way I could reproduce it is this:C:\Documents and Settings\zfilipin\Desktopirbirb(main):001:0 require 'watir'
= trueirb(main):002:0 ie = Watir::IE.new= #Watir::IE:0x2e557d4 [...]irb(main):003:0 ie.contains_text(foo)WIN32OLERuntimeError: document OLE error code:80004005 in Unknown
 No Description HRESULT error code:0x80020009 Exception occurred. from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1081/./watir.rb:1701:in `method_missing' from c:/ruby/lib/ruby/gems/1.8/gems/watir-
1.5.1.1081/./watir.rb:1701:in `document' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1081/./watir.rb:1212:in `page' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1081/./watir.rb:1223:in `text'
 from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1081/./watir.rb:1722:in `contains_text' from (irb):3It works with watir  1.5.1.1065.irb(main):002:0 ie = Watir::IE.new= #Watir::IE:0x2e5557c [...]
irb(main):003:0 ie.contains_text(foo)= falseRuby version is 1.8.4 (2006-04-14) [i386-mswin32]. Should I report this to jira?Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] exception when contains_text called for empty ie

2006-09-13 Thread Zeljko Filipin
Done. http://jira.openqa.org/browse/WTR-95ZeljkoOn 9/13/06, Bret Pettichord [EMAIL PROTECTED]
 wrote:Zeljko Filipin wrote: Should I report
 this to jira?Yes, thanks.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] JavaScript created Divs - Access

2006-09-13 Thread Zeljko Filipin
I did not understand what is your problem. You cold not access a div in sample1.html?Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

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

2006-09-12 Thread Zeljko Filipin
David,I was just qouting (the other) David's question. He should answer.ZeljkoOn 9/11/06, David Schmidt 
[EMAIL PROTECTED] wrote:Željko, are you sure that the right click event was in the DIV and not in another element inside of the DIV?

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

Re: [Wtr-general] click the button in form

2006-09-12 Thread Zeljko Filipin
Hi Ban,I will tell you how I solved your problem.I made a html file that contained the smallest amount of html code that I thought would be enough to reproduce your problem. Here it is:
input type=submit value=:: Login
gt;Then, i opened irb and tried to reproduce your error.C:\Documents and Settings\zfilipin\Desktopirbirb(main):001:0 require 'watir'= trueirb(main):002:0 ie = Watir::
IE.attach(:title, //)= #Watir::IE:0x2e54690 [...removed some text...]irb(main):003:0 ie.button(:value, :: Login gt;).clickWatir::Exception::UnknownObjectException: Unable to locate object, using value and :: Login gt;
[...the rest of error message...]Then, I did some investigation.irb(main):004:0 ie.button(:index, 1).value= :: Login So, for watir value of that button is 
:: Login  and not :: Login
gt; as it is in html file. That is because gt; represents  character in html files (to avoid confusion, because all tags end with ).
Then I tried to flash that button.irb(main):006:0* ie.button(:value, :: Login ).flash= nil(It flashed).Then I tried to click it.irb(main):007:0 
ie.button(:value, :: Login ).click= Success! :)Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] click the button in form

2006-09-12 Thread Zeljko Filipin
Hi Boominathan,Please, do not take this as a personal attack to you, but it would be better if you did not reply if you did not want to help. Ban posted a perfect request for help. He posted a description of his problem, html code, watir code and error message. And it was short enough. He did not post nothing irrelevant to the problem. He kept it short and posted all I needed to reproduce his problem and solve it.
I remember how I was surprised when I saw that watir sees gt; as  and it was not hard for me to solve it because I am familiar with html. Ban (maybe) is not, so a minute of my time probably saved him a lot of time. So, he can do his job, earn some money and buy me a beer if we meet sometime. But, we will probably never meet, so he can buy that beer to his developer. But enough about beer.
What I wanted to say is - I like watir because it is great tool, and I like the people that use it. They seem friendly. I would like to have a beer with any watir user I meet. But, I started about beer again.
What I wanted to say is (second iteration) - I get sad when I see a post that is not friendly (not rude or something, just not friendly).This post got pretty long. Once more - please, do not take this personally. I did not mean to insult you. Just, if you think somebody posted a stupid question, please do not answer in a non friendly tone. In my opinion, it is better not to answer.
ZeljkoOn 9/12/06, boominathan [EMAIL PROTECTED] wrote:
hi,first u write correct frame name and button name. First u find which frame contains that button. then u write script like this$ie.frame(framename).button(:name or :value,the proper name or the Proper value).flash then click.

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

Re: [Wtr-general] watir examples

2006-09-11 Thread Zeljko Filipin
Go to http://www.openqa.org/watir/Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] attach

2006-09-11 Thread Zeljko Filipin
Luke,Please read watir user guide at http://www.openqa.org/watir/watir_user_guide.html. There are two paragraphs you should read carefully, 
New Windows and Popup Windows.Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Inputing text into a textarea that is contained within a div

2006-09-08 Thread Zeljko Filipin
Post a html snippet so I could try it myself.Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Hi watir problem

2006-09-07 Thread Zeljko Filipin
Uninstall ruby, install it again, then install watir gem.Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Newbie Question: Verify and Then Click URL

2006-09-06 Thread Zeljko Filipin
Variables inside regular expressions should be inside #{}. Try this:test_var = ie.link(:url,/#{test_search}/).exists?Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] I am a newb

2006-09-05 Thread Zeljko Filipin
David,what do you do (exactly) and what happens when you do it? This is how I open irb:- click start- click Run...- type cmd in Open: text field- press enter
- command prompt window opens with text:Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.C:\Documents and Settings\zfilipin- type irb
- press enter- command prompt now looks like this:Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.C:\Documents and Settings\zfilipinirbirb(main):001:0
What do you get?Željko FilipinOn 9/5/06, David [EMAIL PROTECTED] wrote:
I cant pull up irb. I am in the command prompt, it is defaulted at C:\Documents and Settings\user I have typed in irb here, I have changed the directory to just C:\ and tried.

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

Re: [Wtr-general] cannot set a text_field after form submit

2006-09-01 Thread Zeljko Filipin
It looks to me that after the first form submit, that text field is disabled.Zeljko FilipinOn 8/31/06, Gabe 
[EMAIL PROTECTED] wrote:WIN32OLERuntimeError: unknown property or method `disabled'

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

Re: [Wtr-general] Newbie problem with submitting a login

2006-08-29 Thread Zeljko Filipin
It seems to me that if you want to log in, you have to fire _javascript_ event mymiLogin() that is located heretr align=center  
>In your snippet you can do it like this:ie.table(:index, 4)[1].fire_event('mymiLogin')Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Newbie problem with submitting a login

2006-08-29 Thread Zeljko Filipin
Glad I could help.I use 1.5, so I guess it is usable. :)ZeljkoOn 8/29/06, Reinier Mostert [EMAIL PROTECTED]
 wrote:




Hi,

I have 1.4 - if 1.5 is already usable I'll 
upgrade.

Thanks again for your help.

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

[Wtr-general] 9th place for watir

2006-08-25 Thread Zeljko Filipin
Did you know that watir is 9th at rubyforge top downloads list? Above typo, rake... :)Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Determining if control is hidden

2006-08-22 Thread Zeljko Filipin
What do you mean by hidden? It has display: none? Please post your not hidden and hidden checkbox html.Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Divs

2006-08-22 Thread Zeljko Filipin
Done.http://jira.openqa.org/browse/WTR-93On 8/21/06, Bret Pettichord 
[EMAIL PROTECTED] wrote:Please log this as a bug in Jira.

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

Re: [Wtr-general] Submitting a form with multiple submit buttons

2006-08-22 Thread Zeljko Filipin
This worked for me:irb(main):003:0 ie.button(:value, Save).click= irb(main):004:0 ie.button(:value, Cancel).click= 
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Facing difficulty in click event of menus

2006-08-21 Thread Zeljko Filipin
Try:ie.span(:text, View Transactions).flashie.span(:text, View Transactions).clickZeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] problem in opening a file

2006-08-21 Thread Zeljko Filipin
Or you could put path to a variablepath = C:\demo\workbook = excel.Workbooks.Open (#{path}mation.xls)Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Divs

2006-08-21 Thread Zeljko Filipin
This is not working for me (only indexes are printed, all ids are empty):irb(main):010:0 ie.goto(http://www.yahoo.com/)= 1.235irb(main):011:0 ie.divs.show
index id className12...117118= nilI can see in the source that divs have ids:...div id=pagediv id=ftnav
...On 8/8/06, Bret Pettichord [EMAIL PROTECTED] wrote:
ie.divs.show
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Unicode Support in Watir

2006-08-21 Thread Zeljko Filipin
Maybe this will help (from http://www.testingreflections.com/node/view/3400):Install Ruby 1.8.3. or 1.8.4. and put this at the begging of your script:


require win32ole
WIN32OLE.codepage = WIN32OLE::CP_UTF8Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Problem in accessing array element

2006-08-02 Thread Zeljko Filipin
data[2] contains the third element of your array (array counts from zero: 0, 1, 2, 3...).Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Watir 1.5

2006-08-01 Thread Zeljko Filipin
You have probably installed watir 1.4.1 with one-click installer. The most simple solution is to uninstall ruby, install it again and then install watir gem.Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Want to run my test in slow speed??

2006-08-01 Thread Zeljko Filipin
As simple as:ie.set_slow_speedŽeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] AJAX applications.

2006-08-01 Thread Zeljko Filipin
http://en.wikipedia.org/wiki/AJAXZeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] retrieve data from a specific tags

2006-08-01 Thread Zeljko Filipin
Tryie.div(:class, tnt-error).textZeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] retrieve data from a specific tags

2006-08-01 Thread Zeljko Filipin
I guess it would not work without the latest watir.http://wiki.openqa.org/display/WTR/Development+BuildsIt worked for me with watir 1.5.1.1045
.Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Project Map

2006-07-31 Thread Zeljko Filipin
Patrick from Openqa is trying to merge Watir General forum and this list. There are some problems, but I hope he will resolve them in near future.ŽeljkoOn 7/28/06, 
Bret Pettichord [EMAIL PROTECTED] wrote:

OpenQA provides a web-based
forum:http://forums.openqa.org/forum.jspa?forumID=5start=15, but
this isn't monitored by as many people.

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

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
I use Arachno Ruby (http://ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). Take a look.Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
Did you sent crash reports? Every time I send one, Lothar (developer) quickly fixes it.On 7/31/06, Adrian Lewis 
[EMAIL PROTECTED] wrote: I use Arachno Ruby (
http://ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). Take a look.supports only 1.8.2. and the beta for 1.8.4 ([for me] kept crashing).
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
I have ruby 1.8.4 and official version of Arachno works at my windows machine (http://ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). There is even a Linux version (beta) 
http://ruby-ide.com/forum/showthread.php?t=589.ŽeljkoOn 7/31/06, Adrian Lewis 
[EMAIL PROTECTED] wrote:Zeljko
Could you give me a link to the Ruby 184 supported version.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
I do not use debugger a lot, but I just tried it and it works. If you have any problems, contact Lothar or post a question at Arachno forum. What happens when you start debugger? Nothing?Željko
On 7/31/06, Adrian Lewis [EMAIL PROTECTED] wrote:
But there is no de-bugging with this version and 1.8.4. Am I correct insaying that?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
Try new and improved Arachno, it will work. And, if it does not, just submit crash report and it will be fixed soon.ŽeljkoOn 7/31/06, Adrian Lewis
 [EMAIL PROTECTED] wrote: What happens when you start debugger? Nothing?
Crashes. But the last time I used it was over a month ago.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] clicking on a link using sub-text of the link text?

2006-07-28 Thread Zeljko Filipin
It would be 
easier if you posted your html so we could try to click that link at our machine instead of 
guessing.
Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] No tests specified

2006-07-28 Thread Zeljko Filipin
Test::Unit::TestCase must have at least one method which name starts with test_.Changedef centralvision
 load 'centralvision.rb'endto def test_centralvision load 'centralvision.rb'endand you should be fine.Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Very basic Watir/Ruby question?

2006-07-27 Thread Zeljko Filipin
This is what watir simple can do: http://wtr.rubyforge.org/rdoc/classes/Watir/Simple.htmlI did not find anything about checkboxes. I guess it is time for you to start using the real watir. You will see it is not that difficult. Just follow user guide: 
http://www.openqa.org/watir/watir_user_guide.html
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Cancel Subscription

2006-07-26 Thread Zeljko Filipin
Go to http://rubyforge.org/mailman/listinfo/wtr-general and unsubscribe.ŽeljkoOn 7/25/06, 
Tess :) [EMAIL PROTECTED] wrote:
I do not wish to recieve emails from this network anymore.Please take meoff the list or tell me what I can do.Thanks!Tessa[EMAIL PROTECTED]
___Wtr-general mailing listWtr-general@rubyforge.orghttp://rubyforge.org/mailman/listinfo/wtr-general

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

Re: [Wtr-general] How to open new IE-window minimized?

2006-07-26 Thread Zeljko Filipin
It looks like a feature request to me.http://jira.openqa.org/browse/WTROn 7/26/06, 
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
But then still the new window appears.I want the same behaviour as if a watir-script is started with -b.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Just wanted to invoke click event where the button have parameters in it

2006-07-26 Thread Zeljko Filipin
I knew there must be a way to click that button, I just did not know how. Watir is getting better and better. :)You made a typo, it should beie.button(:html, /'delete', 'KH'/).clickŽeljko
On 7/26/06, Bret Pettichord [EMAIL PROTECTED] wrote:
ie.button(:html, /
'delete', 'KH')/).click
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] problem in click event of div

2006-07-21 Thread Zeljko Filipin
It seems like a spelling error to me, because this works for me (change first id to ie):ie.div(:id,tCt2).clickOn 7/21/06, 
VIKASH KUMAR [EMAIL PROTECTED] wrote:
I
 wanted to click on div having id=tCt2, the below code is not working:  id.div(:id,tCt2).click
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to handle tab buttons

2006-07-19 Thread Zeljko Filipin
Your tab is just a cell in a table.ie.cell(:id, tbJobstd0).click
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Just wanted to invoke click event where the button have parameters in it

2006-07-19 Thread Zeljko Filipin
HTML that you provided is not valid. Three tags have the same id. Ids should be unique.Can you ask your developer to changebutton id=delete  'KH');Delete/button
to button id=KH  'KH');Delete/buttonIn short, change id=delete to id=KH.Then you could access it like this
ie.button(:id, KH).clickOn 7/19/06, VIKASH KUMAR [EMAIL PROTECTED] wrote:

Sir,  In my web page there are lots of buttons having same name, they are called using _javascript_. They are as follows:
  button type=button name=delete id=delete  'BF');Delete/button
button type=button name=delete id=delete  'BI');Delete/buttonbutton type=button name=delete id=delete  'KH');Delete/button
  ie.button(:index,3).click, this works great if we know the index, but if
 someone just doesn't know the index,knows only the parameter which is ('delete', 'KH'), then what is the solution for it?Please send me the solution for this.  Thanks in Advance
With Regards  Vikash Kumar 
	

	
		 
Find out what India is talking about on 
Yahoo! Answers India. 
Send FREE SMS from New Yahoo! Messenger to Mobile: Download 
NOW!
___Wtr-general mailing listWtr-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

Re: [Wtr-general] Watir Users forum at forums.openqa.org

2006-07-07 Thread Zeljko Filipin
Patrick asked what to do with Watir developers. Nobody said that it should not be removed, and I guess that Bret is answering most of the questions there (and he wrote that he would rather see it removed), so I guess it should be removed. Anybody thinks that it should mirror 
[EMAIL PROTECTED]?Bret, if nobody replies to this in a few days, should I tell Patrick to remove it?
ŽeljkoOn 6/27/06, Bret Pettichord [EMAIL PROTECTED] wrote:
I have two suggestions.1. Remove it entirely; or2. Rename it to Watir Development and have it mirror 
[EMAIL PROTECTED].I am currently very behind on replying to emails on wtr-development (my apologies) so i am somewhat reluctant to making it easier for people to post questions there.

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

Re: [Wtr-general] Watir Users forum at forums.openqa.org

2006-07-07 Thread Zeljko Filipin
Patrick needs[EMAIL PROTECTED] (I guess we should change it to [EMAIL PROTECTED]) subscribed to 
wtr-general@rubyforge.org. I tried to subscribe it, but that e-mail should be verified, and Patrick said that it is not easy for him to do (but not impossible). He asked if we could somehow force that subscription without that e-mail verified. Can we ask rubyforge to force that subscription?

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

Re: [Wtr-general] Need help populating a field array using variables

2006-07-06 Thread Zeljko Filipin
#{} inside double quoted strings lets you include variables in
strings. Like this:

irb(main):001:0 a = 1
= 1
irb(main):004:0 a = #{a}
= a = 1

I just performed a google search for #{} and #{} (without quotes and
with quotes) and got very interesting results. No match. I do not
think I have ever seen it before. :)

After a quick test, it looks to me that all queries including only
punctuation result in no match. Interesting.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Did the implementation for contains_text change?

2006-06-28 Thread Zeljko Filipin
You can get that warning if you use --verbose parameter:

ruby --verbose test.rb

On 6/27/06, Bret Pettichord [EMAIL PROTECTED] wrote:
 The example you provide should not give that warning. (It doesn't for me.)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Interesting link problem

2006-06-28 Thread Zeljko Filipin
ie.link(:index, 1).clickOn 6/28/06, David Solis [EMAIL PROTECTED] wrote:Does anybody have any idea how I can click on the first link?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] to_a method on a table and accessing elements

2006-06-28 Thread Zeljko Filipin
Try this (but I have not tried it, so I do not know if it works):table = $ie.table(:id, /TerritoryEmployee/).to_atable.each do |element| puts elementendor$ie.table(:id, /TerritoryEmployee/).to_a.each do |element|

 puts element
endOn 6/28/06, Adrian Rutter [EMAIL PROTECTED] wrote:
If I use the to_a method on an HTML table,e.g. $ie.table(:id, /TerritoryEmployee/).to_aHow do I access each individual element?ThanksAidy---
This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system.
If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.---
___Wtr-general mailing listWtr-general@rubyforge.orghttp://rubyforge.org/mailman/listinfo/wtr-general

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

Re: [Wtr-general] Issue with gem 1.5.11037

2006-06-27 Thread Zeljko Filipin
David,

thanks for the reply, but my post was not clear.

The funny thing is that I get false after I type 'require watir'.
It should be true, right? And, watir works, as if I did not get
false.

irb(main):001:0 require watir
= false

The other thing, I get that warning messages even if I do not type
'require watir' before 'require Watir'. And, of course, watir
works that way too.

Take a look.

C:\Documents and Settings\zfilipin\Desktopirb
irb(main):001:0 require Watir
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1039: warning:
already initialized constant REVISION
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1042: warning:
already initialized constant VERSION
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1045: warning:
already initialized constant READYSTATE_COMPLETE
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1048: warning:
already initialized constant DEFAULT_TYPING_SPEED
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1051: warning:
already initialized constant DEFAULT_SLEEP_TIME
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1054: warning:
already initialized constant DEFAULT_HIGHLIGHT_COLOR
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1901: warning:
already initialized constant TO_S_SIZE
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:2217: warning:
already initialized constant TAG
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:2225: warning:
already initialized constant TAG
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:2232: warning:
already initialized constant TAG
= true
irb(main):002:0
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Issue with gem 1.5.11037

2006-06-27 Thread Zeljko Filipin
Thanks Bret. I always do 'require watir' but false as a response
got me puzzled.

I read somewhere (at this list possibly) that I should try 'require
Watir' so I tried that too, and than got all that warnings.

On 6/27/06, Bret Pettichord [EMAIL PROTECTED] wrote:
And you really shouldn't be doing 'require Watir' in the first
 place.

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


Re: [Wtr-general] Issue with gem 1.5.11037

2006-06-26 Thread Zeljko Filipin
I do not know if this has any value:gem list*** LOCAL GEMS ***[...]watir (1.4.1) Automated testing tool for web applications.ruby -vruby 1.8.4 (2005-12-24) [i386-mswin32]
irb(main):001:0 require watir= falseirb(main):002:0 require Watirc:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1039: warning: already initialized constant REVISION
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1042: warning: already initialized constant VERSIONc:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1045: warning: already initialized constant READYSTATE_COMPLETE
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1048: warning: already initialized constant DEFAULT_TYPING_SPEEDc:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1051: warning: already initialized constant DEFAULT_SLEEP_TIME
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1054: warning: already initialized constant DEFAULT_HIGHLIGHT_COLORc:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1901: warning: already initialized constant TO_S_SIZE
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:2217: warning: already initialized constant TAGc:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:2225: warning: already initialized constant TAGc:/ruby/lib/ruby/gems/1.8/gems/watir-
1.4.1/./Watir.rb:2232: warning: already initialized constant TAG= true

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

Re: [Wtr-general] Watir Users forum at forums.openqa.org

2006-06-26 Thread Zeljko Filipin
When talking about forums at openqa.org, what is the purpose of Watir Developers (http://forums.openqa.org/forum.jspa?forumID=6
). There are only three threads, and I think they all belong to watir general.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Little Book of Ruby

2006-06-22 Thread Zeljko Filipin
I just added Programming Ruby and Why's (Poignant) Guide to Ruby.On 6/21/06, Bret Pettichord 
[EMAIL PROTECTED] wrote:I'd be happy to see other suggestions as well.

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

Re: [Wtr-general] Watir Users forum at forums.openqa.org

2006-06-22 Thread Zeljko Filipin
Bret,I have contacted Patrick and he said he will do it in day or two. I will keep you posted.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Watir Users forum at forums.openqa.org

2006-06-21 Thread Zeljko Filipin
Is anybody monitoring Watir Users forum at forums.openqa.org (http://forums.openqa.org/forum.jspa?forumID=5)?Traffic is increasing, and I am replying to questions that I know how to answer, but I can answer only simple questions.
For those interested in monitoring that forum, there is rss feed http://forums.openqa.org/rss/rssmessages.jspa?forumID=5.Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Watir Users forum at forums.openqa.org

2006-06-21 Thread Zeljko Filipin
Bret,I will contact Patrick.On 6/21/06, Bret Pettichord [EMAIL PROTECTED] wrote:
I think the only blocker has been that I haven't had the time to follow this up with OpenQA. Would you mind arranging the details with Patrick Lightbody?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Can I access caption attribute of a checkbox?

2006-06-19 Thread Zeljko Filipin
That is the latest official version, but I think Angrez was reffering to development build. You can get it here:http://wiki.openqa.org/display/WTR/Development+Builds
On 6/19/06, Amitha Shetty [EMAIL PROTECTED] wrote:
  I am using latest watir version i.e 1.4.1.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] CVS download

2006-06-17 Thread Zeljko Filipin
Bret,at http://openqa.org/watir/cvs.action it is stated that watir can be checked out from http://svn.openqa.org/svn/watir/trunk
. You should change it to http://svn.openqa.org/svn/watir/trunk/watir.ŽeljkoOn 6/16/06, 
Bret Pettichord [EMAIL PROTECTED] wrote:
Better is to use http://svn.openqa.org/svn/watir/trunk/watirThere are two other projects in this Repo -- Scripting101 and IE Controller. This way you'll only get watir.

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

Re: [Wtr-general] CVS download

2006-06-16 Thread Zeljko Filipin
You have to downoload TortoiseSVN (not TortoiseCVS) from http://sourceforge.net/project/showfiles.php?group_id=138498package_id=151948
Install it.Create new folder.Right click it.Select SVN Checkout... from context menu.At URL of repository enter http://svn.openqa.org/svn/watir/trunk
Click button OK.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Drop Down Lists (li)

2006-06-14 Thread Zeljko Filipin
If you want to click the first link (List Learning 
Accounts) you can do it like this:ie.link(:text, List Learning Accounts).click
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Problem finding a link URL with RegEx

2006-06-14 Thread Zeljko Filipin
http://openqa.org/watir/cvs.actionOn 6/14/06, Adrian Rutter 
[EMAIL PROTECTED] wrote:How could I get hold of this version. Is there a CVS repo I can download
from?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to test e-mail applications

2006-06-14 Thread Zeljko Filipin
If I understood you correctly you want to1. check for e-mail every 10 minutes2. if there is any, download it3. parse e-mails4. using watir, report issues to defect tracking systemand you are wondering if that is possible.
I think it is. If you need any help, let me know.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Can I access caption attribute of a checkbox?

2006-06-14 Thread Zeljko Filipin
You have input type=checkbox caption=Check Here /? It is not valid html. Check it for yourself at http://validator.w3.org/.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to test e-mail applications

2006-06-14 Thread Zeljko Filipin
No, you can also parse e-mail and send e-mail.On 6/14/06, Daniel Browne [EMAIL PROTECTED] wrote:
I take it has the ability to onlydownload new mail?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to test e-mail applications

2006-06-14 Thread Zeljko Filipin
No, pop only. Good luck with MS Exchange Server! :)On 6/14/06, Daniel Browne [EMAIL PROTECTED] wrote:
I don't suppose you have had anyexperience using Net::POPMail to connect to an MS Exchange Server?

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

Re: [Wtr-general] Trouble with links in a div

2006-06-14 Thread Zeljko Filipin
You do not have to wait. Get development build from here:http://wiki.openqa.org/display/WTR/Development+BuildsOn 6/14/06, 
kwan l [EMAIL PROTECTED] wrote:




Ok, I guess just have to wait for 1.5. 
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] tag a name to an assertation

2006-06-14 Thread Zeljko Filipin
Try this:assert($ie.select_list(:name, 'criteria.countryId').exists?, select_list(:name, 'criteria.countryId') does not exist)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Problem finding a link URL with RegEx

2006-06-13 Thread Zeljko Filipin
Try this:$ie.link(:url, /http:\/\/gbahevm07l15:9081\/wps\/myportal.*7_0_12P/).clickOn 6/13/06, Adrian Rutter 
[EMAIL PROTECTED] wrote:I have got 2 'New' links in one HTML page.
The second link has a URL as this:
http://gbahevm07l15:9081/wps/myportal/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4i3dAHJgFjGpvqRqCKOcAFfj_zcVKBwpDmQ726kH5abmZeZm1mVmgITdAvDImjoFIBN1MhbPywvvygX6IoQuKGG2AwNRRYMQhgQoO-tH6BfkBsaUW6ca2GcG-BnWubsCADEVrkI/delta/base64xml/L0lDVE83b0pKN3VhQ1NZSkNncFJDZ3BSQS9ZSVVJQUFJSUlJSUlJTU1JSUlNSUlDQ0lHRUVBSktPQk9CS09KRkpGS0pBIS80QjFpY29uUVZ3R3hPVVRvSzc5WVFyTmh6RGNJN0RsRzR4QSEvN18wXzEyUC8xMTQyNS9zcGZfQWN0aW9uTmFtZS9zcGZfQWN0aW9uTGlzdGVuZXIvc3BmX3N0cnV0c0FjdGlvbi8lMG5ld1RlcnJpdG9yeUJJQy5kbw!!#7_0_12P
The beginning and end will always be the same whatever environmentsi.e.http://gbahevm07l15:9081/wps/myportal7_0_12P
This is the regex I have used without successhttp://gbahevm07l15:9081/wps/myportal\/.*/7_0_12P$ie.link(:url, '
http://gbahevm07l15:9081/wps/myportal\/.*/7_0_12P').clickCould anyone help?Aidy---
This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system.
If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.---
___Wtr-general mailing listWtr-general@rubyforge.orghttp://rubyforge.org/mailman/listinfo/wtr-general

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

Re: [Wtr-general] Hi - New to Watir, need more document information about Watir

2006-06-12 Thread Zeljko Filipin
Take a look at these:http://openqa.org/watir/ (new home page)http://wtr.rubyforge.org/ (old home page)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] nil is not true with assert(ie.contains_text)

2006-06-12 Thread Zeljko Filipin
Try to changeif assert(ie.contains_text(Watir))toif ie.contains_text(Watir)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to test e-mail applications

2006-06-12 Thread Zeljko Filipin
Chris, Bret,it took me a few days, but now I can send, receive and parse e-mails. I have tried several solutions and ended with these:- receive e-mail - Net::POP3 (
http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/index.html)- send e-mail - Net::SMTP (
http://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html)- create (before sending) and parse e-mail (from file, after receiving) - TMail (
http://i.loveruby.net/en/projects/tmail/)Net::POP3 and Net::SMTP are included in Ruby, TMail needs instalation. I had a problem with TMail installation, and I contacted author. He recommended this procedure, and now it works.



 ruby setup.rb config --without-extruby setup.rb setupruby setup.rb install
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] WATIT with AJAX.

2006-06-09 Thread Zeljko Filipin
http://wiki.openqa.org/display/WTR/Comparison+of+Watir+with+Silk+TestOn 6/9/06, 
Prashanth Krishnamurthy [EMAIL PROTECTED] wrote:
2.Has anyone done any comparison amongst products likeQTP, SIlktest, WATIR etc.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-07 Thread Zeljko Filipin
On 6/7/06, Bret Pettichord [EMAIL PROTECTED] wrote:
I am planning to add multiple attribute support to Watir. +1 
In effect,
set of attributes would have an :index of 1 unless something else werespecified.Are you going to make :index 0 based? I remember there was a discussion about it.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] clicking a link in a javascipt array

2006-06-07 Thread Zeljko Filipin
This will show you links at your page:ie.show_linksindex name id hreftext/src1 _javascript_:PC_7_0_G1_selectEmployee('0',%20'amend') Amend
2 _javascript_:PC_7_0_G1_selectEmployee('1',%20'amend') Amend3 _javascript_:PC_7_0_G1_selectEmployee('2',%20'amend') AmendThis will click second link:
ie.link(:url, _javascript_:PC_7_0_G1_selectEmployee('1',%20'amend')).flashIt worked for me.Željko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] clicking a link in a javascipt array

2006-06-07 Thread Zeljko Filipin
That would actually flash the second link. :)This will click the second link:ie.link(:url, _javascript_:PC_7_0_G1_selectEmployee('1',%20'amend')).clickOn 6/7/06, 
Zeljko Filipin [EMAIL PROTECTED] wrote:
ie.link(:url, _javascript_:PC_7_0_G1_selectEmployee('1',%20'amend')).flash
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Quoting previous messages

2006-06-05 Thread Zeljko Filipin
+1On 6/3/06, Lonny Eachus [EMAIL PROTECTED] wrote:
Folks, I have to ask again: PLEASE trim what you include in yourreplies. 
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How can I open and attach file using file_field method?

2006-06-01 Thread Zeljko Filipin
If you want it fixed, enter a new case at Jira (http://jira.openqa.org/browse/WTR), so it would not be forgotten.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Determine HTML property

2006-06-01 Thread Zeljko Filipin
ie.radio(:id, id).readonly?On 6/1/06, Adrian Rutter [EMAIL PROTECTED] wrote:
Hi,I have an HTML field that once saved becomes read-only [readonly=true].Apart from doing a regex on the source how can I determine this property?CheersAidy---
This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system.
If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.---
___Wtr-general mailing listWtr-general@rubyforge.orghttp://rubyforge.org/mailman/listinfo/wtr-general
-- http://www.testingreflections.com/blog/3071
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Refresh button works only for few fields.

2006-05-31 Thread Zeljko Filipin
Somebody could actually help you if you had provided your code and html.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to test e-mail applications

2006-05-31 Thread Zeljko Filipin
I will let you know when I have something to show.On 5/30/06, Bret Pettichord [EMAIL PROTECTED] wrote:
Zeljko,I also will be needing to automate the verfication that my application sent correct emails. I appreciate your sharing what you find in this area.
Bret
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] how to test e-mail applications

2006-05-30 Thread Zeljko Filipin
As many web applications do, one that I am testing also sends e-mails. Also, it can receive e-mails.I started testing e-mail functionality. I found Net::SMTP (
http://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html) for sending and Net::POP3 (http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/classes/Net/POP3.html
) for receiving. They both work just fine.I also found RubyMail (http://www.lickey.com/rubymail/) and TMail (http://i.loveruby.net/en/projects/tmail/
) that should make my testing easier (parsing e-mails mostly).But...I could not install Tmail because I have problems with C compiler.RubyMail does not recognize body of e-mails I am testing with: 
message.from, message.to and message.subject returns strings that I need, but message.body always returns nil.I will try to contact authors of Tmail and RubyMail. I also started making my own ruby application for sending, receiving and parsing e-mails (my first TDD project!).
I just wanted to ask if somebody has any experience with testing e-mail part of your (mostly web) applications and can suggest some tools? Thanks.Željko-- 
http://www.testingreflections.com/blog/3071 
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] link.to_s fails with NoMethodError

2006-05-22 Thread Zeljko Filipin
It looks to me that you have found a bug. Method innertext is notdefined for 
Watir::Link. If you want it fixed it would be the best tosubmit it to bug 
database at http://jira.openqa.org/browse/WTR
On 5/22/06, Manish Sapariya [EMAIL PROTECTED] wrote:
 NoMethodError: undefined method `innertext' for #Watir::Link:0x35aafb8
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] FireWatir

2006-05-22 Thread Zeljko Filipin
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
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


  1   2   3   >