Skip to toolbar

TestNG – 7 || Use of @BeforeClass and @AfterClass.

BeforeClass and AfterClass annotations are like defining pre-condition and post-conditions in a Program. As in the last chapter, we have read about the BeforeMethod and AfterMethod annotations which runs before and after for each test method. But there are few scenarios where we have to execute any specific method at the starting or end ofRead More

TestNG – 6 || Use of @BeforeMethod and @AfterMethod.

As per the names, BeforeMethod and AfterMethod annotations get executed for each test method/case in a class file. Please note, that methods defined under @BeforeMethod and @AfterMethod are not considered as Test Cases. The result would be generated according to the methods defined under @Test annotations only. BeforeMethod and AfterMethod Sample program to understand theRead More

TestNG – 4 || Let’s understand @Test Annotation and attributes.

Using Annotation is the way to implement additional properties in normal methods. These annotations are pre-defined and entry-point of the programs written in TestNG framework. In the previous chapter, we have seen that keyword(annotation) @Test has been used for each method. @Test Annotation @Test Annotation is a basic and important keyword. It tells the compilerRead More

Framework || Simple example of Key Driven Framework using excel sheet in Selenium(JAVA).

This is an small and simple example of Key Driven Framework to execute test cases using excel sheet in Selenium(JAVA).          Key Driven framework is based on keywords which are used to control the execution of the script without modifying the actual code. A tester has to just set the keywords whichRead More

Selenium-9 || Understanding WebDriver API.

Selenium WebDriver is a powerful tool in selenium package. It helps to identify the component on a web browser, perform an action, comparing the result and generating the reports. Before starting this chapter I would suggest please go through with Chapter 1 of Selenium section: WebDriver API Basically, API stands for Application Program Interface. These resourcesRead More

Site Statistics

  • Users online: 0 
  • Visitors today : 1
  • Page views today : 1
  • Total visitors : 49,375
  • Total page view: 67,972

   YouTube ChannelQuora

            Ashok Kumar is working in an IT Company as a QA Consultant. He has started his career as a Test Trainee in manual testing in August 2010. Then he moves towards the automation testing after 4 years. He started learning JAVA and Selenium by self to get the knowledge of automation.

       While learning these tools and working on multiple projects, he found that sometimes people get stuck in live scenarios in their project and they have to do lots of RnD to get out of it. So he decided to start blogging only for such scenarios, where anyone facing any problem in their project, can ask any question or give a solution or you can say an alternate solution to achieve the goal successfully.

Later on, he observed that some people want to learn Java but they have few questions in their mind like how to start Java, whether we should go for the online or offline course. So he started writing tutorials on Java, Jira, Selenium, Excel etc.