[wtr-general] How would one delete browser cookies using safariwatir

2009-11-20 Thread QAguy
Does anyone have an example of how someone would delete browser cookies using safariwatir? I want to delete the browser cookies between running different rspec files for testing. So as the begin of each .rb file I would do a delete cookies call to make sure the browser's cookies are cleared out.

[wtr-general] Re: Question Watir and Firefox

2009-11-20 Thread Tiffany Fodor
There's a whole section on the wiki dedicated to FireWatir: http://wiki.openqa.org/display/WTR/FireWatir There are also lots of posts here in Watir General as well. Please do some searching on your own before you ask the group for help. -Tiffany On Nov 20, 11:14 am, tester86 wrote: > Hi, > >

[wtr-general] Question Watir and Firefox

2009-11-20 Thread tester86
Hi, I forgot the command that you need to execute scripts in firefox version 3.5. I think in command prompt I have to set Firefox but I forgot the command can someone tell me please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[wtr-general] Re: what watir method use with img tag?

2009-11-20 Thread Tiffany Fodor
Hi! If it works, go with it. :) Sometimes it's difficult to discern exactly what to click on to perform the desired action. What looks like a button may actually use a link to perform the action (as in your case). I've also run into cases where what looks like a link is actually a span. When

[wtr-general] Re: what watir method use with img tag?

2009-11-20 Thread Rodrigo
Thanks a lot! I'll try that suggestions, but I have tried this way ie.link(:text, "Log In").click and it worked. What do you think about that method? Thanks again, Rodrigo On 20 nov, 13:46, orde wrote: > .image is the correct method.  You might find this page > useful:http://wtr.rubyforge.or

[wtr-general] Re: Watir Examples...Need Help

2009-11-20 Thread Tiffany Fodor
Hi! If you want to stick with Test::Unit, here is the rdoc for the Watir::Assertions module: http://wtr.rubyforge.org/rdoc/classes/Watir/Assertions.html#M000182 There are several threads in this group that discuss Test::Unit assertions/verifications, here's one: http://groups.google.com/group/

[wtr-general] Re: what watir method use with img tag?

2009-11-20 Thread orde
.image is the correct method. You might find this page useful: http://wtr.rubyforge.org/rdoc/classes/Watir/Container.html Also, this (very useful) page summarizes the methods supported by element: http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+Element Hope that helps. orde

[wtr-general] Re: what watir method use with img tag?

2009-11-20 Thread Tiffany Fodor
Hi Rodrigo! Clicking an image works for me in the apps I've tested. Have you tried this? ie.image(:src, /manage-account/).click Hope this helps! -Tiffany On Nov 20, 8:49 am, Rodrigo wrote: > Hi everybody, > > I'm having some issues working with img tags. I've tried some methods > like ie.bu

[wtr-general] what watir method use with img tag?

2009-11-20 Thread Rodrigo
Hi everybody, I'm having some issues working with img tags. I've tried some methods like ie.button, ie.image, ie.click but no one of them works when running the watir script. This is the html I have: What method can I use for clicking or getting the Manage account option. Thanks a lor! Rodri

[wtr-general] Donate to Watir

2009-11-20 Thread Željko Filipin
If you like Watir, and would like to help, but you just do not have the time, you can donate some money and help us pay the bills. At the moment members of the Watir team pay themselves for Watir related domains, hosting and stuff like that. If you would like to help, go to http://watir.com/ and cl

[wtr-general] Re: Watir Examples...Need Help

2009-11-20 Thread tester86
Hi - I was looking into cucumber for a while, but I have thought about developing an automation framework in Watir (Test::Unit::TestCase), I saw the examples on the link that you mentioned above and they just outline different ways to code in Watir. If I use Watir then hopefully I can incoroparte

[wtr-general] Re: Watir 1.6.5 is released

2009-11-20 Thread Željko Filipin
Charley, I have just updated Watir to 1.6.5 and ran all my tests. No problems at all. :) Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General

[wtr-general] Re: WatirRecorder

2009-11-20 Thread Alister Scott
You can try iTest2, which is a free Firefox add on for recording Watir scripts. http://itest2.com/downloads --~--~-~--~~~---~--~~ 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: happy belated birthday watir.

2009-11-20 Thread Željko Filipin
Happy birthday Watir! :) Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---~--~~ 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@googl