2

Web Consistency Testing & Selenium : is there any tool which we can integrate with selenium to perform Web consistency testing

I can do this using Selenium but its scope is limited using getallButtons, getAllFields etc. but it does not fetch all Page elements and also it only fetches only buttons or labels not every GUI element which are actually causing problems

So is there any Web consistency tool which can(prefered) or can not be integrated with selenium?

Also please suggest any others ways you know to perform this without selenium or with selenium

2 Answers 2

3

We built our Web Consistency Testing service on top of Selenium and provide an API for integrating it into your Selenium testing suite. I assume you're looking to build your own rather than use a third party. In that case, there's really two parts that complementary to Selenium that you'll need to deal with: getting the DOM values and getting the screenshots for visualization.

Since Selenium can execute JavaScript in the browser for you and JavaScript has a DOM bridge, you can serialize your DOM that way. You may find this too slow on IE, in which case you'll probably want to write some plugin to do it for you. There was some discussion of this on the Web Consistency Testing mailing list.

For the screenshots, you almost certainly want the full canvas ones. Selenium provides this for Firefox out of the box. If you use the WebDriver protocol, you also get it in IE out of the box. If you use the RC protocol, you'll need to check out SnapsIE to get the capability for IE. We're pushing on the Chrome team to add something to their API to make support for this out of the box much easier -- until then, you likely would need to produce your own NPAPI-based plugin.

0

u can use selenium to verify the functionality of your app. checking links and logics etc.. But css validation is not possible with selenium. u can use any of the open source tool. i use browser shots. its simple and has a wide range of browsers. on the other hand drawbacks are also there its slow and u have keep increasing the time. check out the links bellow. it may help you out. http://browsershots.org/ http://www.smashingmagazine.com/2011/08/07/a-dozen-cross-browser-testing-tools/

2
  • Thanks but i want to run scan on my Localhost which browsershots is unable to perform Commented Mar 7, 2012 at 6:03
  • u can check out selenium grid. it can run multiple browsers simultaneously. what u mentioned is a limitation of browsershots. in that case u will need to use some tool which can run the test on your local system. but most of these tools are paid. Commented Mar 9, 2012 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.