Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Make Selenium Easy – Page 18

Posted on 02/18/2020 By admin

Problem Statement: Input: make selenium easy Output: Make Selenium Easy Convert first character of each word into upper case. Solution: Logic: A sentence is a collection of words generally separated by a white space. We can extract words of given sentence using split method.  Now extract first character of first word and check if it … Continue reading Frequently Asked Java Program 24: Java Program to Capitalize First Character of Each Word in a String Sentence

Hello Folks, Previously, I had published on Handling StaleElementReferenceException using PageFactory. But many people asked how to handle it if they do not use Page Factory design pattern. Understand StaleElementReferenceException through an image: You would have seen so many explanations of StaleElementReferenceException. I would like to explain in very simple words here. You mostly encounter StaleElementReferenceException when you … Continue reading Ways of Handling StaleElementReferenceException Without PageFactory

Hello Guys, As I say always, your automation script is ineffective if you do not include logic to validate to make sure the desired action has been performed by Selenium script. For Example – You have a dropdown in your application. Manually you verify if dropdown contains desired options or it s sorted. Generally while … Continue reading How to Verify if Options in Dropdown are Sorted as Expected In Selenium WebDriver – Java

“How much Java I need to learn for selenium with Java binding?” is mostly asked question by a Professional who wants to learn Selenium with Java. If you want to put a cap on knowledge, you will be always an average knowledgeable professional. Selenium with Java binding is a Java library which means it has … Continue reading How Much Java Required For Selenium?

Hello Guys, You should not be able to type alphabets or special characters in a field which supposed to accept only numbers. Manually you can type alphabets or special characters and verify. But in automation it is little tricky. Your application developer might restrict alphabets and special characters by setting value of “type” attribute of input … Continue reading How To Verify If An Input Box Accepts Only Numbers Through Selenium

Hello Folks, Recently a guy asked me this question which he was asked in an interview in IBM. What the ways to test maximum character limit of an input box through Selenium? To achieve this in Selenium, we have two ways: Suppose maximum character limit of an input box is 10 characters. Type more than … Continue reading How To Verify Maximum Character Limit of an Input Box Through Selenium

Hello Folks, As part of our API Testing series, we will see “Sending GET request with params in Postman”. In last post, we saw how can we send a GET request to list all users. It simply list all users. What if we want to list users based on some conditions? For E.g. List all users whose … Continue reading Postman Tutorial Part 4 – Sending GET Request With Params in Postman

We have learnt in previous posts regarding establishing relationship between test methods. You can go through them below: Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnMethod Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnGroup Before we learn about types of dependencies in TestNG, lets see one scenario first: If … Continue reading TestNG Tutorials 62: Dependency in TestNG – Types of Dependencies in TestNG – Hard Dependency & Soft Dependency

In previous post, We have learnt to Establish dependency among test methods. In this post, we will see another concept in Dependency called DependsOnGroup. Consider a scenario: You have created automation scripts for Integration testing. We know that in integration testing, data flows from one module to another. You divide your test methods as per group. … Continue reading TestNG Tutorials 61: Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnGroup

We are going to see another important concept or feature provided by TestNG. This feature is called as Dependency. Suppose, we need to post a status on Facebook. Let’s write a Test Case for it: Step 1: Launch browser. Step 2: Launch Facebook url. Step 3: Create an account on Facebook. Step 4: Post a … Continue reading TestNG Tutorials 60: Dependency in TestNG – Creating Dependency Among Test Methods – DependsOnMethod

Uncategorized

Post navigation

Previous Post: Make Selenium Easy – Page 17
Next Post: Make Selenium Easy – Page 23

Related Posts

image – Make Selenium Easy Uncategorized
March 28, 2018 – Make Selenium Easy Uncategorized
Runcon – Make Selenium Easy Uncategorized
Generate random numbers using Javafaker API – Java Uncategorized
April 22, 2018 – Make Selenium Easy Uncategorized
Introduction To Karate – A Unified Framework for API test-automation, mocks, performance-testing, and UI automation 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