Aim: Hudson with selenium2
Difficulty Level: High
Pr-requisites:
Helpful Video:
sel2hudson by time2test
Difficulty Level: High
Pr-requisites:
- JDK and Ant should be configured
- Hudson should be installed
- Download the project from the link
- You will get a war file, place it in C drive
- Open command prompt and go to C drive
- Run the command "java -jar hudson.war". (By default it will run on port 8080, if this port is busy then run command on other port i.e. "java -jar hudson.war --httpPort=8082")
- Launch the firefox and open the hudson dashboard using URL "http://localhost:8080"
- Create a new job
- Enter the job name
- Select the Build Type ANT into the dropdown
- Enter the target name from build.xml file into Targets field
- Click on Advanced button
- Enter the path of build.xml file into the Build of the field
- Click Save button
- Start selenium server.
- Click Build Now link at hudson interface to build the project
- Script runs and launches the browser
- Open the build link
- See the result from console output
Helpful Video:
sel2hudson by time2test