Frequently Asked Java Program 26: Java Program to Find Occurrence of Each Char in a Given String Without Using Collection

Problem Statement: Write a program to print occurrence of each character in given string without using Collection. Example:- Please enter the string to find occurrence of each char: Make Selenium Easy You entered: Make Selenium Easy Occurrence of M : 2 Occurrence of A : 2 Occurrence of K : 1 Occurrence of E :

Read More

TestNG Tutorials 67 : Difference Between @Ignore & enabled Attribute of @Test Method in TestNG

Hello Folks, In last post, we have learnt about new annotation of TestNG , named @Ignore which is used to ignore @Test annotated methods at different levels i.e. Method, Class and Package. We have another attribute of Test annotation named “enabled” which is also used to serve the same purpose. So what are the differences

Read More

TestNG Tutorials 65 – DataProvider in TestNG – All Possible Causes of Occurring Data Provider Mismatch Exception

Hello Folks, DataProvider is an awesome functionality provided by TestNG to achieve Data Driven Testing. You must have already seen many posts on DataProvider on my blog. If not, I will advise you to go through them. If you have used DataProvider in your tests, you must have encounter “Data provider mismatch” exception. I see

Read More

Advanced Concept of Selenium – Design Patterns in Selenium WebDriver – There is Not Only Page Object Model Design Pattern

Hello Folks, When we talk about design pattern in Selenium WebDriver, we generally discuss about Page Object Model (POM) and Behavioural Driven Development (BDD). But there are many more. Before we go and see other design patterns in Selenium, I would like to explain “What is actually mean by Design Pattern?”. Design Pattern: A design

Read More

TestNG Tutorials 64: Dependency in TestNG – ignoreMissingDependencies – Another Way of Achieving Soft Dependencies

Hello Folks, There are two types of dependencies in TestNG: 1. Hard Dependency : All the methods you depend on must have run and succeeded for you to run. If at least one failure occurred in your dependencies, you will not be invoked and marked as a SKIP in the report. 2. Soft Dependency : You will always be

Read More

API Testing Tutorial Part 14 – Installation of Postman Tool

Hello Folks, As part of our API Testing series, we will see “Installation of Postman Tool” in this post. Postman tool was introduced as an extension/app of Chrome browser. Postman chrome app can run only on chrome browser which was a critical limitation. And also Postman Chrome app had to download the Postman Interceptor Chrome extension in order

Read More

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.