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
Automation Tools Comparison (SilkTest vs QTP vs Selenium)
While manual testing and automated testing go hand in hand, one of the important benefits of automated...
HOW-TO'S
How To Change Apache Http & SSL Ports in XAMPP
Why change Apache Port By Default, Apache runs HTTP on port 80 and SSL on port 443 in...
NFT AUTOMATION
Getting Started with Apache JMeter
1. Introduction As a developer, you may have tested the functionality of your code hundreds of times during...
PROGRAMMING
Create Basic Hibernate Program
Hibernate is an ORM framework that helps in accessing database tables from Java code. It is an...
A Prologue For HP Load Runner
Performance testing is one of the important processes of the software QA segment. While the application is efficiently designed and tested for functionality, it might lack the power to accommodate thousands of concurrent users. Performance testing gauges the actual potentiality of an application. It replicates a scenario wherein thousands of concurrent users are running the application and thereby calculates...
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,...
CODE SNIPPETS | CODEX
Java Gists
Concatenate Strings Using Plus Operator
In Java, a String is a sequence of characters. There are often programming situations where you will need...
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)...
Java Gists
Remove Duplicates from List Using HashSet
The Set is also an interface in the 'Java Collection' framework. Unlike a List, a Set does...
ÂÂ



