It can be difficult to run every test page individually in order to check the results, so for example, if we have 100 YUI test pages, it means that we have to type 100 URLs in the browser's address bar, which is a very inefficient way of performing the tests. Fortunately, we can automate the running of the YUI test pages using Selenium (an automation web application testing tool) integration with YUI Test. This sort of integration can be done by the YUI Test Selenium Driver utility. Let's see how to work it.
In order to configure the YUI Test Selenium Driver utility with the YUI tests, you need to do the following:
Make sure that you have installed Java 5 (v1.5 or later) on your operating system.
Download the following:
The Selenium Server Version 2.25.0; it can be found at http://seleniumhq.org/download/.
The Selenium Java Client Driver; it can be found at https://github.com/yui/yuitest/blob/master/java...