Re: [Wtr-general] not able to get url as String from file

2009-05-25 Thread Željko Filipin
I do not see how this is related to Watir. Also, Watir list moved to http://groups.google.com/group/watir-general/ Željko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Installing watir 1.5 actually installs 1.4.1 again

2007-07-23 Thread Željko Filipin
On 7/23/07, vipin [EMAIL PROTECTED] wrote: I downloaded watir-1.5.1.1081.gem and it is installed with no problem. Do I now have to download the watir-bonus-1.5.1.1192 to get latest? No. You should download and install watir-1.5.1.1192.gem. Also, how to install it? gem install watir

Re: [Wtr-general] Installing watir 1.5 actually installs 1.4.1 again

2007-07-23 Thread Željko Filipin
On 7/23/07, vipin [EMAIL PROTECTED] wrote: i tried to find the watir-1.5.1.1192.gem but didnt find it. Oh, why did not you tell that earlier?! :) Go to http://wiki.openqa.org/display/WTR/Development+Builds There is a table with Watir gems. The first row, the first column (titled Version)

Re: [Wtr-general] Installing watir 1.5 actually installs 1.4.1 again

2007-07-20 Thread Željko Filipin
On 7/20/07, vipin [EMAIL PROTECTED] wrote: I then downloaded watir-bonus-1.5.1.1192.zip Hi Vipin, You should have downloaded watir gem, not bonus zip. Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Deskto Applications

2007-07-19 Thread Željko Filipin
On 7/19/07, murali [EMAIL PROTECTED] wrote: Is WATIR can support desktop applications like 'calculator'. Hi Murali, No, Watir can only drive Internet Explorer. Maybe AutoIt can help you. Check out http://www.autoitscript.com/autoit3/ (unfortunately, that site is down for the moment).

Re: [Wtr-general] problem selecting file for upload with Watir::FileField

2007-07-19 Thread Željko Filipin
Put file called file.txt to C: (root of drive) and try this: ie.file_field(:name,name).set('C:\file.txt') Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] problem selecting file for upload with Watir::FileField

2007-07-19 Thread Željko Filipin
On 7/19/07, renuka [EMAIL PROTECTED] wrote: i m working on linux so can u say me how can i do that?? and i m using firewatir Post your question at FireWatir Google group ( http://groups.google.com/group/firewatir)? Zeljko ___ Wtr-general mailing

Re: [Wtr-general] Unable to select an item using select_list

2007-07-18 Thread Željko Filipin
On 7/18/07, rvishnubhotla [EMAIL PROTECTED] wrote: option value=16nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Catalyst 6500/option Hi Radha, There is ten spaces before Catalyst 6500, that is why ie.select_list(:name, productId).select(Catalyst 6500) did not work. I thought this would

Re: [Wtr-general] Unable to select an item using select_list

2007-07-18 Thread Željko Filipin
Hi Radha, Comments are inline. On 7/18/07, rvishnubhotla [EMAIL PROTECTED] wrote: Thanks very much. I am glad I could help. :) I actually tried a slight variation of the above before posting which didn't work: = $ie.select_list(:name, productId).select('/Catalyst 6500/') '/Catalyst

Re: [Wtr-general] How to fetch data from the text file

2007-07-17 Thread Željko Filipin
On 7/17/07, Dinesh [EMAIL PROTECTED] wrote: i wld like to know if i could fetch data from a text file and populate it on the application field for data parameterization... Hi Dinae, Take a look at this links. http://www.rubycentral.com/pickaxe/tut_io.html

Re: [Wtr-general] How to deal with the copyrihgt symbol

2007-07-13 Thread Željko Filipin
On 7/13/07, jhe [EMAIL PROTECTED] wrote: Now, it seems that the difference is that your $ie.text will return \251, but my $ie.text only return ?, is it caused by ruby version? This is out of my league. Sorry. Maybe somebody else will have an answer. Zeljko

Re: [Wtr-general] How to deal with the copyrihgt symbol

2007-07-12 Thread Željko Filipin
Hi Jason, Try ie.text.include?(\251) Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to deal with the copyrihgt symbol

2007-07-12 Thread Željko Filipin
Strange, it works for me. Ok, let's see where the problem is. Navigate to page that has only copy; as it's text. ie.text returns \251 ie.text = \251 ie.text.include?(\251) returns true ie.text.include?(\251) = true Am I missing something? I have Ruby 1.8.6, Watir 1.5.1.1192 and IE 6.

Re: [Wtr-general] How to access the window.status pane

2007-07-11 Thread Željko Filipin
On 7/10/07, Paul Rogers [EMAIL PROTECTED] wrote: ie.status I did not know this exists. This is so wiki page material. http://wiki.openqa.org/display/WTR/How+To Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] branches of Watir

2007-07-10 Thread Željko Filipin
Hi Aidy, There is a wiki page called Alternative Tools For Web Testing. http://wiki.openqa.org/display/WTR/Alternative+Tools+For+Web+Testing Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] How can I make a IE window active?

2007-07-10 Thread Željko Filipin
Hi Claudiu, If pop up window is new Internet Explorer window, you can attach to it with eiher of this. ie = Watir::IE.attach(:title, title) ie = Watir::IE.attach(:url, url) Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list

Re: [Wtr-general] Reading Static data

2007-07-09 Thread Željko Filipin
Hi Murali, Try ie.text.include? file successfully added Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Exist method is avaliable in WATIR

2007-07-09 Thread Željko Filipin
Hi Murali, Try this b.link(:text, Images).exist? = true or this b.link(:text, Images).exists? = true Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Exist method is avaliable in WATIR

2007-07-09 Thread Željko Filipin
On 7/9/07, murali [EMAIL PROTECTED] wrote: If u have any docs related to WATIR Take a look at WATIR User Guide at http://wtr.rubyforge.org/watir_user_guide.html. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] hidden control..

2007-07-09 Thread Željko Filipin
On 7/9/07, mihai [EMAIL PROTECTED] wrote: i have this html code: input type=hidden how can i find out with watir if it is hidden or not? Hi Mihai, Well, it's type is hidden. How could it be not hidden? Zeljko -- ZeljkoFilipin.com ___ Wtr-general

Re: [Wtr-general] Permission denied when access frame contents

2007-07-06 Thread Željko Filipin
Hi Nathan, There is FAQ section about this, have you read it? http://wiki.openqa.org/display/WTR/FAQ#FAQ-Accessdeniedwhentryingtoaccessaframe Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org

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

2007-07-06 Thread Željko Filipin
Hi Jarodzz, Comments are inline (again). On 7/6/07, salamond [EMAIL PROTECTED] wrote: A new popup window is blocked. Disable all pop-up blockers that you have installed. Is Watir reading the html/view/source to generate the show_all_objects? I do not use show_all_objects. As far as I

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

2007-07-04 Thread Željko Filipin
Thanks Bret. I added your code to Watir module and now I can click h4 headlines. module Watir class H4 NonControlElement TAG = 'H4' end module Container def h4(how, what) return H4.new(self, how, what) end end end Zeljko ___

Re: [Wtr-general] Unable to click on links with the same text

2007-07-03 Thread Željko Filipin
On 7/3/07, Lavanya Lakshman [EMAIL PROTECTED] wrote: am using latest version of Watir 1.4.1 You need Watir 1.5. Get it here: http://wiki.openqa.org/display/WTR/Development+Builds Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org

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

2007-07-03 Thread Željko Filipin
Angrez, Thanks a lot. It works. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to differentiate between a 'clicked' a 'disabled' or 'greyed-out' tab

2007-06-28 Thread Željko Filipin
Hi Vijay, It would help if you posted html of that tab. Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Unable to locate object using ie.#{variable}

2007-06-28 Thread Željko Filipin
On 6/28/07, Jason [EMAIL PROTECTED] wrote: Can I actually do this??? Hi Jasnon, I think you can not do that. What do you want to do with that? Maybe there is another way. Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list

Re: [Wtr-general] Can't install Watir - Error opening file for writing: \watir\AboutItx.chm

2007-06-27 Thread Željko Filipin
On 6/26/07, Chris McMahon [EMAIL PROTECTED] wrote: Far better to have a test tool that actually works, with some non-core tests pointing the way to make it better. :-) So true. :) (But confusing to new users.) Zeljko ___ Wtr-general mailing list

Re: [Wtr-general] Accessing frame without name or id

2007-06-27 Thread Željko Filipin
On 6/27/07, Denys Zakhzohyy [EMAIL PROTECTED] wrote: Apparently it works. Before I tried ie.frame(:index, 0) and got error saying smth about wrong name of the frame. Denys, Watir starts counting at 1 (not 0), so maybe that caused the error you saw. Zeljko -- ZeljkoFilipin.com

Re: [Wtr-general] problem selecting file for upload with Watir::FileField

2007-06-27 Thread Željko Filipin
Hi Denys, Comments are inline. On 6/27/07, Denys Zakhzohyy [EMAIL PROTECTED] wrote: 1. How should I specify the path? I use something like this file_folder = 'C:\DOCUME~1\limited\Desktop\tests_trunk\misc\\' file_folder = 'Z:\misc\\' 2. Is it possible to set up Watir not to start search

Re: [Wtr-general] Can't install Watir - Error opening file for writing: \watir\AboutItx.chm

2007-06-26 Thread Željko Filipin
Hi Lennart, all_tests.rb are broken. You should be fine if core_tests.rb run fine. Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Can't install Watir - Error opening file for writing: \watir\AboutItx.chm

2007-06-26 Thread Željko Filipin
On 6/26/07, Lennart Borgman (gmail) [EMAIL PROTECTED] wrote: That is good to know, but surprising. Bret has opened a Jira ticket for it, but until now, only I have voted for it to be fixed. So, I guess it does not bother other Watir users. If you want it to be fixed, vote for it.

Re: [Wtr-general] Can't install Watir - Error opening file for writing: \watir\AboutItx.chm

2007-06-26 Thread Željko Filipin
On 6/26/07, Lennart Borgman (gmail) [EMAIL PROTECTED] wrote: of course test suits must be valid. I have just voted for it. Isn't it strange to have a test tool that has broken unit tests? :) Zeljko ___ Wtr-general mailing list

Re: [Wtr-general] Old information in user guide.

2007-06-22 Thread Željko Filipin
Hi Russ, I am writing the new and improved user guide ( http://wiki.openqa.org/display/WTR/User+Guide). I am writing it from scratch, I am not changing the old one, so it will remain as it is until (and if) the Watir community concludes that the new one is better. Zeljko -- ZeljkoFilipin.com

Re: [Wtr-general] Need watir document for refernce

2007-06-21 Thread Željko Filipin
Hi Murali, Take a look at WATIR User Guide http://wtr.rubyforge.org/watir_user_guide.html Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] New Watir User Guide (beta)

2007-06-21 Thread Željko Filipin
I have just made a few changes to user guide. I have separated it to Installation and Quick Start. Next I plan to add more pages. Plese take a look and let me know if there are any mistakes, typos... Of course, you can also change it yourself. It is a wiki page, after all. Since I am not a

Re: [Wtr-general] Can we display images using puts

2007-06-20 Thread Željko Filipin
Sapna, puts displays text, not images. Do you need to display image properties? Something like this should work. puts ie.image(:how, what).src Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Is there any script to click on the image icon

2007-06-19 Thread Željko Filipin
Hi Sapna, Try ie.image(:src, /mailclosed/).click Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] control existing IE window?

