Selenium Grid + CentOS
Step 1: Verify That JDK 1.5 is Installed
It is important to install JDK from SUN.
Step 2: Install Ant 1.7
With "Could not create task or type of type: replaceregexp" bug might be useful "yum install ant-nodeps"
Step 3: Installing Selenium Grid
3.1 Download the latest version of Selenium Grid from http://selenium-grid.seleniumhq.org/download.html
3.2 Unzip the file into a directory of your choosing (say /usr/local/selenium-grid-1.0). We will refer to the directory where Selenium Grid is installed as "Selenium Grid Home". For instance if you unzipped the distribution within /usr/local/selenium-grid-1.0, your Selenium Grid Home is /usr/local/selenium-grid-1.0.
3.3 Verify the Selenium Grid install: from the terminal window go to the Selenium Grid home directory and run: ant sanity-check
In case "No supported regular expression matcher found: java.lang.ClassNotFoundException: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp" bug "yum install ant-apache-regexp" might helps.
It is important to install JDK from SUN.
Step 2: Install Ant 1.7
With "Could not create task or type of type: replaceregexp" bug might be useful "yum install ant-nodeps"
Step 3: Installing Selenium Grid
3.1 Download the latest version of Selenium Grid from http://selenium-grid.seleniumhq.org/download.html
3.2 Unzip the file into a directory of your choosing (say /usr/local/selenium-grid-1.0). We will refer to the directory where Selenium Grid is installed as "Selenium Grid Home". For instance if you unzipped the distribution within /usr/local/selenium-grid-1.0, your Selenium Grid Home is /usr/local/selenium-grid-1.0.
3.3 Verify the Selenium Grid install: from the terminal window go to the Selenium Grid home directory and run: ant sanity-check
In case "No supported regular expression matcher found: java.lang.ClassNotFoundException: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp" bug "yum install ant-apache-regexp" might helps.
comments (1)