How to Create TestNg + XSLT Reports

Pre- requirement 

1. Install ant and configure it
2 . Check  :- open RUN > cmd > Type c:/file/ant

Refer :- http://qateacher.blogspot.com/2014/10/download-sample-project-httpwww.html

 Create project 
1. open eclipes > New >Java Project
2. Create testng.xml file (Right-click on your project >new>file> anyname.xml )

3.Download all Jar files. That will be lib file
   https://www.dropbox.com/s/itq2g0nwzbx9ad2/lib.rar?dl=0
Note :-  Don't change file name . because if we change file name we have to change in Build file

4. Download Build file and testNg-result xml file
Build :-
https://www.dropbox.com/s/lbt0gui30l17hkf/build.xml?dl=0
testNg-result xml
https://www.dropbox.com/s/uxkssn4sibbvab4/testng-results.xsl?dl=0

5. Ok Everything is set and ready to go .....

If you need complete project
Download Sample Project 
https://www.dropbox.com/sh/kpxtmc883vwsip4/AAAVp1be8RigUqhTyKpHOmuYa?dl=0

 How to Execute ????

1. Run your testng.xml file . 
  
OUTPUT .....

2. Go to command and type 
      >cd your project path(c:\projectname) >ant
                    >ant compile
 
  
              > ant makexsltreports
        So project run successfully

           Lets Check Report  > testng xslt>index.html

                 Index.html open in firefox / chrome ...etc