Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

May 2018 – Page 2 – Make Selenium Easy

Posted on 05/06/2019 By admin

Hello Folks, Java allows you to group similar types of classes, interfaces and sub packages. You can create nested packages means package inside package which is termed as sub-packages. Let’s create a below hierarchy of package: Create a Package “MainPackage”. Create a class “MainPackageClass”  in “MainPackage” Create a sub package “SubPackage” inside “MainPackage”. Create a class […]

Hello Folks, When we generate a testng.xml for TestNG classes of a package, we see all class names (with at least one @Test annotated method) of that package under “class” tag wrapped by tag. We can see an example below: When we have multiple packages in a project , testng.xml includes all TestNG classes from […]

Hello Folks, In this post, we will learn logic behind generation of testng.xml. When we select a class or package or project and chose to generate a testng.xml, it includes only those class names which has at least one @Test annotated method. It will not consider a class which has no @Test annotated method. Suppose […]

Hello Folks, In this post, we will see a very important and basic concept of TestNG : Understanding of TestNG.xml You must aware about the hierarchy of testng.xml to implement many concept of testng. Let’s learn it: I will generate a testng.xml for below hierarchy of project: The generated testng.xml will be as below. I […]

Hello Folks, In this post, we will learn why we should do API testing. At a very high level, an application has three components: Back end (Data Layer) : Where data is stored and retrieved. Front end (Presentation Layer) :  User interface. Middle ware (Logic Layer) : It connects front end and back end of application. […]

Hello Folks, Before understanding about API, Let’s consider some real time scenarios first. You go to any restaurant for a grand party. A waiter comes to your desk and takes your order. Waiter goes to kitchen and brings up your ordered food. You don’t bother how waiter did this. You just worried about your order. […]

Hello Folks, In this post, we are going to learn to generate customized testng.xml. Generation of testng.xml depends upon how you create it. We will see some scenarios in this post. Scenario 1: Generating testng.xml for an individual class.  We will take same example of previous post: You need to select individual class and do […]

Hello Folks, In last post, we ran our testng class as a TestNG test using “Run As” option. We can run it using testng.xml which we will learn in this post. After creating testng class, we need to generate a testng.xml which is very easy. We will take same example of previous post: Right click […]

Hello Folks, In this post, we will see some basics implementation of TestNG. A class is called TestNG class if it has annotations provided by TestNG. TestNG provides an annotation called “Test” which you need to use for any method which has some business logic to verify. When you add this “Test” annotation, you DON’T […]

Hello Folks, You might be asked in selenium interviews, “Why TestNG is called a testing framework?”. Why TestNg is called “Testing Framework“? TestNG, where NG stands for “Next Generation”. TestNG is a testing framework to perform unit, functional, end-to-end, integration, etc testing. This library helps you in writing automated tests. Suppose, you are launching a URL […]

Uncategorized

Post navigation

Previous Post: May 2018 – Page 3 – Make Selenium Easy
Next Post: April 2017 – Page 2 – Make Selenium Easy

Related Posts

Postman Tutorial Part 28- Building Workflow in Postman Using Collection Runner – New Feature of Postman Uncategorized
REST Assured Tutorial 40 – @JsonIgnoreProperties Annotation Of Jackson API – Exclude Field Of Pojo From Serialization Or Deserialization or Both Uncategorized
Hierarchy of Selenium Classes and Interfaces – Make Selenium Easy Uncategorized
image – Make Selenium Easy Uncategorized
Advanced Selenium Concepts – Custom Select Class – Select Value Containing Specific Text in Drop down | Make Selenium Easy Uncategorized
Webdriver Uncategorized

Recent Posts

  • Getting Started with Selenium 4: What Is New and How to Upgrade from Selenium 3
  • Manual Testing
  • Baby Steps To Become Efficient Selenium-Java Automation Tester
  • Features of Selenium 4.0.0 Release – Java Binding
  • Part 1: Handling Drop-down Created Using SELECT Tag In Selenium

Recent Comments

No comments to show.

Archives

  • April 2026
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • April 2024
  • March 2024
  • February 2024
  • December 2023
  • October 2023
  • August 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • May 2022
  • March 2022
  • October 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • May 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • January 2018

Categories

  • Getting Started
  • Uncategorized

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark