[wtr-general] jssh not compatible for firefox3.0.4

2008-12-01 Thread krishna csr
is there a jssh compatible for firefox 3.0.4 ? if not what is the latest firefox version that jssh supports. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

[wtr-general] Re: Find Pop-up text and close function is not working

2008-12-01 Thread Prince3105
when i execute the function , popup_text[0] returns nil. Still i am searching for a solution and trying all methods in WinClicker class but not yet received a solution. So please guys give some ways to reach the target. Thanks, Prince3105 On Dec 1, 9:20 am, wesley chen [EMAIL PROTECTED] wrote:

[wtr-general] Re: jssh not compatible for firefox3.0.4

2008-12-01 Thread Nathan Lane
The JSSH module here works with Firefox 3.0.4 http://wiki.seleniumhq.org/display/WTR/FireWatir+Installation#FireWatirInstallation-3%29InstalltheJSSHFirefoxExtension On Mon, Dec 1, 2008 at 12:20 AM, krishna csr [EMAIL PROTECTED] wrote: is there a jssh compatible for firefox 3.0.4 ? if not

[wtr-general] Re: Assigning Div content a Text Value

2008-12-01 Thread Nathan Lane
You must have some kind of JavaScript support in your Web Application to do that -- Watir just controls the browser -- it doesn't provide a way to manipulate your web page -- your web page must be all-inclusive of itself, so if you want your DIV to be able to have text added, then your web page

[wtr-general] Re: Assigning Div content a Text Value

2008-12-01 Thread Paul Rogers
i think you can do this, Id just question why you want to do this. body_div = ie.div(:id, 'EditorBody') body_div.document.innerText='Hellow World!' is whtat I think you need Paul On Mon, Dec 1, 2008 at 7:55 AM, Nathan Lane [EMAIL PROTECTED] wrote: You must have some kind of JavaScript

[wtr-general] 'no such file to load' when running firewatir unit test

2008-12-01 Thread Jason
I am using Ruby version 1.8.6 and Firewatir version 1.6.2 in Windows XP. I installed firewatir using 'gem install firewatir', but when I try to run the included unit tests, mozilla_all_tests.rb, I get the following error: c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in

[wtr-general] Re: 'no such file to load' when running firewatir unit test

2008-12-01 Thread marekj
Jason, The unittests are not designed to be run after gems are installed. all unittests are desing to run in Development mode - you need to check out the source from SVN and run the unittests on trunk This is a known issue, and unittests should probably not be packaged into gems. more here;

[wtr-general] Re: indexes with watir and firewatir

2008-12-01 Thread Michael Hwee
What do you get if you do this in firewatir? row.cell(:index,1) Is this the same as row.cell(:index,0) ? - Original Message From: aidy lewis [EMAIL PROTECTED] To: watir-general@googlegroups.com Sent: Friday, November 28, 2008 4:04:34 AM Subject: [wtr-general] indexes with watir

[wtr-general] What do you want to see in Watir?

2008-12-01 Thread Pete Dignan
If you've been following along, by now you know that WatirCraft is a major contributor to the ongoing development of Watir. Many of the fixes and enhancements over the past six months have been a direct result of Bret's 100% dedication to the project, and more recently the involvement of Jim

[wtr-general] Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
I'm having a look at Ruby in Steel as a potential IDE for doing testing automation with Watir. http://www.sapphiresteel.com/ Mostly because: 1) all my devs use Visual Studio for their work, so it puts me on the same platform, gives me good integration with our source control etc. 2)

[wtr-general] Re: How to click dijit button char

