Earn Money in 10 days

Selenium Videos

Protractor In Selenium

Livechat

Showing posts with label What is Ant/How to install Ant.. Show all posts
Showing posts with label What is Ant/How to install Ant.. Show all posts

Thursday, 20 November 2014

Ant

Selenium – Use Ant to Generate HTML Reports

ANT is used to run unit tests, do the application deployment on containers such as Tomcat,  WebLogic, GlassFish, etc, and to run Automated Selenium Tests.
Reports:
Reports are the important part of a tester life.We all have to show reports to our Teammates Seniors and managers Whether the Reports are Pass or Fail.

In selenium we have to generate Reports.How much Test cases are passed or How much are failed or skipped.By using ant in Testng we can Generate very good Reports in Selenium.

What is Ant?
Ant is a Build and compile tool which is made by Apache.
Ant runs our programs on Linus 
Ant runs our Programs on cmd Prompt.
With the help of Ant you can run your java Programs on cmd prompt.
Ant helps us to generate very good Reports in Testng.
Ant is not a tool you just have to download it or Configure it into your system

How to Download Ant click here

 Click on This and Download this apache-ant -1.9 zip File


Extract it into Any Directory of your System
I have extract it into my E:folder.You can Extract it where you want.
Configure Path:
After Extracting Now you have to configure ant into your System.We need to set our Envirnment variable.Before setting enviornment variable let me show you My apache bin directory path.

Go to computer>Right click>properties>Advance systems Setting
Click on Envionment Variable
Click on new
Add a new System variable.Give the path upto your Bin folder of Apache

Now Set path apache path into the existing Directory.First Search Path and Click on Edit>Then edit path as ;%ANT_HOME%\bin.Now click on ok
Go to cmd prompt and Write ant -version.

Ant is installed succesfully.
Here is the video Tutorial for Generating Reports Using Ant
Tutorial 1
Tutorial 2

Popular Posts

 
subscribe
Subscribe Us
emailSubscribe to our mailing list to get the updates to your email inbox... We can't wait more to have your email in our subscribers email list. Just put your nice email in below box: