[wtr-general] Watir-webdriver doesnt store all cookies

2012-07-25 Thread Sridhar S
When I go to the following link on firefox (V-12), the browser on my Ubuntu machine allows me to login normally. https://r.espn.go.com/members/v3_1/login?language=en&forwardUrl=&appRedirect=http%3A%2F%2Fgames.espn.go.com However, if I use watir-webdriver, I get the message: "Cookies must be

Re: [wtr-general] check if the object is Link or anything else?

2012-07-25 Thread Željko Filipin
On Wed, Jul 25, 2012 at 2:01 PM, Gajendra Jain wrote: > Is there any function which returns whether the object name is a link or button or any other type? Something like this could work (not tested) browser.element(:text => "some text").class > Can I enter a value in the text field by passing

Re: [wtr-general] check if the object is Link or anything else?

2012-07-25 Thread Oscar Rieken
this may help you do what you want but i personally don't thing its the right appoach http://jarib.github.com/watir-webdriver/doc/Watir/Element.html#to_subtype-instance_method and you could just create a method that grabs all of the rows from your table and then check to see if that checks for yo

[wtr-general] check if the object is Link or anything else?

2012-07-25 Thread Gajendra Jain
Hi, I have few question in Watir Webdriver Is there any function which returns whether the object name is a link or button or any other type? Ex: In Google Search page, If i pass the "Google Search" text, It should return me as "button". Can I enter a value in the text field by passing the Labe

Re: [wtr-general] Re: Path to Ruby scripts

2012-07-25 Thread Željko Filipin
On Wed, Jul 25, 2012 at 10:49 AM, mitu wrote: > Can anybody teach me how to create a framework to automate a web application in Watir Ruby. I am using page-object gem on a couple of projects, and I like it so far. A few links: https://github.com/cheezy/page-object https://github.com/cheezy/page-

[wtr-general] Re: Path to Ruby scripts

2012-07-25 Thread mitu
HI ALL, I am new to Watir. Can anybody teach me how to create a framework to automate a web application in Watir Ruby. It would be very helpful for me. Thanks mitu On Sunday, April 12, 2009 3:21:23 AM UTC+5:30, Jarmo Pertman wrote: > > Just use some test framework (RSpec or Test::Unit for exam