Check if Scroll Bar is available in Page Selenium WebDriver N B 3/30/2018 07:06:00 pm 0 package test; import java.util.ArrayList; import java.util.List; import org.openqa.selenium.JavascriptExecutor; import org.openqa.se... Read more »
Interface vs Abstract Class N B 3/30/2018 07:05:00 pm 0 Interface If we know requirement clearly but we are not sure about the implementation then we should go for interface. Very Important... Read more »
String Buffer and String Builder N B 3/30/2018 07:03:00 pm 0 The StringBuffer and StringBuilder classes are used when there is a necessity to make a lot of modifications to Strings of character... Read more »
Open URL through Selenium without using get() and navigate() functions N B 3/30/2018 07:03:00 pm 0 package mypackage; import java.io.IOException; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.open... Read more »
How To Catch Javascript Errors through Selenium N B 3/30/2018 06:55:00 pm 0 We need to download JAR File from here https://github.com/mguillem/JSErrorCollector/blob/master/dist/JSErrorCollector-0.6.jar package... Read more »
Minimize Window in Selenium N B 3/30/2018 06:53:00 pm 0 Unfortunately, Selenium do not provide any built-in function for minimizing the browser window, there is only function for maximizing the w... Read more »
ConcurrentModificationException in ArrayList N B 3/30/2018 06:52:00 pm 0 This generally comes when use for each loop Example package mypackage; import java.util.ArrayList; import java.util.List; public c... Read more »
Singleton Class in Java and How To Use in Selenium N B 3/30/2018 06:31:00 pm 0 A class for which we can create only one Object as the name itself suggests its a singleton Class Runtime is a singleton class We dont... Read more »
Hard dependencies vs Soft dependencies (TestNG) N B 3/30/2018 06:14:00 pm 0 Let us say test1 method depends on test2 method. Hard dependencies In this type of dependency, if test2 fails, test1 is not executed an... Read more »
HTTP Status codes while accessing API N B 3/30/2018 05:47:00 pm 0 2xx Success 200 OK GET The request has succeeded. 201: POST: which means CREATED. Meaning *The request has been fulfilled and resu... Read more »