WEBLOG
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...
HomeWeblog
FT AUTOMATION
Review of Test Design Studio 2.0
While QTP offers greater flexibility to automate testing procedures, the IDE lacks certain professional features. A QTP...
HOW-TO'S
Getting Started With Atlassian Jira
Jira is one of the best software used for agile development. It is built for a better...
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
COM Components and Scripting Process
Although this article should not concern you at all as a 'script developer' as long as you...
Common Errors with QTP/UFT – Part 2
Welcome to the second and final part of this series on 'Common Errors for QTP/UFT'! Earlier, we discussed about some of the 'Common QTP/UFT Installation Issues'. In this post however we shall be discussing some assorted issues which you may face, when using both QTP/UFT and 'JAVA' related tools and software (e.g. JDK, Eclipse IDE), on the same machine. This...
A Brief Review Of WATIR
WATIR stands for 'Web Testing Application in Ruby'. It is an OLE-based testing application that automates your browser using Ruby libraries. Here are some of the pros and cons of Watir in brief at first glance. Functionality of Watir Watir takes advantage of the built-in OLE capabilities of Ruby to automate browsers. Normally, HTTP-based tools create a browser simulator for a...
Anti Malware File For Testing System Security
With ever-growing malware, it is inevitable to protect your system with the right anti-virus solution. However, you have to constantly monitor the performance of your anti-virus program as well. You never know when your security program can be infected. Malware normally target the anti-virus program first. To know if your anti-virus program is working fine, you need to take the...
An Overview Of Unit Testing
With an increased need for an agile and optimized project development system, programmers have a tough time dealing with the code and making it error-free. Unit testing is a nice option for programmers to create applications with minimal errors. Be it unit testing or integrating testing, businesses need to ensure that an application offers nice and useful features and at...
Virtualization Challenges with Resource-Intensive Apps
Today, virtualization has become a part of every IT infrastructure. Right from server virtualization to desktop virtualization, every resource can be virtually created to leverage available resources. While data centers are first things that are virtualized, companies have a second thought when it comes to virtualized business-critical applications. Today, the internet is full of praises for this innovative concept....
HP Quality Center vs Productivity Challenges
While the internet has revolutionized the technology, the innovation hasn’t stopped yet. As technology keeps innovating, there arises a greater need for an efficient testing system that can streamline the innovation. HP has been a leader in the testing market with products like QTP, UFT and Quality Center. The HP Quality Center (QC), being a commercial test management tool by...
Traditional Framework Definitions (QTP)
Over the years Functional Test Automation has come a long way from WinRunner to QTP and until ALM. The tools have evolved to a great extent in terms of enhanced functionality, look and feel and inclusion of support for new technologies, etc. The competition between some market-leading tools like Silk Test, and QTP including freeware communities like Selenium led...
CODE SNIPPETS | CODEX
Git
Common Git Commands Reference
Git is the most popular distributed version control system which is currently an actively maintained open-source project. Git...
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...
Java Gists
Concatenate Strings Using String.join()
Java 8 has added a static join method to the String class. This concatenates Strings using a delimiter....
ÂÂ



