• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ajax web-testing

 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Lisa and Janet,

Can you advice on the best technoogy to use for automating web-testing for an Ajax-loaded-website ?
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use something like HTMLUnit if you are willing to handwrite all test cases. Otherwise Selenium is quite good.
 
Tina Ma
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since you bring up Selenium, is there a way to have a piece of code written from scratch besides the one which comes from "recording" the clicks on the web-pages? A code written from scratch can allow the use of loops, if/else etc so that the clicks can be randomly generated. Do you have any documentation if Selenium allows this.
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

sreerupa basu wrote:Hello Lisa and Janet,

Can you advice on the best technoogy to use for automating web-testing for an Ajax-loaded-website ?


That's not my area of expertise. My team's application doesn't have a lot of Ajax, and we've been able to cover test automation with Canoo WebTest. I don't think that tool would be appropriate for heavy Ajax use. I've heard good things about Selenium for this.

In our book we have some real-world stories from real teams on how they approached different challenges such as automation (this includes a sidebar on why a team chose to use Selenium RC). The message we try to get across in the book is that test automation, along with all other aspects of testing, is a team problem. The whole team should be committed to making the application testable and finding good solutions for automation. Be willing to experiment. The beauty of short agile iterations is that you can try out a tool and know quickly whether it will work for your situation.
-- Lisa
 
Tina Ma
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lisa,
Do you discuss Selenium RC in your new book?
Does it have some code-illustrations using SeleniumRC?
 
Lisa Crispin
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

sreerupa basu wrote:Lisa,
Do you discuss Selenium RC in your new book?
Does it have some code-illustrations using SeleniumRC?


We didn't provide a lot of detailed examples since tools change so fast. It makes the book out of date right away. However, we do have some examples of Selenium RC. Joe Yakich contributed a long sidebar about how his team decided to adopt and implement Selenium RC and it has a few small examples. But it's not a book to learn about how to write Selenium RC tests, for sure. We provide references to more information about the various tools we talk about.
-- Lisa
 
Enjoy the full beauty of the english language. Embedded in this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic