WEBLOG
Getting Started With Atlassian Jira
Jira is one of the best software used for agile development. It is built for a better team contribution and to deliver an amazing product. Your Team members can plan and track the whole work and release a winning software. You will be guided to get a start with Jira with this tutorial. What can you do with Jira? Plan -...
Getting Started With Hibernate
Introduction Hibernate is a framework which allows you to access database tables from Java code. Before Hibernate came into existence, JDBC was widely used. JDBC is an API to access a relational database from a java program. JDBC basically allows you to execute SQL statements from Java code, so any SQL statement which you can run on a database directly,...
How To Sort List in Java
Introduction A List is an interface in the Java collection framework. It can be used to store objects. Programmers often encounter scenarios where they need to sort a List. There are several ways you can achieve this. In the next few sections, I will be going over each method in detail. 1. Using Collections.sort The Collection framework has the java.util.Collections class. This...
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 is a limited version or subset of the MSYS2. Also the bash which supplied wih Git for Windows is not a full version of bash hence does not provide for full Linux environment. Given below is the easiest method (bullet 3...
How To Convert String To Date in Java
Introduction There are often scenarios in programming, where you will need to convert a date in String format to an actual Date object. For example, such a scenario may occur when the date is read from an end user via a UI and sent to the back-end code. In this article, we will understand the different ways in which you...
How To Concatenate Strings in Java
Introduction In Java, a String is a sequence of characters. There are often programming situations where you will need to concatenate Strings. There are several ways in which you can achieve this. In the next few sections, I will be going over each method in detail. Using + Operator The + operator is also known as the concatenation operator. It can be...
HomeWeblog
FT AUTOMATION
Desired Capabilities in Selenium Web Driver
1. Desired Capabilities in Selenium The performance of a Web application may vary according to different browsers and...
HOW-TO'S
How To Do Database Testing with JMeter
Introduction In this 'How-To', You will be guided to perform a database load test using JMeter. We will...
NFT AUTOMATION
A Prologue For HP Load Runner
Performance testing is one of the important processes of the software QA segment. While the application is...
PROGRAMMING
Convert List to Array Using ToArray Without Param
Java provides a toArray method on the 'List' interface. This can be used to convert a 'List'...
Concatenate Strings Using StringBuilder.append()
In addition to String, Java has the java.lang.StringBuffer and java.lang.StringBuilder classes. These can also be used to concatenate Strings. The advantage of these classes is that both these classes are mutable, so using them does not result in the creation of new String objects. So StringBuffer and StringBuilder have a better performance as compared to the + operator...
Concatenate Strings Using StringBuffer.append()
In addition to String, Java has the java.lang.StringBuffer and java.lang.StringBuilder classes. These can also be used to concatenate Strings. The advantage of these classes is that both these classes are mutable, so using them does not result in the creation of new String objects. So StringBuffer and StringBuilder have a better performance as compared to the + operator...
Concatenate Strings Using String.concat()
The String class has a method called concat. It accepts as parameter a String value and concatenates it with the current String. The following code demonstrates this: As before, this code creates string1 and string2. It then invokes the concat() method on string1 and passes string2 as an argument. So, this code also prints the same output as before: ...
Concatenate Strings Using Plus Operator
In Java, a String is a sequence of characters. There are often programming situations where you will need to concatenate Strings. There are several ways in which you can achieve this. The + operator is also known as the concatenation operator. It can be used to concatenate Strings. The following code demonstrates this: This code creates two Strings called string1...
Working with Selenium WebElements
Table of Contents 1. Selenium WebElements 2. WebElement Locators 3. Working With Text Box 4. Working With Buttons 5. Checkboxes and Radio Buttons 6. Selecting from Drop-Downs 7. File Uploads 8. Locating Links 9. Summary In our previous tutorial, Getting Started with Selenium WebDriver, we discussed the way to set up the environment for automating testing using Selenium and wrote...
Remove Duplicates from List Using Stream
Java 8 has added the Stream API that helps to easily perform bulk operations on Collections. A new method called stream() method has been added to all the collection interfaces that returns a Stream corresponding to the underlying collection. The Stream interface has a method called distinct that can be used to eliminate duplicates. The following code demonstrates...
Java Tutorial #2 – Operators in Java
Table of Contents Introduction 1. Assignment Operator 2. Arithmetic Operators 3. Compound Operators 4. Increment & Decrement Operators 5. Relational Operators 6. Logical Operators Introduction Operators are an essential part of any programming language. In-fact it is not possible not to write a decent piece of code without making use of 'Operators'. Java operators can be categorized mainly into arithmetic, relational and logical operators....
CODE SNIPPETS | CODEX
How-To VBScript
How To Load XML File into DOM Using MSXML
Microsoft XML Core Services (MSXML) provides two methods for loading XML documents into the Document Object Model (DOM)...
How-To Git
How To Customize GitBash For Windows
By default the GitBash prompt settings / configuration come from shell script called 'git-prompt.sh'. This is usually hosted...
Java Gists
Format Decimal Numbers using Strings Within Pattern
As mentioned in earlier posts, the java.text.DecimalFormat class is used to format decimal numbers via predefined patterns specified...
ÂÂ



