[wtr-general] Re: Delete cookies in Firewatir

2009-11-18 Thread Angrez Singh
How about this: browser.set_cookie(:name => "name", :value => "value") browser.delete_cookie(:name => "name") browser.delete_all_cookies() I want these methods to be with Browser as cookies are related to browser. Thoughts? - Angrez On Wed, Nov 18, 2009 at 12:28 AM, Bret Pettichord wrote: > > P

[wtr-general] Re: firewatir- I cannot close the second popup.

2009-11-18 Thread Angrez Singh
You can use AutoIT to close the pop ups if you are working on Windows. As of now this is the only solution. - Angrez On Wed, Nov 18, 2009 at 7:05 AM, Shlomit Gazit wrote: > > Angrez, > Please let me know if you have any new results. > > On Nov 16, 10:00 am, Shlomit Gazit wrote: > > Pallavi, Ang

[wtr-general] Re: Delete cookies in Firewatir

2009-11-18 Thread aidy lewis
Angrez, Sounds good. Would you like me to write them? I can either push them to my fork or just email them to you. I will be just doing the FireWatir ones, as I am unsure on what method we should use for Watir. Will start with and include tests. Aidy 2009/11/18 Angrez Singh : > How about thi

[wtr-general] Re: Delete cookies in Firewatir

2009-11-18 Thread Angrez Singh
Aidy, You can go ahead and write it. I'll write the corresponding methods in Watir. -Angrez On Wed, Nov 18, 2009 at 3:56 PM, aidy lewis wrote: > > Angrez, > > Sounds good. Would you like me to write them? > > I can either push them to my fork or just email them to you. > > I will be just doing

[wtr-general] Re: Issue trying to click on a span element using safariwatir

2009-11-18 Thread QAguy
I cannot add an id as I don't have control over code decisions unfortunately. So I am forced to work with what I have. I also tried this: browser.span(:text, /butterfly.m4v/).click which gives me this: Unable to locate Span element with text of (?-mix:butterfly.m4v) and this: browser.span(:titl

[wtr-general] Re: ondblclick event doesn't work in firewatir 1.6.5

2009-11-18 Thread b...@pettichord.com
I'm wondering if we can get a scenario that would allow us to reproduce this. Bret On Nov 16, 7:44 am, al3kc wrote: > In 1.6.2 I made fireEvent action like > > $test_browser.div(:class ,"name").div(:xpath ,"//d...@class ='class'] > [3]").div(:class ,"classname").text_field(:value, name).fireEve

[wtr-general] Re: Delete cookies in Firewatir

2009-11-18 Thread Ethan
That seems to be lacking the URI to set the cookie on. Would the method just infer that from the current location of the browser, or should that be be configurable by the user? On Wed, Nov 18, 2009 at 07:15, Angrez Singh wrote: > Aidy, > > You can go ahead and write it. I'll write the correspond

[wtr-general] Re: Delete cookies in Firewatir

2009-11-18 Thread aidy lewis
Going to put the URI in, for #read_cookies or something 2009/11/18 Ethan : > That seems to be lacking the URI to set the cookie on. Would the method just > infer that from the current location of the browser, or should that be be > configurable by the user? > > On Wed, Nov 18, 2009 at 07:15, Angr

[wtr-general] Re: Delete cookies in Firewatir

2009-11-18 Thread aidy lewis
Ethan 2009/11/18 aidy lewis : > Going to put the URI in, for #read_cookies or something > > 2009/11/18 Ethan : >> That seems to be lacking the URI to set the cookie on. Would the method just >> infer that from the current location of the browser, or should that be be >> configurable by the user?

[wtr-general] happy belated birthday watir.

2009-11-18 Thread Paul Rogers
If Im correct, watirs first public appearance was 5 years ago ( plus a few days as I forgot to send the email). Bret was teaching a class on test automation at StarWest, and I helped out. This was the first appearance of watir. During the class we found lots of bugs. Thanks to all the students for

[wtr-general] Re: happy belated birthday watir.

2009-11-18 Thread Lisa Crispin
Happy Birthday! That is so cool! Did you tweet this? On Wed, Nov 18, 2009 at 1:53 PM, Paul Rogers wrote: > If Im correct, watirs first public appearance was 5 years ago ( plus a few > days as I forgot to send the email). > > Bret was teaching a class on test automation at StarWest, and I helped

[wtr-general] Re: happy belated birthday watir.

2009-11-18 Thread Tiffany Fodor
Hooray! Happy Birthday Watir!!! Congratulations to the core team for designing a tool that has lasted so long and grown so much! I know it's not really appropriate for a 5-year-old, but I'll drink to Watir's 5th tonight. :) -Tiffany On Nov 18, 11:53 am, Paul Rogers wrote: > If Im correct, w

[wtr-general] No return in irb from click method

2009-11-18 Thread Steve Hamlett
I'm using irb to progress thru a series of html pages like so: ie.link(:text,'AAA').click ie.link(:text,'BBB').click ie.link(:text,'CCC').click ie.link(:text,'DDD').click Each click brings up a new page. When I click on 'DDD', the expected page comes up but the click method seems to get hung.

[wtr-general] Re: happy belated birthday watir.

2009-11-18 Thread Pallavi Sharma
Wow... this is awesome... wishing everyone from the core team congrats and applauds for the effort. Also to this lively community. -- Pallavi. On Thu, Nov 19, 2009 at 2:50 AM, Tiffany Fodor wrote: > > Hooray! Happy Birthday Watir!!! > > Congratulations to the core team for designing a tool t

[wtr-general] Re: Delete cookies in Firewatir

2009-11-18 Thread Angrez Singh
Bret proposed the following syntax or method names via Google Wave, so we should stick to this: Browser#cookies (get cookies as ruby array of hashes) Browser#add_cookie(opts) where opts is a hash of :name, :value, :path, :secure and :name/:value will raise ArgumentError if not supplied Browser#r