ExtentReports with TestNG via ITestListener. (Session-3)

Generating reports via ITestListener interface is very easy. Here we can record every event. ITestListener Interface Listeners are basically keep a track of each event during the program execution. ITestListener provides many pre-defined methods which can be overridden by the programmer to use while automation. In this blog, we will learn about the below methodsRead More

ExtentReports with TestNG (AfterMethod annotation). (Session-2)

ExtentReports can be integrated with TestNG easily. All the processes and methods will remain the same as we learned in Session-1. ExtentReports with TestNG We need to just take care of few things while implementing the ExtentReports in TestNG, rest all the syntax and logic will remain the same. Here we are taking one liveRead More

ExtentReports in Selenium. (Session-1).

ExtentReports library files used to generate reports in HTML format. These reports show the overall test result in diagrammatic format. ExtentReports Features: ExtentReports are open source library files It can also be easily integrated with TestNG. Shows result in pie chart form Generate logs Test case results with screenshots Multiple views of the result, basedRead More

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-12 || Select Class to handle drop-down.

The Select class contains all the basic methods to handle the drop-down. Also, these are very easy to use and understandable. Basically, there are two types of drop-down in HTML Drop-down having single option selectable Drop-down having multiple options selectable Select Class methods In the below example we have used basic methods to handle drop-downRead More

Site Statistics

  • Users online: 0 
  • Visitors today : 1
  • Page views today : 1
  • Total visitors : 51,119
  • Total page view: 70,370

   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.