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 methods …

ExtentReports with TestNG via ITestListener. (Session-3) Read 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 live …

ExtentReports with TestNG (AfterMethod annotation). (Session-2) Read 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, based …

ExtentReports in Selenium. (Session-1). Read 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 of …

TestNG – 7 || Use of @BeforeClass and @AfterClass. Read 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 the …

TestNG – 6 || Use of @BeforeMethod and @AfterMethod. Read 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 compiler …

TestNG – 4 || Let’s understand @Test Annotation and attributes. Read 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 which …

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

   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.