Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Make Selenium Easy – Page 23

Posted on 02/18/2020 By admin

Hello Folks, I was asked this question in an interview and I was like “Are there two terms “Parameters” and “parameter” in TestNG?”. Yes, There are two different terms, “Parameters” and “parameter”. We have used both termas many times but didn’t notice minor thing. “Parameters” is an annotation which allows us to create parameterized methods … Continue reading TestNG Tutorials 43: Difference Between “Parameters” and “parameter” in TestNG

Hello Folks, Arguments or Parameters help us to achieve reusability of codes and cleanliness of codes. We can do overloading of methods using different number, types and order of parameters to serve differently for different set of values. TestNG also allows you to parameterized your tests. We will see how can we achieve parameterisation of methods … Continue reading TestNG Tutorials 42: Parameters In TestNG or Parameterization of Methods in a TestNG Class

Hello Programers, Problem: How to find duplicate values in each row of 2D array. For example , we have 2d array as below: Output should be : 4 , Because 4 is common in each row. Solution: This was really brainstorming as I want to avoid multiple for loops to solve this problem. My logic … Continue reading Java Programs 17: Java Program to Find Duplicate Elements in Each Row of 2D Array

Hello Folks, Recently I have started learning or exploring more on best practises in Selenium Framework and same I want to share through my blogs for yours learning as well as to know your views. In this post, we will learn Naming Convention for Web Element and actions on it. Let’s consider a scenario: You … Continue reading Best Practises in Page Object Model : Naming Conventions of Web Elements & Actions on it

Hello Folks, In this post we will learn below topics: 1. How to skip a test conditionally? 2. How conditionally skipped test is reported in TestNG report? 3. How to report conditionally skipped test case as failed in TestNG report instead of skipped? 4. What is SkipException class? 5. What is use of isSkip() method? … Continue reading TestNG Tutorials 41: Skipping a Test Conditionally in TestNG

Hello Folks, Grouping is a best feature provided by TestNG. We group test scripts based on suite name or functionality based on our requirements. We have seen grouping concepts in previous posts. In this post we will another feature of grouping in TestNG. TestNG also allows you to create group of groups i.e. meta data. … Continue reading TestNG Tutorials 40: Groups of Groups or MetaGroups in TestNG

Hello Folks, Suppose you have created a testng class which has many @Test annotated methods say 10 test methods. You may need to run only one test out of 10 for debug/verify etc. Generally I see people will comment “@Test” annotations or use testng.xml to include required test method using include or exclude tags. There … Continue reading TestNG Tutorials 39: Run Only Test From a TestNG Class Without Using TestNG XML?

Hello folks, In this post, we will see something new related to grouping in TestNG. When we assign group or groups to test methods in TestNG, to include or exclude groups to run we use TestNG xml. Do you know that we can run groups without TestNG xml and can include, exclude groups easily compare … Continue reading TestNG Tutorials 38: How to Execute Groups in TestNG without Using TestNG XML

Hello Folks, Proper categorisation/grouping of test scripts is very important as it gives us flexibility in running specific or group of tests. Group names followed by meaningful prefix or suffix help us in reducing number of lines of codes to execute desired groups. We will see an example below: You have multiple groups of tests … Continue reading TestNG Tutorials 37: Usage of Regular Expression With Group Names in TestNG

Hello Folks, We testers are always confused with these two terms : Verification & Validation. I will try my best to explain these terms in simple words in this post. Verification and Validation are different testing activities which are performed during SDLC. We use both words interchangeably and think our all testing activities fall either … Continue reading Understand Verification & Validation In Software Testing

Uncategorized

Post navigation

Previous Post: Make Selenium Easy – Page 18
Next Post: Make Selenium Easy – Page 11

Related Posts

March 5, 2019 – Make Selenium Easy Uncategorized
March 30, 2018 – Make Selenium Easy Uncategorized
Make Selenium Easy – Page 15 Uncategorized
Generics In Java Uncategorized
UnevenWhitespaces – Make Selenium Easy Uncategorized
multiHtml – Make Selenium Easy 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