[wtr-general] Re: Watir ads at stackoverflow.com

2010-02-08 Thread Željko Filipin
On Fri, Feb 5, 2010 at 1:13 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: Want to see Watir ads on stackoverflow.com? This answer needs five upvotes. Current status: 0/5. http://bit.ly/djPPfj Current status: 3/5 (60%). Two more votes. Željko -- You received this message because you

[wtr-general] Re: click_no_wait fails when multiple tabs are open in IE7

2010-02-08 Thread Jarmo Pertman
Hello. unique_number is an method for Watir::Element and it's declaration is (for Watir 1.6.2) at element.rb on line 88 - in short, it is just a wrapper for ole_object.invoke('uniqueNumber'). For debugging the reason of the failing of click_no_wait, I'd suggest you to modify method called

[wtr-general] Re: Help with Modal Dialog boxes !!!!

2010-02-08 Thread GJHmf
Hi, I had this issue, and was partially what got me to migrate to Watir from Selenium. Assuming yours is the same setup as mine, I merely attached to the open window like any other browser window using the title. e.g: browser = Watir::IE.attach(:title, Google) I could then access any elements

Re: [wtr-general] Re: Watir ads at stackoverflow.com

2010-02-08 Thread Angrez Singh
Same 15 reputation required. I created stackoverflow account and then associated it with meta.stackoverflow account but didn't get 100 reputation. Željko, Any ideas? On Mon, Feb 8, 2010 at 3:02 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Feb 5, 2010 at 1:13 PM, Željko

Re: [wtr-general] Re: Watir ads at stackoverflow.com

2010-02-08 Thread Željko Filipin
On Mon, Feb 8, 2010 at 12:50 PM, Angrez Singh ang...@gmail.com wrote: Same 15 reputation required. I created stackoverflow account and then associated it with meta.stackoverflow account but didn't get 100 reputation. Željko, Any ideas? No. :) Maybe you need some reputation at stackoverflow to

Re: [wtr-general] fix funky command line behavior in watir-console

2010-02-08 Thread Željko Filipin
On Fri, Feb 5, 2010 at 8:02 PM, Alan Baird alan.ba...@riskmetrics.com wrote: All you need to do is type irb --noreadline and command line sanity will be restored. Alan, thanks a lot. This is really helpful. Željko -- watir.com - community manager watirpodcast.com - host -- You received this

Re: [wtr-general] Fetch Automatic Web Page Attributes

2010-02-08 Thread Željko Filipin
On Sat, Feb 6, 2010 at 10:46 AM, Nishant nishant.jain2...@gmail.com wrote: Is there any trick or tool that fetch these attributes and save in a file. I am not sure how you would save attributes in a file with this tools (and would that be more useful than raw html), but take a look: - Firebug

Re: [wtr-general] Help with Modal Dialog boxes !!!!

2010-02-08 Thread Željko Filipin
On Mon, Feb 8, 2010 at 7:03 AM, Rohan Ojha rohan.o...@bsil.com wrote: Has anybody come across some method with which we can work on a modal dialog window. Thanks for the screen shot, it always helps. Did you read this? http://wiki.openqa.org/display/WTR/Pop+Ups

[wtr-general] Output is displayed two times

2010-02-08 Thread ayyappa
Hi guys I am new to watir . I am just working on basic concepts(Using Class ). when i run the script 2 , i got the output displaying two times. Can you please any one tell me any fault in my script Script 1 require 'rubygems' require 'win32ole' require 'watir' class MyClass def

Re: [wtr-general] Re: Questiona about Watir in Mac with Firefox 3.6

2010-02-08 Thread Moises Siles
Thanks, I'm using the administrator user, but how can I be sure that I have already installed the jssh plugin, I just downloaded and added in firefox. Thanks On Mon, Feb 8, 2010 at 12:43 AM, Angrez Singh ang...@gmail.com wrote: I think you need to install the JSSh plugin in Firefox 3.5 as

Re: [wtr-general] fix funky command line behavior in watir-console

2010-02-08 Thread marekj
I always have had USE_READLINE=true in my .irbrc and I am not sure what turning this off really does. I thought you need it for things like lookup up history of commands, up arrow navigation and CTR+R for searching the buffer, alos TabTab for completion lookup? I'll try to turn off readline and

Re: [wtr-general] Output is displayed two times

2010-02-08 Thread Charley Baker
You seem to be calling MyClass.some_method from both scripts. Delete the call from the first script. -c On Mon, Feb 8, 2010 at 5:37 AM, ayyappa ayyappa...@gmail.com wrote: Hi guys I am new to watir . I am just working on basic concepts(Using Class ). when i run the script 2 , i got the

Re: [wtr-general] fix funky command line behavior in watir-console

2010-02-08 Thread Željko Filipin
On Mon, Feb 8, 2010 at 5:12 PM, marekj marekj@gmail.com wrote: Support Watir Project http://pledgie.com/campaigns/2982 This is a great idea! :) I will use it in my signature too. Željko -- You received this message because you are subscribed to the Google Groups Watir General group. To

