Tag «TestNG»

TestNG – Test Automation with Selenium

TestNG framework can be used for automation testing with Selenium (web application automation testing tool). Then, definitely a question will popup in our mind “why this framework is needed?” Is it possible to execute Selenium tests without frameworks like JUnit or TestNG. Answer is “Yes”, it is possible to execute Selenium tests without using these …

TestNG (Next Generation Testing Framework) – Understanding Annotations

Annotation: Annotation defines a type and it can be applied to several Java elements such as Java methods, classes, etc.  Annotation adds meta-data facility to Java elements.  Some examples of Java built-in annotations are: @Override @Deprecated @SuppressWarnings Each annotation will instruct the compiler to do something. For example, @Override tells the compiler to check whether …

Setting up TestNG with Eclipse

This post will explain about installation of TestNG plug-in with Eclipse (Indigo) There is no need to download any Jar file or exe file for installation.  We need to just utilize the “Install New Software” option available in the Eclipse. Steps for installation: 1. Click Help –> Install New Software 2. Type “http://beust.com/eclipse” in the …

TestNG – Next Generation Testing Framework

TestNG is a testing framework that is used for unit testing and also with Selenium for Test Automation. What is the need for a testing framework? How it facilitates unit / automated UI testing? What are the functionalities that a framework like JUnit / TestNG provides? If I am new to Selenium, TestNG / JUnit, …