开发者_开发技巧
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this questionIsn't Selenium better than Celerity when it comes to testing web sites cause real browsers like Firefox, Safari, Chrome and Internet Explorer could be used so that we know our website is compatible with each of them.
So if I use Celerity (it's java browser), even if all tests pass, doesn't that mean my website could still be incompatible with our popular web browsers?
I know it's slower, but if we do not take that into account, isn't Celerity more error prone then?
If you need speed, use Celerity. If you want tests executed in a real browser, use Selenium or Watir. Celerity emulates browser and Selenium and Watir drive real browsers. If your site is simple, Celerity should work fine. If there is a lot of JavaScript, maybe a real browser should be better.
精彩评论