TestNg

Maven | Running multiple TestNG.xml files using jar files. (Part-3)

As we read that a jar file should have a main method to start the program execution. But what if we have multiple TestNG.xml files in a single project? In this part, we will learn:- Managing multiple TestNG.xml files via main(). Creating jar file using Maven’s install feature. Create a package with required folders and …

Maven | Running multiple TestNG.xml files using jar files. (Part-3) Read More »

Maven | Installation and project creation in Selenium. (Part-1)

Maven is basically a build automation tool and used to manage project lifecycle and project dependencies. Maven Key Features First of all, it increases the reusability. Handle dependencies to manage library files. It manages project compilation, distribution, and build It has a central repository to manage library and jar files. We can easily create jar/war …

Maven | Installation and project creation in Selenium. (Part-1) Read More »

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 »

TestNG – 17 || Passing multiple Parameters in testng xml.

We can also pass parameters via TestNG XML file. These could be accessible using @Parameters annotation. This has been used in combination with the <parameter> tag in XML File. Parameters Annotation Parameters in TestNG XML File The process of using the Parameter is very simple. In the XML file, we have to use <parameter> tag …

TestNG – 17 || Passing multiple Parameters in testng xml. Read More »

TestNG – 16 || Access data from Excel sheet using DataProvider.

We can use an Excel sheet as a source of input. We can access data from excel sheet using DataProvider annotation and pass arguments through @Test methods. Mainly this approach is used in Data Driven Framework.     Data Driven Framework: A data-driven framework is used to run the same script for a huge amount …

TestNG – 16 || Access data from Excel sheet using DataProvider. Read More »

TestNG – 15 || DataProvider with parameters.

DataProvider with parameters provides ways to work with different type of datasets using single DataProvider. In our last chapter, we have learned how to use DataProvider annotation and attribute in a TestNG program. I would recommend to go through with the previous chapter then move with this. DataProvider Parameter Types DataProvider method supports two types …

TestNG – 15 || DataProvider with parameters. 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.