Few more @Test annotations 1. enable annotation import org.testng.annotations.*; /** * TestNG enable Test * @author Himanshu Bish...

Few more @Test annotations 1. enable annotation import org.testng.annotations.*; /** * TestNG enable Test * @author Himanshu Bish...
@Test Annotation: alwaysRun 1. alwaysRun annotation : Lets explain alwaysRun with an example import org.testng.annotations.*;...
@BeforeSuite @AfterSuite @BeforeTest @AfterTest @BeforeGroups @AfterGroups @BeforeClass ...
Commonly used TestNG annotations import java.util.*; import org.testng.Assert; import org.testng.annotations.*; public class Exampl...
Import Statements with examples: Let me explain import statement with an example Example 1: class Test { public static void ma...
Java Source File: 1. A Java program can contain multiple classes 2. Only one class in a java program can be declared as publi...
Method Overloading Method overloading means when two or more methods have the same name but a different signature. Signature of ...
Some general selenium Q & A Q1. Handling Frames using selenium 2.0 (webdriver) A1. You can use “switchTo” frame method to brin...