How do I write a TestNG script?

How do I write a TestNG script?

TestNG is java based Unit Test Automation framework . It required basic understading of Java, creating Java Project with or Without Maven. It mostly used with Selenium to Automate Web Application. It have set of annotations ot organise test cases and suite.xml helps on parallel execution and test archestration. Learn to write test cases using Selenium and TestNG from here .