Monthly Archives: February 2020

Check if string is empty in java

We can check if string is empty, blank or null using below methods. 1 StringUtils 2. String.length() method 3. isEmpty() method   1. StringUtils: Apache string utility is giving isBlank() method. It is used as below.

  2. String.length(): When a string length is equals to ‘0’ then it is an empty string.

Read More »

Selenium links2

Selenium WebElement actions Navigate commands How to upload file Select dropdown Waits in selenium Mouse-hover actions Handle alerts Common exceptions in selenium TestNG TestNG Annotations