Spring Bean Scopes Introduction
In Spring, bean scope is defined by it’s type, different types of Spring bean instances can be used in different scenarios. There are totally 5 scope types by default.
Spring Bean Scopes Introduction Read More »
In Spring, bean scope is defined by it’s type, different types of Spring bean instances can be used in different scenarios. There are totally 5 scope types by default.
Spring Bean Scopes Introduction Read More »
If you want to make your java code platform-independent, especially for java file operation, you should know java file separators. There are four separators by default, they are : File.separator, File.separatorChar, File.pathSeparator and File.pathSeparatorChar. We will introduce them one by one.
Java File Separator And Current Working Directory Examples Read More »
Today I will show you how to copy selected row data in one excel file sheet, and save it to another new sheet using Apache POI. If you do not have any knowledge about Apache POI, you can read the article Read / Write Excel Data Using Apache POI first.
Copy Rows Between Excel Sheet Use Apache POI Read More »
When you execute selenium automation testing scripts, there are a lot of times that you want to do something when an event happened. For example: Take screenshots when an exception occurred. Monitor and track the web element status after some action takes place. Log data before or after an action. Log the navigation url to check
WebDriver Event Listener : Take Screenshot On Exception Read More »
There are three methods to open multiple windows or tabs in selenium. Use different webdriver object, each object open one browser. Use one webdriver to open multiple browser windows. Use one webdriver to open multiple tabs. The first method will cost too much resource. So we will only use the last two methods.
Selenium WebDriver: Open Multiple Windows Or Tabs Read More »
This article will tell you how to add the JUnit 5 java library into the eclipse project. It introduces two methods, one is to add the JUnit 5 java library as standalone jar files to the eclipse project, the other is how to add JUnit 5 dependency in pom.xml of the eclipse maven project.
How To Add JUnit 5 Dependency In Pom.xml Read More »
Before writing any java project, you need to install Java Development Kit(JDK) first. I use jdk1.7 in all my selenium webdriver example projects. So you can download jdk1.7 for learning purposes. After you download it, you can follow the below instructions to install it step by step.
Beginner’s Guide For Install JDK( Java Delvelopment Kit) And Eclipse In Windows Read More »
If you need to collect performance data and HTTP web traffic between your browser and a web server. You can use the following method to make the process automatically use selenium webdriver. This article will tell you how to capture network data to a har file in selenium webdriver.
How To Collect Network Traffic Automatically With Selenium WebDriver Read More »
This article will show you how to add the selenium server standalone java library into the eclipse java project and how to import selenium webdriver java jar files into the eclipse maven project.