[quote="vishwanathvba@gmail.com":35bbzdl6]
2. i wanted to use TestNG, Maven, Selenium webdriver for the database testing.[/quote:35bbzdl6]
its explained in the frameworks.
check this out for first query
http://www.avajava.com/tutorials/lessons/how-do-i-deploy-a-maven-web-application-to-tomcat.html