2007-06-18 Thread Željko Filipin
From WATIR User Guide (http://wtr.rubyforge.org/watir_user_guide.html), section New Windows. ie = Watir::IE.attach(:url, 'http://mytestsite') ie = Watir::IE.attach(:title, 'Test New Window') ie = Watir::IE.attach(:title, /Test New/) Zeljko -- ZeljkoFilipin.com

Re: [Wtr-general] WET or WATIR, support for DIV tag

2007-06-15 Thread Željko Filipin
On 6/15/07, Bface [EMAIL PROTECTED] wrote: No one is contributing? I guess they are sleeping now. Maybe you should post this question at wet forum? Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-14 Thread Željko Filipin
On 6/13/07, Bret Pettichord [EMAIL PROTECTED] wrote: What happens if you don't use the --include-dependencies option? It politely asks if I want to install dependencies. :) Works fine that way. Thanks Bret. Zeljko ___ Wtr-general mailing list

Re: [Wtr-general] syntax error, unexpected tIVAR

2007-06-13 Thread Željko Filipin
On 6/12/07, Jeff Fry [EMAIL PROTECTED] wrote: @ie.button(:class ='Button Menu', :index = 2).click c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./watir.rb:1098:in `send': {:class=Button Menu, :index=2} is not a symbol (TypeError) Hi Jeff, I guess that button is one of those elements that

Re: [Wtr-general] Want to display data in the same row using Puts

2007-06-13 Thread Željko Filipin
Hi Sapna, If you have variable called var, you can display its value inside string like this. puts var = #{var} Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-13 Thread Željko Filipin
On 6/8/07, Bret Pettichord [EMAIL PROTECTED] wrote: However, if you are using the Watir::IE#modal_dialog method, you must use Ruby 1.8.2-14 and not a more recent version. I just installed ruby182-14.exe on clean xp pro machine. Components: only RubyGems Package Manager. Then I tried to

Re: [Wtr-general] Need to fetch the ID

2007-06-12 Thread Željko Filipin
Hi Sapna, You should really read something about Regular Expressions. You can start here. http://www.rubycentral.com/book/tut_stdtypes.html There is chapter named Regular Expressions. For now, try this (Bret left it in comment at my blog). (ie.link(:text, RE: Check Copy Request).href =~

Re: [Wtr-general] How to capture mail box icon

2007-06-11 Thread Željko Filipin
Hi Sapna, This is how you can find out if mail box is open or closed. Let me know if you do not know how to use this code. irb ie.image(:index, 1).src =~ /mailclosed/ = 46 irb ie.image(:index, 1).src =~ /mailopen/ = nil Zeljko ___ Wtr-general

Re: [Wtr-general] Need to fetch the ID

2007-06-11 Thread Željko Filipin
On 6/11/07, sapna [EMAIL PROTECTED] wrote: a href=/AppsUIWeb/SelfService/MessageDetail.aspx?id=1303messageToUser=TrueRE: Check Copy Request/a Sapna, To find id of that link you have to know some other attribute of that link. I will assume that you know text RE: Check Copy Request This is

Re: [Wtr-general] forum do not get the postings made using the mailing list

2007-06-08 Thread Željko Filipin
On 6/7/07, Bret Pettichord [EMAIL PROTECTED] wrote: I have been considering migrating watir-general to google groups. +1 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to capture mail box icon

2007-06-08 Thread Željko Filipin
Hi Sapna, Sometimes I would like to be able to read mind of other people, but unfortunately, I can not do that. Good news is that I do not have to read you mind to be able to help you. You just need to post HTML of that image when it is opened and closed. :) Zeljko -- ZeljkoFilipin.com

Re: [Wtr-general] run a javascript in html?

2007-06-06 Thread Željko Filipin
Some html would help. Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Read a picture number

2007-06-05 Thread Željko Filipin
On 6/5/07, chitta [EMAIL PROTECTED] wrote: I really need more then 50 active email addresses for my testing purpose I use my gmail account for testing also. You do not need 50 accounts. Gmail allows you to add +some_text after you user name and before @gmail.com. Like this. [EMAIL

Re: [Wtr-general] Clicking link in Ajax table

2007-06-05 Thread Željko Filipin
On 6/5/07, Harmeet [EMAIL PROTECTED] wrote: How can I post the HTML code here in this message Just paste it, it usually works. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Clicking link in Ajax table

2007-06-04 Thread Željko Filipin
Harmeet, Does this work? ie.table(:index, 2).link(:text, Save PDS).click Do you get an error message after this? ie.link(:text, Save PDS).click Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] To view the message send based on ID created.

2007-06-04 Thread Željko Filipin
Hi Sapna, Can you post relevant html snippet? Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] To view the message send based on ID created.

2007-06-04 Thread Željko Filipin
On 6/4/07, sapna [EMAIL PROTECTED] wrote: a href=/AppsUIWeb/SelfService/MessageDetail.aspx?id=1274messageToUser=FalseBill Payment Inquiry/a Sapna, What do you need to do? Click this link? This does not do it? ie.link(:text, Bill Payment Inquiry).click ie.link(:href, /id=1274/).click

Re: [Wtr-general] how to count the no of link in a datatable

2007-06-01 Thread Željko Filipin
On 5/31/07, Ravi [EMAIL PROTECTED] wrote: ie.table(:index,1).links.length I knew that there must be a simpler solution. :) Thanks Ravi. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Clicking link in Ajax table

2007-06-01 Thread Željko Filipin
This does not work? ie.link(:text, Save PDS).click Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] how to count the no of link in a datatable

2007-05-31 Thread Željko Filipin
Hi Shalini, Try this. links_in_table = 0 = 0 ie.table(:index, 1).links.each { links_in_table += 1 } = 0 links_in_table = 2 Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] count number of indexes on a page

2007-05-31 Thread Željko Filipin
Aidy, What is number of indexes? Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Fetching Today's date in the mm/dd/yyyy

2007-05-30 Thread Željko Filipin
Hi Sapna, This is how to get date formated like you need. Time.now.strftime(%m/%d/%Y) = 05/30/2007 You can get yesterdays date by subtracting seconds from current time. t = Time.now-(60*60*24) = Tue May 29 12:21:02 Central European Standard Time 2007 t.strftime(%m/%d/%Y) = 05/29/2007 Zeljko

Re: [Wtr-general] How to give the next line b/w the sentences for window text.

2007-05-29 Thread Željko Filipin
Hi Sapna, Can you post html snippet with text you want checked? Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to give the next line b/w the sentences for window text.

2007-05-29 Thread Željko Filipin
If I understood you correctly, you want to know if Your Account Preferences have been updated. text appears at page. You can do it like this. ie.text.include?(Your Account Preferences have been updated.) = true Let me know if I misunderstood you. Zeljko

Re: [Wtr-general] How to get the all the content of list box into variable

2007-05-29 Thread Željko Filipin
On 5/29/07, sapna [EMAIL PROTECTED] wrote: Please let me know how to store in a variable the content of the list box and use that variable to compaire with the default value. Sapna, It would help if you post relevant html snippet when posting question. For example, I do not know what do you

Re: [Wtr-general] Automating gmail: nor click on Compose Mail, neither fire_event works

2007-05-29 Thread Željko Filipin
Manish, Are you working for Google, or are you automating Gmail for some other reason. I am asking because, if you work for Google, you could ask developers how to click Compose Mail link. I am really interested to know the answer. Another workaround would be to switch to basic HTML view, I

Re: [Wtr-general] Automating gmail: nor click on Compose Mail, neither fire_event works

2007-05-28 Thread Željko Filipin
On 5/28/07, Manish Sapariya [EMAIL PROTECTED] wrote: P.S. : Firebug on firefox was an excellent help to understand the events? Is there any equivalent for IE? Hi Manish, Take a look at Internet Explorer Developer Toolbar (

Re: [Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE

2007-05-25 Thread Željko Filipin
On 5/24/07, Bret Pettichord [EMAIL PROTECTED] wrote: My mistake. Try this instead. ie.link(:after?, ie.image(:id, 'foo')).click It works now. This is so cool. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] stripping...

2007-05-25 Thread Željko Filipin
ie.url returns url. What do want to do with it? irb ie.url = http://www.google.com/; Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Why it is always failed?

2007-05-24 Thread Željko Filipin
On 5/23/07, Kui Zhang [EMAIL PROTECTED] wrote: Got it. Thanks Zeljko! You are welcome. But, actually Paul answered your question. :) Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Željko Filipin
On 5/24/07, Norm [EMAIL PROTECTED] wrote: What is the trunk version of watir? Hi Norm, Take a look at this. http://openqa.org/watir/cvs.action Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] How to click variable link

2007-05-23 Thread Željko Filipin
On 5/23/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: Watir::Exception::MissingWayOfFindingObjectException: :href is an unknown way of finding a link Which Watir version are you using? It should work with 1.5.1.1166. You can get it here. http://wiki.openqa.org/display/WTR/Development+Builds

Re: [Wtr-general] Why it is always failed?

2007-05-23 Thread Željko Filipin
On 5/23/07, Kui Zhang [EMAIL PROTECTED] wrote: Using the following assert statement, I always get failed result. This works for me (no exception raised). irb(main):007:0 assert(ie.contains_text(Welcome manager!)) = nil Maybe you are not identifying frame correctly. It would help if you

Re: [Wtr-general] How to click variable link

2007-05-23 Thread Željko Filipin
On 5/23/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: im using watir 1.4.1 but also installed this watir-1.5.1.1127.gem Paste this into command prompt. ruby -e 'require watir; puts Watir::IE::VERSION' What do you get? In any case, you should uninstall both versions of watir and install

Re: [Wtr-general] AutoIt -- Unable to actually click IE7 buttons

2007-05-23 Thread Željko Filipin
I do not mean to be rude, but don't you think you will get a faster and better reply if you posted you question at AutoIt forum? I would like to help, but I have never used AutoIt (I know Watir uses it somewhere, but it is hidden from me). Zeljko ___

Re: [Wtr-general] How to click variable link

2007-05-23 Thread Željko Filipin
This does not work? ie.link(:href, http://localhost:8080/CASTAD/?treeobject=2object=2frame=FRAME_PORTAL_TOP_LEVEL_DETAILSsnapshot=3 ).click What happens? Do you get any error message? Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] handling multiple IE

2007-05-23 Thread Željko Filipin
On 5/23/07, Jungwhan Kim [EMAIL PROTECTED] wrote: any resource that I can look up? IE6 and IE7 Running on a Single Machine http://blogs.msdn.com/ie/archive/2006/11/30/ie6-and-ie7-running-on-a-single-machine.aspx Zeljko ___ Wtr-general mailing list

Re: [Wtr-general] How to select option on Menu button with multiple levels of the option list

2007-05-22 Thread Željko Filipin
Hi Kui, This does not work? ie.span(:id, Claim:ClaimMenuActions:ClaimMenuActions_NewDocument).click Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to click variable link

2007-05-22 Thread Željko Filipin
On 5/22/07, SHALINI GUPTA [EMAIL PROTECTED] wrote: I tried to this with href but its not working. Hi Shalini, What error message do you get when you use href? Can you post your Watir and Ruby code? There is lot of ways you can click a link. I recommend id. Jeff has made page at Watir wiki

Re: [Wtr-general] Identification of null value from a particular object

2007-05-22 Thread Željko Filipin
On 5/22/07, zaheer [EMAIL PROTECTED] wrote: I have a text box. I want to verify that a particulat text field has null value.If so how to identify the null value? Hi Zaheer, what do you mean by null value? That text field is empty, or has text null? Try this: ie.text_field(:index, 1).text

Re: [Wtr-general] Identification of null value from a particular object

2007-05-22 Thread Željko Filipin
On 5/22/07, zaheer [EMAIL PROTECTED] wrote: I meant to say that the text field does not have any value. And this does not help you? ie.text_field(:index, 1).text ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Assertion on the contents of PDF

2007-05-21 Thread Željko Filipin
On 5/21/07, Ajitesh Srinetra [EMAIL PROTECTED] wrote: Now can i assert on the contents of this PDF file through watir Can the same be done with excel and text files Hi Ajitesh, Watir is just a Ruby library for driving Internet Exporer. You can not test pdf and Excel files with Watir, but I

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-19 Thread Željko Filipin
On 5/18/07, Chris McMahon [EMAIL PROTECTED] wrote: include Watir (it's magic anyway, it won't hurt) ie = IE.new (let people see a blank browser) I have just checked my test suite, and I have only one ie = Watir::IE.new After that i just use ie variable. I guess that others may have

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
Chris, Thanks for your suggestions. Comments are inline. On 5/18/07, Chris McMahon [EMAIL PROTECTED] wrote: Clearly this is going to be iterative :) You don't drink the whole beer at once, right? You iterate until it is done. :) If it were me, I would have done require 'watir' include

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
And we have the first user contribution! Christopher Rasch added anchors for installation instructions for platforms and browsers other than Windows/IE. It is something that I do not want there, but I guess it has to be somewhere. Christopher, you can put Certified Watir user guide contributor

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Željko Filipin [EMAIL PROTECTED] wrote: http://wiki.openqa.org/display/WTR/New+Watir+User+Guide+%28beta%29 I just can not look at ugly urls. I had to change it. http://wiki.openqa.org/display/WTR/User+Guide Zeljko ___ Wtr-general

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Željko Filipin [EMAIL PROTECTED] wrote: Christopher Rasch added anchors for installation instructions for platforms and browsers other than Windows/IE. Christopher, I have moved your contribution to http://wiki.openqa.org/display/WTR/Install+instructions and linked to it from

[Wtr-general] Watir wiki

2007-05-18 Thread Željko Filipin
Why is Project Home child of FAQ at Watir wiki? Is this a bug? Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Watir wiki

2007-05-18 Thread Željko Filipin
I have been browsing Watir Wiki and http://wiki.openqa.org/display/WTR/Watir+Committers has error message Error formatting macro: userlister: java.lang.NullPointerException. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Chris McMahon [EMAIL PROTECTED] wrote: include Watir (it's magic anyway, it won't hurt) ie = IE.new (let people see a blank browser) I still do not think this easier to understand than ie = Watir::IE.new I do not know how to explain what it does in few words, except start IE,

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
Chris, Walter, I separated steps for starting IE and navigating to Google, as you have suggested. That means that you have become contributor of Watir user guide. Now you can put Certified Watir user guide contributor! text at your site (with link to user guide, if possible). :) Zeljko

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Walter Kruse [EMAIL PROTECTED] wrote: I don't know what it does, except that you need it to load watir when using irb :-) I guess that you are referring to include Watir Actually, you do not have to type it when using Watir in irb (as my user guide shows). Zeljko

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-18 Thread Željko Filipin
On 5/18/07, Chris McMahon [EMAIL PROTECTED] wrote: I meant to the new user, all of this looks like magic, so we might as well break down the Watir setup commands in as granular a fashion as possible I did not think to learn them Ruby. There are good books about it. When they see how easy it

Re: [Wtr-general] :beforeText and :afterText

2007-05-17 Thread Željko Filipin
On 5/16/07, Jeff Fry [EMAIL PROTECTED] wrote: Any input from folks who either use or have tried unsuccessfully to use these two? I have tried to use it, but it did not work for me. As far as I am concerned, it can be removed. Zeljko -- ZeljkoFilipin.com

Re: [Wtr-general] How To Click On The 2nd Link With The Same Img Source....

2007-05-17 Thread Željko Filipin
Hi San, Try this: ie.image(:src = /pdf_small/i, :index = 1).click ie.image(:src = /pdf_small/i, :index = 2).click ... I guess that you know how to create a loop. If not, see http://www.rubycentral.com/book/tut_expressions.html There is section called Loops. Zeljko -- ZeljkoFilipin.com

Re: [Wtr-general] How To Click On The 2nd Link With The Same Img Source.....

2007-05-17 Thread Željko Filipin
On 5/17/07, san [EMAIL PROTECTED] wrote: for $i in 1 .. 3 ie.image(:src = /pdf_small/i, :index = #{$i}).click sleep 10 etc.. etc... ie.back end There is no need for global variable in for $i in 1 .. 3 I suggest that you change it to for i in 1 .. 3 Also, :index expects integer,

[Wtr-general] New Watir User Guide (beta)

2007-05-17 Thread Željko Filipin
Don't you just love all those betas? There is another one! New Watir User Guide (beta). Check it out and let me know what you think about it. It is just a first draft. Please, be polite. It is just a few minutes old. Zeljko -- ZeljkoFilipin.com ___

Re: [Wtr-general] New Watir User Guide (beta)

2007-05-17 Thread Željko Filipin
Can you tell that it is past 1 am here? I forgot the link. Here it is. http://wiki.openqa.org/display/WTR/New+Watir+User+Guide+%28beta%29 You can also find a link to it at Watir wiki home page ( http://wiki.openqa.org/display/WTR/Project+Home) under Learning Watir headline.

Re: [Wtr-general] xpath question (not Watir related)

2007-05-15 Thread Željko Filipin
Angrez, Thanks a lot! It works. irb(main):021:0 e[/tokens/ShortUrl[starts-with(@url, 'resetpassword.aspx ?m=7fb83717-9606-4022-bd4e-67b6f6582adacode=')]].attributes[hash] = BF8E8F60E722E92C7ED8303916591AB4 Zeljko -- ZeljkoFilipin.com ___ Wtr-general

Re: [Wtr-general] Common functions

2007-05-15 Thread Željko Filipin
Hi Ken, Extract a method that you need in multiple files in a separate file (my_script.rb for example), and then at the top of every file that needs that script write require my_script For now just make sure that all files are in the same folder. Zeljko -- ZeljkoFilipin.com

Re: [Wtr-general] Community involvement with Watir

2007-05-09 Thread Željko Filipin
On 5/8/07, Bret Pettichord [EMAIL PROTECTED] wrote: I think one question Zeljko needs to address is what form he wants it to be. I think he said something about breaking it into separate files, which is fine. Another option is to migrate it to the wiki, which would make eat easier to get

Re: [Wtr-general] how to include external script (.rb) in Watir?

2007-05-09 Thread Željko Filipin
On 5/5/07, Alien Ruby [EMAIL PROTECTED] wrote: How are you guys so helpful ? We get a lot of chunky bacon for every correct answer. :) Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org

  1   2   3   >