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
Best Practices For Evaluating Automation Tool
With rapidly changing financial conditions, businesses face the tough challenge of optimizing resources to produce maximum results....
HOW-TO'S
How To Change Your Default Linux Shell
The shell is a program that accepts and interprets commands. Besides bash, Linux supports many other shell...
NFT AUTOMATION
How To Do API Testing with JMeter
Introduction Application Programming Interface is a very popular term among developers. It is simply a request provider that...
PROGRAMMING
VBS Part 1 – Introduction and Background
At the upfront, this theoretical article might look boring to most of us but still, it is...
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...
Convert String to Date Using java.util.Calendar
The java.util.Calendar class also encapsulates a date. The Calendar class has some more features than the java.util.Date class. It provides the ability to extract the day, month, year, and other fields corresponding to the date that the Calendar represents. So, sometimes, you may need to convert a String date to a Calendar instance. For this, you first need to...
Convert String to Date Using SimpleDateFormat Class
Sometimes, you may need to convert a String to a java.util.Date object. For this, you need to use the SimpleDateFormat class. You need to specify the format in which the String date is present and invoke the parse method. The following code demonstrates how this can be done: 9511d34805f97b537363b6106339b495 This code creates a SimpleDateFormat instance. Since the input date is in...
Java Tutorial #4 – Control Statements
Introduction Control statements are used to change the flow of execution based on changes to certain variables in the code. One of the types of control statements are the selection statements or decision statements. These should be used when you want to check some condition and take a decision based on the condition. Java supports the if and switch statement...
CODE SNIPPETS | CODEX
How-To VBScript
How To Write Windows Environment Variables With VBScript
This is in continuation to the last post where we saw how to read windows environment variables using...
Java Gists
Convert List to Array Using Stream with Param
There is an overloaded version of the Stream.toArray method which can be used to return a result array...
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...
ÂÂ



