How did that work for you?
> Have more options listed on
> the website.
What URL are you referring to?
> Which option is good.
All browser automation libraries have their strengths and weaknesses,
so it's hard to answer your question unless you're more specific.
> Is there any place where
> comparision of these options are provided, when to use which and
> more.....
>
Not that I'm aware of.
Aslak
> --
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
>
Richard
On Friday, January 27, 2012 at 5:55 AM, kalyan wrote:
>
>
> On Jan 25, 8:11 pm, aslak hellesoy <aslak.helle...@gmail.com (http://gmail.com)> wrote:
> > On Wed, Jan 25, 2012 at 2:14 PM, kalyan <solasakal...@gmail.com (http://gmail.com)> wrote:
> > > I am trying to do test automation of web application developed in
> > > J2EE. Tried capybara and watir-webdriver.
> >
> >
> >
> > How did that work for you?
> >
> > > Have more options listed on
> > > the website.
> >
> >
> >
> > What URL are you referring to?
> https://github.com/cucumber/cucumber/wiki/ has options for web
> application testing
>
>
> > > Which option is good.
> >
> > All browser automation libraries have their strengths and weaknesses,
> > so it's hard to answer your question unless you're more specific.
>
>
> I am new and wanted to know how to approach the options. Which one to
> use when?
>
>
>
> > > Is there any place where
> > > comparision of these options are provided, when to use which and
> > > more.....
> >
> >
> >
> > Not that I'm aware of.
> >
> > Aslak
> >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Cukes" group.
> > > To post to this group, send email to cu...@googlegroups.com (mailto:cu...@googlegroups.com).
> > > To unsubscribe from this group, send email to cukes+un...@googlegroups.com (mailto:cukes+un...@googlegroups.com).
> > > For more options, visit this group athttp://groups.google.com/group/cukes?hl=en.
> >
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com (mailto:cu...@googlegroups.com).
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com (mailto:cukes+un...@googlegroups.com).
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
For me, choosing a browser automation library is quite simple:If I'm writing step definitions in Ruby, I choose Capybara. If I need to, I can reach down beneath Capybara's sweet DSL to the underlying Selenium Webdriver API.If I'm writing step definitions in C#, I choose Coypu. If I need to, I can reach down beneath Coypu's sweet DSL to the underlying Selenium Webdriver API.The underlying Selenium Libraries are amazingly powerful, but also result in more verbose test code. Capybara and Coypu are well tested, robust and well maintained libraries, and I love using them.I don't know about Java - is there an equivalent library to Capybara for Java?
For me, choosing a browser automation library is quite simple:If I'm writing step definitions in Ruby, I choose Capybara. If I need to, I can reach down beneath Capybara's sweet DSL to the underlying Selenium Webdriver API.If I'm writing step definitions in C#, I choose Coypu. If I need to, I can reach down beneath Coypu's sweet DSL to the underlying Selenium Webdriver API.The underlying Selenium Libraries are amazingly powerful, but also result in more verbose test code. Capybara and Coypu are well tested, robust and well maintained libraries, and I love using them.I don't know about Java - is there an equivalent library to Capybara for Java?Absolutely. It's called Selenium WebDriver and it's rock solid.
On 30 Jan 2012, at 22:52, Aslak Hellesøy wrote:For me, choosing a browser automation library is quite simple:If I'm writing step definitions in Ruby, I choose Capybara. If I need to, I can reach down beneath Capybara's sweet DSL to the underlying Selenium Webdriver API.If I'm writing step definitions in C#, I choose Coypu. If I need to, I can reach down beneath Coypu's sweet DSL to the underlying Selenium Webdriver API.The underlying Selenium Libraries are amazingly powerful, but also result in more verbose test code. Capybara and Coypu are well tested, robust and well maintained libraries, and I love using them.I don't know about Java - is there an equivalent library to Capybara for Java?Absolutely. It's called Selenium WebDriver and it's rock solid.But is there a sweeter DSL on top of it?
On 30 Jan 2012, at 22:52, Aslak Hellesøy wrote:For me, choosing a browser automation library is quite simple:If I'm writing step definitions in Ruby, I choose Capybara. If I need to, I can reach down beneath Capybara's sweet DSL to the underlying Selenium Webdriver API.If I'm writing step definitions in C#, I choose Coypu. If I need to, I can reach down beneath Coypu's sweet DSL to the underlying Selenium Webdriver API.The underlying Selenium Libraries are amazingly powerful, but also result in more verbose test code. Capybara and Coypu are well tested, robust and well maintained libraries, and I love using them.I don't know about Java - is there an equivalent library to Capybara for Java?Absolutely. It's called Selenium WebDriver and it's rock solid.But is there a sweeter DSL on top of it?
Not that I know of, and I'm mot sure I see the need for it.
AslakOn 30 Jan 2012, at 18:37, bis wrote:of course ill mention
Taza https://github.com/hammernight/taza
these are some other dont know if they are still applicable or not
watir-page-helper https://github.com/alisterscott/watir-page-helper
page-object https://github.com/cheezy/page-object
watirloo https://github.com/marekj/watirloo
seleniumFury https://github.com/scottcsims/SeleniumFury
On Sat, Jan 28, 2012 at 4:18 AM, Max <max....@gmail.com> wrote:> there are a few gems out there that help you doWould you be able to list few here? Thanks
> this. and plenty of stuff on the web.
On Jan 27, 7:24 am, bis <bis...@gmail.com> wrote:
> I personally prefer watir-webdriver or selenium-webdriver over capybara, I
> think the key to making it work is to create a good page object framework
> around your application,
I am working on a Java port of Coypu (little way off still)
Do you guys use web testing frameworks extensively though?
I tend to agree with Gojko Adzic (http://gojko.net/2010/04/13/how-to-implement-ui-testing-without-shooting-yourself-in-the-foot-2/): it's very easy to create very bad UI tests that become brittle and a nightmare to maintain on the long run, especially if they are written in a script format (eg: 1. login 2. go to products page 3. write "playstation" in the search box 4. confirm result has at least 1 product).
On our most recent project we have avoided UI tests and test under the skin of the application.
I am interested in knowing if you guys disagree with this, and if you regularly write tests "above the skin" that don't shoot yourself in the foot and make you want to disable them when you decide to change your interface.