This simple demo shows Hudson executing a Selenium Automation Suite and the results on the PC.
Pre-requisites:
- Hudson war file -
- How to install Ant
Here are the key steps
- We have already created a New Job.
- Launch Hudson.
- Launch the Firefox and open the Hudson by using URL: http://localhost:8080/.
- Create a New Job.
- Enter the Job name.
- Select the Build type Ant by Drop down.
- Enter the Target name from build.xml file into Targets field.
- Click on Advanced button.
- Enter the path of build.xml file into Build file field.
- Now click on save button.
- Click on Build now link for build the Project.
- New Browser open and run the Script.
- Open the build link.
- See the Result by Console Output.
- Demonstrate Hudson with Ant and Selenium
Helpful Video File
NOtes for Vipin:
ReplyDeletecreate this on the VM
do not show how to install Hudson
only show an example working on the VM
video needs to show creation of a new job, setting up the config, running the hudson job, viewing the results.
It's done.
ReplyDeleteFeedback:
ReplyDeleteI notice that you use Nant build.xml files to run and execute Selenium. This can also be done via Hudson by adding a selenium Step. I will send you a video based on my setup on my work computer
Hi Viresh, please share the video file.
ReplyDeleteHi Vipin. Goto My Dropbox\vipin\helloWorldExample\2011-05-11_1701.swf and open the flash file in a browser to view.
ReplyDeleteKeep this example as it is - as it uses Ant.Also create another blog entry like the video i have created.
ok..I have provided the solution on the new created blog entry.
ReplyDelete