2008-12-01 Thread Chuck vdL
re having words with the developer.. The dev probably has what they feel is a good reason for using the mouseup to select the item from the list.. Except for instances were it affects testability, or performance, I generally try to stay away from telling the devs how to do their job (lest they

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Paul Rogers
heres my guess - the firewatir code uses lots of whats really javascript embedded in the ruby file. I think the parser is having a hard time figuring out whats ruby and whats javascript If you poke around in the lines suggested by the parser, you might be able rearrange some of the code to

[wtr-general] Excel Ranges and Ruby

2008-12-01 Thread jas . shelton
All, I am trying to enter the contents of an array into an excel range. Here is a sample of what I am doing now: array = (0,1,2) excel.Range(A1::A3) = array When I do this cells a1, a2, and a3 are all set to 0, and not 0,1,2 as I am expecting. Can someone please assist me with this? I can

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Moochie
Try using value at the end Blah = excel.worksheets(4).Range(B2:J2).Value puts Blah On Dec 1, 12:46 pm, [EMAIL PROTECTED] wrote: All, I am trying to enter the contents of an array into an excel range. Here is a sample of what I am doing now: array = (0,1,2) excel.Range(A1::A3) = array

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
OK so I went and looked.. it's not javascript -=-=- snip-=-= class Radio RadioCheckCommon def initialize *args =-=-=-= snip =-=-=-= its the * in *args that's giving it a fit.. Now understand please that my ruby coding skills are in their infancy.. and I've not gotten into defining my

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Jason Shelton
I have been using value, I accidentally left it out of my message. What I have looks like: array = (1,2,3)excel.Range(A1::A3).Value = array This puts a '1' into cells a1, a2, and a3. I want a1 = 1, a2 = 2, a3 = 3. Thanks in advance for your help. - Shelton Date: Mon, 1 Dec 2008

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Bret Pettichord
Thanks for sharing your report. I looked at Ruby in Steel over a year ago and it sounds like it has made a lot of progress since then. Back then, our developers were using Visual Studio as well. I agree that it is very attractive for this kind of environment. Bret Chuck vdL wrote: I'm

[wtr-general] Re: button.Click_No_Wait only highlights the button, does not click

2008-12-01 Thread Bret Pettichord
This works for me, although I am using ie 6.0. I'm wondering if this is broken with ie 7. Can any one else try this out? Bret patrick wrote: hi, i am using the foll versions: win xp sp2 ruby - 1.8.6 watir - 1.6.2 ie - 7.0 my code is as follows: irb require watir browser =

[wtr-general] Re: Click_no_wait for firewatir

2008-12-01 Thread Bret Pettichord
I've added this to the compatiblity issues table. http://wiki.seleniumhq.org/display/WTR/Firewatir+Compatibility aidy lewis wrote: On 28/11/2008, al3kc [EMAIL PROTECTED] wrote: Hi all, Does click_no_wait method exists in firewatir? I didn't found it in firewatir sorce files and it

[wtr-general] Re: indexes with watir and firewatir

2008-12-01 Thread Bret Pettichord
I get the following error: c:/ruby-186-26/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in `assert_exists': Unable to locate element, using :index, 0 (Watir::Exception::UnknownObjectException) from (eval):2:in `html' from index.rb:6 Is this what you are seeing? aidy

[wtr-general] Re: Help required : Ruby code error

2008-12-01 Thread Bret Pettichord
Aidy, Could you please create a wiki page with your list of editors. I thought we had a page started, but I can't seem to find it. It would be great to collect people's thoughts on the pros and cons of these editors for watir test development. Bret aidy lewis wrote: Hi Natasha, Below is

[wtr-general] Re: get text from page (regex) assign to variable

2008-12-01 Thread Bret Pettichord
The thing to remember is that puts does an implicit to_s (or inspect, i can't remember exactly) on its argument. Bret Sameh Abdelhamid wrote: Very nice. Thanks Wes. I couldnt find this anywhere! Cheers. On Wed, Nov 26, 2008 at 3:38 PM, wesley chen [EMAIL PROTECTED] mailto:[EMAIL

[wtr-general] Re: Was(Re: Watir Podcast) Now(Ruby and .Net)

2008-12-01 Thread Bret Pettichord
aidy lewis wrote: However there are many new Watir potential users who might just know it as a Ruby test tool. Right. And now that Ruby is becoming a popular app language, I think people might think the R is Watir refers to the target application.

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
OK the putting that in 'brackets' (sorry still think of those as parenthesis, and [] as brackets..) eliminated that error and got me a new one.. (heh isn't this fun) Now the problem is on line 1078 column 39 of firefox.rbanother unexpected token, this time a comma.. So I went and

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Bret Pettichord
Chuck vdL wrote: (and if these things get stuff working, do I need to raise a jira issue for this so we make sure to make these changes in the watir source? (point me at instructions for this if they exist, so I do it 'right' I'm used to using Jira at work, but in my experience every

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Paul Rogers
the ri command ( ri Kernel#raise in this case ) shows -- Kernel#raise raise raise(string) raise(exception [, string [, array]]) fail fail(string) fail(exception [, string [, array]])

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Bret Pettichord
Please do note that all of the examples you've found so far represent correct Ruby code. In many cases with Ruby, parentheses are optional. It might be best if you reported your findings to the Ruby in Steel people so that they can fix their parser. Bret Bret Pettichord wrote: Chuck vdL

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Jason Shelton
I just tried your code on my machine, and I am still getting a 1 in all three cells. - Shelton Date: Mon, 1 Dec 2008 11:27:28 -0800 Subject: [wtr-general] Re: Excel Ranges and Ruby From: [EMAIL PROTECTED] To: watir-general@googlegroups.com I got this to work. excel =

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Darin Duphorn
Did you change the cell range. I was testing it on a spreadsheet where the range a1 - a3 was populated. DD From: watir-general@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Shelton Sent: Monday, December 01, 2008 2:36 PM To:

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Jason Shelton
No, I am using the same cell range. a1 - a3 is being populated on my machine, but it is populating each cell with element 0 in my array, not element 0, 1, and 2. -Shelton Subject: [wtr-general] Re: Excel Ranges and RubyDate: Mon, 1 Dec 2008 14:41:20 -0600From: [EMAIL PROTECTED]:

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
Brett, ACK I'm still at babysteps level of ruby coding and you're trying to turn me into a contributor aren't you ;) ok ok I'll read up on patches and such and see if I can manage to submit something for this that doesn't totally screw up everything... this is how it starts isn't it. how

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
On Dec 1, 12:14 pm, Bret Pettichord [EMAIL PROTECTED] wrote: Please do note that all of the examples you've found so far represent correct Ruby code. In many cases with Ruby, parentheses are optional. It might be best if you reported your findings to the Ruby in Steel people so that they can

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Jason Shelton
I just copied and pasted that code, and I am getting 1,1,1 still!!! I don't know how you can be getting 1,2,3 in your file, and I am getting 1,1,1. Any ideas? Thanks in advance. -Shelton Subject: [wtr-general] Re: Excel Ranges and RubyDate: Mon, 1 Dec 2008 14:49:06 -0600From: [EMAIL

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Bret Pettichord
My preferred ruby style is (1) not to include parentheses when they are optional, and (2) not to pad them with extra spaces when they are used. Bret Chuck vdL wrote: Brett, ACK I'm still at babysteps level of ruby coding and you're trying to turn me into a contributor aren't you ;) ok

[wtr-general] Unable to find the value blah... within a listbox. Value is retrieved from excel cell

2008-12-01 Thread Moochie
For some reason when I attempt to find a value in a listbox that contains three dots it doesn't find the value. Has anyone else seen this? Thanks, Darin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
OK posted a message in the forums over at SapphireSteel regarding my experience so far. here's a link http://sapphiresteel.com/forum/index.php?topic=303.0 for any that are interested to follow along. All in all I think if it will work, RubyInSteel could be a kick-ass IDE for working with Ruby

[wtr-general] Re: Unable to find the value blah... within a listbox. Value is retrieved from excel cell

2008-12-01 Thread Chuck vdL
Is 'Blah the actual value defined in the HTML for that listbox item, or is perhaps the browser UI visually truncating something longer down to what will fit in available space for the way the listbox is defined? On Dec 1, 1:11 pm, Moochie [EMAIL PROTECTED] wrote: For some reason when I

[wtr-general] Re: Unable to find the value blah... within a listbox. Value is retrieved from excel cell

2008-12-01 Thread Darin Duphorn
The actuall value is Filter by Coach... The ... That follow the work coach are displaying as á. I believe in excel that ... Means á Not sure though. -Original Message- From: watir-general@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chuck vdL Sent: Monday, December 01,

[wtr-general] Re: Unable to find the value blah... within a listbox. Value is retrieved from excel cell

2008-12-01 Thread Darin Duphorn
The value in the listbox is displayed as Filter by Coach... selected=selected Filter by Coach.../option The problem seems to be when I read the value from a excel cell it contains á. -Original Message- From: watir-general@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[wtr-general] Connect to postgresql and write query to csv

2008-12-01 Thread maven999
Hi all, I'm trying to connect to a postgresql db through Watir, execute a query and output the result of the query to a .csv file. I can connect, query and print (puts) to screen correctly, but am unable to put the output to the .csv file. require 'watir' require 'postgres'

[wtr-general] Re: Help required : Ruby code error

2008-12-01 Thread Alan Baird
Natasha - Not sure if you solved this yet or not but you need to move the include Login statement inside the SB class in testbug.rb. The below worked for me. I had to change Watir::Browser to Watir::IE since I don't have 1.6 installed yet. The below code gets me as far as clicking the login

[wtr-general] Re: Security Information pop-up turns up two times, how to deal with the input between the two pop-up turning up?

2008-12-01 Thread Tony
Hi Wesley, Maybe the wait method has already finished loading ... and doesnt wait anymore .. You could clarify this by putting a puts statement before text_field. Also you could handle this 'Security Information' outside your code, so that it runs in parallel with your testcode. -Tony

[wtr-general] Re: Unable to find the value blah... within a listbox. Value is retrieved from excel cell

2008-12-01 Thread Alex Collins
This is because in Excel you likely have the ellipsis character (...) as a single character not three separate period chracters (.). Ruby (and therefor Watir) doesn't support character sets / unicode as one might expect. Therefore you receive the á character instead. Try pasting the value

[wtr-general] How to handle Security Alert or Certificate Exception popup

2008-12-01 Thread Tony
Hi et all, Have noticed a lot of questions on how to handle the security alert window (Certificate expired window in IE), and thought would share the below- Have added an attachment- CertificateCloser.zip The below files are present- CertificateCheck.exe CertificateCheck.au3 Popup.lst