WEBLOG
How To Change Font for Eclipse Editor Pane
This article shows how to change the text size and style for the Eclipse editor pane. The font used for Eclipse editor pane can be customized with font preference. This preference is located under "Basic" settings and can be found in Window > Preferences > General > Appearance > Colors and Fonts. Open Eclipse Preferences Open the Eclipse Preferences via Window...
Types of Linux Shell Sessions
(A) Login Shell A login shell is a shell where you login, either via the terminal or via SSH. If the user first logs in into a terminal session or SSH via authentication, such a shell session will be considered as a login shell. In other words, a login session is a shell session that starts by authenticating or identifying the user. Login...
How To Create Maven Project in Eclipse Without Archetype
Maven is a very popular build and dependency management tool. Eclipse is an IDE that helps developers write and run Java code easily. In this article, I will be explaining how you can create a Maven project in Eclipse. Maven Basics Maven automates the steps involved in building a software application like adding the JAR files, compiling code, running unit tests,...
How To Create FTP Test Plan in JMeter
About File Transfer Protocol File Transfer Protocol is a widely used standard network protocol for FIle sharing between a client and server in the same network. FTP Server functions with a TCP/IP network. All the client connections are established by switching ON an FTP server. We are using FileZilla which is a free open source FTP and FTPS server for file...
How To Find Broken Links with Selenium
What is a broken link? Links are used for navigating between webpages. Users are directed to a web page when they click or type a link on a web browser. So a broken link indicates a link that is not working. In other words, it will not navigate the user properly to the requested web page. It happens due to...
Configuring Maven Compiler Plugin (Java)
1. What is Maven Compiler Plugin The ‘Maven Compiler Plugin’ or more commonly known as 'Maven Java Compiler' is used to compile the source code of your project/application. Internally this plugin uses the standard 'javac' compiler (JDK) and as of version 3.0 of this plugin the default compiler is javax.tools.JavaCompiler Unlike other Maven plugins, the ‘maven compiler plugin’ is ‘in-built’ and...
HomeWeblog
FT AUTOMATION
Finding Web Elements with Selenium
I'm going to explain in this tutorial about the usage of the findElement and findElements method of...
HOW-TO'S
How To Sort List in Java
Introduction A List is an interface in the Java collection framework. It can be used to store objects....
NFT AUTOMATION
Working with JMeter Listeners
About Listeners Listeners are used for displaying test results in JMeter. Listeners allow system engineers to analyze the...
PROGRAMMING
Concatenate Strings Using Plus Operator
In Java, a String is a sequence of characters. There are often programming situations where you will...
Format Decimal Numbers Using Pattern
The java.text.DecimalFormat class is used to format numbers using a user specified formatting. This concrete subclass of NumberFormat, allows formatting decimal numbers via predefined patterns specified as String. It has a variety of features designed to make it possible to parse and format numbers in any locale The following example shows formatting decimal numbers using various string patterns: 4c8d7923a6dcd7cdc6ac489ba6c59bdc The above code...
Java Tutorial #7 Part 1 – Classes & Objects
Classes are a very important concept in Java. Java code always needs to be written in a class. In this article, we will be taking a very close look at classes and understanding their syntax and semantics. Classes and objects A class defines a new data type. Once defined, this new type can be used to create objects of that type....
How To Use Mouse and Keyboard Events with Selenium
In this tutorial, we will discuss how to use mouse click events and keyboard events with Selenium WebDriver. The mouse click and keyboard events are used to automate the interactions of a user with a mouse and keyboard. Action & Actions We encourage the use of Action and Actions together with the keyboard and mouse events. Action & Actions are user-facing...
Java Tutorial #6 – Jump Statements
Introduction The break statement is used to stop further execution. It can be used either in a loop or within a switch statement. Break Statement The break statement is used to stop further execution. It can be used either in a loop or within a switch statement. Break in a loop When the break statement is used within a loop, it terminates the loop....
Convert String to java.time.LocalDate with Formatter
The LocalDate class has an overloaded parse() method. In addition to the String Date, it accepts a DateTimeFormatter instance that specifies the format of the input date. So, this can be used in case the String date is not in the yyyy-MM-dd format. The following code demonstrates this: The following code demonstrates this: dad430fbf471a3357dc0f4be9a99dfdd In this case, the String date is in the dd/MM/YYYY format. A...
Convert String to java.time.LocalDate without Formatter
The LocalDate class has a parse method. You can use this to convert a String to a LocalDate. So, this code simply invokes the parse method with the String date object. It prints the following output: 2015-06-12. The following code demonstrates this: cd2973313a135357d0890b0ba8152680 The LocalDate.parse() method requires the String date to be in the yyyy-MM-dd format. If the String date is in some...
Java Tutorial #5 – Loop Statements
Iteration statements are used to repeat a particular block of code until a certain condition is true. In this article, we will be taking a look at Java’s iteration statements. While Statement The while statement repeats a block of code as long as a condition is true. Syntax A while statement has the following syntax: while (condition){ //body of the loop } The while keyword is followed...
CODE SNIPPETS | CODEX
Java Gists
Convert List to Array Using For-Loop
The simplest way to convert a List to an array is to use a for-loop. The following code...
How-To VBScript
How To Auto-launch VBscript with Elevated Privileges
For cases when you need to execute a VBS script (*.vbs file) as admin with elevated privileges you...
How-To Git
How To Install Pacman For Git on Windows
The 'Git for Windows' by default does not come with MSYS2 package manager called 'Pacman' and hence it...
ÂÂ



