WEBLOG
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....
Convert List to Array Using ToArray With Param
There is an overloaded version of the toArray method. This accepts an array as a parameter and returns a result array that is of the same data type as the input array. So basically, this toArray method can be used to obtain an array that is of the same data type as the input List instead of an object array. The...
How To Record Using BlazeMeter Plugin (JMeter)
Honestly speaking if you already have a mature or established process using 'native' JMeter from Apache, without any kind of wrappers utilities or third-party tools then this article is of little value to you. However, there are many companies and/or projects out there who may employ some wrappers or third-party tools, plugins etc. around JMeter, in order to ease out...
Remove Duplicates from List Using Set.addAll
The Set interface has a method called addAll. This accepts a 'Collection' as the parameter. So if you invoke this method by passing the 'List', the duplicates will be eliminated. The following code snippet demonstrates this method. Here, a new LinkedHashSet is created and the addAll method is invoked by passing the List as input. So this will automatically create...
How To Remove Duplicates From List in Java
Introduction A List is an interface in the Java collection framework which can be used to store a group of objects. A List is ordered and it allows duplicates. However, there are often scenarios where you would need to eliminate duplicate elements from a List. There are several ways you can achieve this. In the next few sections, I will be...
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' to an array. Since there are are two overloaded versions, one of these method is explained below. This toArray method does not accept any input parameters. It returns an object array. The following code snippet demonstrates this approach. Here, the toArray method is...
HomeWeblog
FT AUTOMATION
Working with Selenium WebElements
Table of Contents 1. Selenium WebElements 2. WebElement Locators 3. Working With Text Box 4. Working With...
HOW-TO'S
How To Convert List To Array in Java
A common scenario faced by programmers is to convert a Java List to an Array. A 'List'...
NFT AUTOMATION
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...
PROGRAMMING
Java Tutorial #3 – Java Arrays
Table of Contents One Dimensional Array Declaring Array Allocting Memory to Array Accessing Array Elements Initializing Array Length...
Virtualization is Going To Stay!
Cloud computing and Virtualization are two terms that have become an inevitable part of most business networks. While virtualization is not a new concept, the cloud computing revolution has brought this technology into limelight. Today, most of the US and UK markets has already embraced the innovation and Asia Pacific countries are not behind either. The usage of cloud...
Significance Of Regression Testing
QA Tushar Sharma - 0
In today’s highly competitive world, there is little scope for errors. To stay ahead of the competition, companies need to maintain higher quality standards while developing software products and the QA team has a greater role to play. There are several best software testing practices that can improve the quality of a product and Regression testing is an important...
Early Bound Vs Late Bound (Binding)
What is Binding Before we dive into 'Early' and 'Late' stuff, let us discover, what the 'Binding' itself means? In simple terms, the 'Binding' refers to the way a script or an application accesses a COM Automation object. This is manifested as the association of entities such as data, program, procedures etc. with identifiers. It is done when the application is compiled...
Does VBScript Supports all COM Objects ?
Well the answer in one line is - No VBScript does not supports all COM Objects or Servers! VBScript works with only a subset of ‘Objects’ knows as ‘Automation Objects‘. As per the official literature, ‘All COM objects must support one or more interfaces, which are simply the avenues by which a COM client can access a COM server. Any object...
COM Components and Scripting Process
Although this article should not concern you at all as a 'script developer' as long as you are aware of creating a reference to 'Automation Objects' but for people with an appetite to look behind the scenes, it is quite recommended! Moreover it is always useful to know what, indeed happens when you are creating an instance of any...
Interpreted Vs Compiled Languages
This is based on an excerpt from one of my favourite literature on VBScript and in fact, is quite relevant with respect to one of the earlier post - 'Fundamentals and Concepts'Â posted under VBS tutorials. Since we know that at some point, every language needs to be converted into machine-readable commands (binary) for the machine to understand and execute it,...
VBS Part 2 – Fundamentals and Concepts
Having gone through the Introductory part, it is time to look at some crucial fundamentals and concepts. This article is to refresh some of the key facts and features of VBScript. In the least, you should consider the following six points for developing a fundamental understanding of VBScript. Though we will cover these concepts in depth along with examples in...
CODE SNIPPETS | CODEX
Java Gists
Remove Duplicates from List Using For-Loop
The simplest way to remove duplicates from a 'List' is to use a for-loop. The following code snippet...
Maven
How To Create Maven Project Using Command Line
Maven project can be easily created using built-in plugins from the popular IDEs such as Eclipse and IntelliJ...
Linux Gists
CronTab Basic Commands With Examples
Cron is a time-based job scheduler in Unix-like operating systems, which is used to automate repetitive tasks. It...
ÂÂ



