[wtr-general] getAllContents selectList

2008-11-11 Thread TCBlues
when you call getAllContents in a select list field you get all the captions but I would like to get the possible values, is it possible? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General

[wtr-general] Re: Need help on installing Rails

2008-11-11 Thread Bret Pettichord
Or you can use Ruby 1.8.6 and Watir 1.6.2. The modal dialog support has been updated to work with Ruby 1.8.6. Alex Collins wrote: For the rails aspect, you should probably search / ask a rails group. However, you should be able to install two versions of ruby - and use a custom PATH

[wtr-general] Re: require firewatir in 1.6.2

2008-11-11 Thread Bret Pettichord
aidy lewis wrote: Do we still need to require 'firewatir' in 1.6.2. Probably not, although it doesn't hurt. And if not shall I 'gem unistall firewatir'? Only if you aren't going to use it. Although again it doesn't hurt to leave it. --~--~-~--~~~---~--~~

[wtr-general] Re: How to save a cookie and reload it?

2008-11-11 Thread jnxgn
I tried following code, could anyone tell what is wrong? It would be highly appreciated: ie77= Watir::IE.new ie77.goto(http://*;) sleep 3 tmpcookie = ie77.document.cookie puts this is tmpcookie puts tmpcookie # cookie is displayed Watir::IE.close_all sleep 3 ie77= Watir::IE.new

[wtr-general] How to get the system date to my text field.

2008-11-11 Thread meaculpa
Hi All, I have a text field for enetering datein teh format 12-NOV-2008. So how can i able to get system date and make it in this format to enter in textfield.Please help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Re: How to get the system date to my text field.

2008-11-11 Thread wesley chen
Yes, require 'time' is not required in Watir. Thanks. Wesley Chen. --~--~-~--~~~---~--~~ 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

[wtr-general] WatirLogger can't work in watir1.6.2

2008-11-11 Thread drew
Hi all, When install watir1.6.2 when use WatirLogger. always prompt Uninitialized constant WatirLogger NameError it can work in 1.5.6 the code is below: class CoreLogger WatirLogger def initialize(fileName, logsToKeep, maxLogSize) super(fileName , logsToKeep, maxLogSize)

[wtr-general] Re: WatirLogger can't work in watir1.6.2

2008-11-11 Thread drew
when debug lib/watir/logger.rb file prompt Uninitialized constant Watir::Logger NameError On Nov 12, 2:38 pm, drew [EMAIL PROTECTED] wrote: Hi all,   When install watir1.6.2 when use WatirLogger. always prompt Uninitialized constant WatirLogger NameError it can work in 1.5.6 the code is

[wtr-general] Re: Help needed documenting Watir 1.6 roll out

2008-11-11 Thread Gavin Jefferies
On Mon, Nov 10, 2008 at 7:24 AM, Bret Pettichord [EMAIL PROTECTED] wrote: First of all, I need help from some one who will read everything I post to this list. We are already getting several questions on this list which I have already answered in previous emails, or in wiki pages that I have

[wtr-general] Re: WatirLogger can't work in watir1.6.2

2008-11-11 Thread Gavin Jefferies
Hi Drew, require 'logger' require 'watir/logger' will get it working for you but I think the first requirement is a bug. Gavin On Tue, Nov 11, 2008 at 10:54 PM, drew [EMAIL PROTECTED] wrote: when debug lib/watir/logger.rb file prompt Uninitialized constant Watir::Logger NameError On Nov

[wtr-general] Re: How to save a cookie and reload it?

2008-11-11 Thread Tony
Like Alex had said, its not that simple to add a cookie and get the cookie details by using ie77.document.cookie = tmpcookie. A cookie is set by the server and has 3 main identifiers - (name, domain, path) if any of these 3 identifiers are different, a new cookie is created. There are a few