[wtr-general] Re: Watir ads at stackoverflow.com

2010-02-08 Thread Željko Filipin
Thanks to everybody that voted (or tried to vote) for Watir ad on stackoverflow.com! Current status: 5/5 = 100% :) http://bit.ly/djPPfj Željko -- watir.com - community manager watirpodcast.com - host pledgie.com/campaigns/2982 - donate to Watir -- You received this message because you are

Re: [wtr-general] fix funky command line behavior in watir-console

2010-02-08 Thread marekj
so I see that TABTAB and CTRL+R don't work without readline. and conf.io is now StdioInputMethod instead of ReadlineInputMethod So far I don't know what other implications may be for --noreadline option marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ Support

[wtr-general] div values in table

2010-02-08 Thread tester86
hi I am printing out the value in a column in irb and then I want to store that value in a variable and calculate the two values. If I do $b.table(:index, 1)[2][11].html print $90 $b.table(:index, 1)[3][11].html print $80 Then if I do: def test_total(a,y) a= $b.table(:index, 1)[2][11].html

[wtr-general] Re: div values in table

2010-02-08 Thread tester86
Please disregard this post...I have got it working. Thanks On Feb 8, 2:33 pm, tester86 sagar.am...@gmail.com wrote: hi I am printing out the value in a column in irb and then I want to store that value in a variable and  calculate the two values. If I do $b.table(:index, 1)[2][11].html

[wtr-general] Re: div values in table

2010-02-08 Thread tester86
Sorry but in IRB when I do a= $b.table(:index, 1)[2][11].html print 14.56 b=$b.table(:index, 1)[2][11].html print 85.00 total = a + b in IRB it returns 14.5685.00 when it should return 99.56 -- You received this message because you are subscribed to the Google Groups Watir General group.

[wtr-general] Re: div values in table

2010-02-08 Thread tester86
please diregard this post I have found the solution. Thanks -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines:

[wtr-general] Re: div values in table

2010-02-08 Thread orde
The .html method is returning a string value. So, you're adding 14.56 and 85.00 to create 14.5685.00 You need to convert the a and b variables to a numeric class. In this case, you want to use .to_f: total = a.to_f + b.to_f Hope that helps. orde On Feb 8, 12:45 pm, tester86

[wtr-general] Re: div values in table

2010-02-08 Thread tester86
Yep, I was using to_i but it was rounding up the numbers. I will try to_f. Thanks orde On Feb 8, 3:02 pm, orde ohil...@gmail.com wrote: The .html method is returning a string value.   So, you're adding 14.56 and 85.00 to create 14.5685.00 You need to convert the a and b variables to a

[wtr-general] How to export results into an excel sheet on linux

2010-02-08 Thread Naga
Hello, I am new to Ruby - Watir. I am trying to export results in to an excel sheet. I am running watir on linux and not windows. I have seen information on Windows but not linux. Please let me know. Thanks, Naga -- You received this message because you are subscribed to the Google Groups

[wtr-general] Re: Help required to access src element in the following code.

2010-02-08 Thread ashwin mahesh
Any idea how to overcome this problem. Thanks, Ashwin. On Feb 6, 2:56 pm, ashwin mahesh smashwi...@gmail.com wrote: When I click on a button, src=/bf/Charts/Pie2D.swf will change to src=/bf/Charts/Pie3D.swf. So to verify this change I need to access the the element whose attribute is

[wtr-general] How much time does Watir waits for the page to load?

2010-02-08 Thread Logic Bomb
Hi, I would like to ask how many seconds does Watir waits for the page to load? Does Watir waits forever until the page is loaded? Thanks, Januwatri -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

Re: [wtr-general] How much time does Watir waits for the page to load?

2010-02-08 Thread Wesley Chen
Of course not. It will wait no more than 300s. Please search in the group, I think you can get what you want. Wesley. For life, the easier, the better. On Tue, Feb 9, 2010 at 11:39 AM, Logic Bomb januwa...@yahoo.com wrote: Hi, I would like to ask how many seconds does Watir waits for the

Re: [wtr-general] How to export results into an excel sheet on linux

2010-02-08 Thread Wesley Chen
Please search in the group about how to read and write in openoffice in ruby. Wesley. For life, the easier, the better. On Tue, Feb 9, 2010 at 6:24 AM, Naga ravikus...@gmail.com wrote: Hello, I am new to Ruby - Watir. I am trying to export results in to an excel sheet. I am running watir

Re: [wtr-general] Output is displayed two times

2010-02-08 Thread Wesley Chen
require 'D:\Waltair scripts\My wokings in waltair\script1.rb' will execute *MyClass.some_method* Wesley. For life, the easier, the better. On Tue, Feb 9, 2010 at 12:14 AM, Charley Baker charley.ba...@gmail.comwrote: You seem to be calling MyClass.some_method from both scripts. Delete the call