WEBLOG
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...
Java Tutorial #3 – Java Arrays
Table of Contents One Dimensional Array Declaring Array Allocting Memory to Array Accessing Array Elements Initializing Array Length of Array Multi Dimensional Array Creating 3 Dimensional Array Introduction Arrays are used to store a group of values of the same data type. So a single variable can be used to refer to the group of values. Arrays can store data of any...
Concatenate Strings Using String Joiner
Java 8 has added a new class called StringJoiner. This concatenates Strings using a delimiter as well as adds a prefix and suffix to the concatenated String. Performance-wise, it is similar to StringBuffer.append, but it has the added advantage that it automatically adds a delimiter, prefix and suffix. The following code demonstrates how the StringJoiner class can be used to...
Concatenate Strings Using String.join() for Collections
There is an overloaded version of the String.join method that accepts as parameter an Iterable implementation. Since all Collection classes implement the Iterable interface, this method can be used to concatenate all the elements in a Collection. The following code demonstrates this: This code creates a List of String values and passes this List to the String.join method with a...
Finding Web Elements with Selenium
I'm going to explain in this tutorial about the usage of the findElement and findElements method of Selenium Webdriver on the Chrome web browser. The findElement method is used when you want to deal with one HTML element on a website. On the other hand, the findElements method is used when you want to deal with more than one...
Concatenate Strings Using String.join()
Java 8 has added a static join method to the String class. This concatenates Strings using a delimiter. Performance wise, it is similar to StringBuffer.append, but it has the added advantage that it automatically adds a delimiter. As before, this code creates string1 and string2. It invokes the join method with these Strings and specifies space (“ “) as...
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 Do API Testing with JMeter
Introduction Application Programming Interface is a very popular term among developers. It is simply a request provider that...
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
Configuring Maven Compiler Plugin (Java)
1. What is Maven Compiler Plugin The ‘Maven Compiler Plugin’ or more commonly known as 'Maven Java Compiler'...
Performance Testing on Firewall-Protected Networks
HP Load Runner is the most popular tool from HP for performance, load and stress testing tasks. Using the LR, you can check different aspects of performance testing on a native system or a remote system. However, remote networks are always behind a firewall. When a firewall is used, it blocks the commonly used port 80. So, the LR controller...
Essentials of Typical QTP/UFT Framework
Table of Contents Essentials 1: Test Artefacts Repository Essentials 2: Error Handling and Recovery Essentials 3: Object Identification Method Essentials 4: Test Data Management Essentials 5: Result and Error Reporting Essentials 6: Function Libraries Repository As we discussed the types of QTP/UFT frameworks earlier in our post 'Traditional Framework Definitions'. In continuation of that, this article talks about the ‘essential components of a typical framework. Irrespective...
How To Create The Right Software QA Strategy
QA Tushar Sharma - 0
In today’s highly competitive world, businesses do not get much time to test a product before releasing it into the market. With the competitor’s product out in the market, you have to quick-fire your production to provide an innovative set of features or updates. Studies reveal that most of the companies spend ½ of the project budget on testing. To...
QA Challenges in Mobile App Testing
QA Tushar Sharma - 0
Mobile application testing is always challenging. Smaller footprints, numerous types of devices and changing technologies are some of the factors that make it a complex task. With the increased use of mobile apps everywhere, companies have to ensure that the product works according to expectations and meets the required criteria before launching it. The growing popularity of iPhone and Android...
Review of Test Design Studio 2.0
While QTP offers greater flexibility to automate testing procedures, the IDE lacks certain professional features. A QTP license is expensive as well. Test Design Studio 2.0 from Patterson Consulting augments QTP software by providing an intuitive IDE for QTP and WinRunner. While the automated testing performance is enhanced, the price is affordable. Here is a review of the Test Design...
Testing Challenges In Agile Development Model
QA Tushar Sharma - 0
The recent cloud computing revolution has raised the technology bar to a higher standard. While the incorporation of cutting edge technologies into business processes has improved the efficiency of software products, shrinking IT budgets have resulted in optimized software development strategies. The new innovation in the software development segment is DevOps. This innovative software development methodology integrates the development teams...
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...
CODE SNIPPETS | CODEX
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...
How-To PowerShell
How To Install Oh-My-Posh On Windows PowerShell
Oh-My-Posh is a powerful custom prompt engine for any shell that has the ability to adjust the prompt...
Java Gists
Format Decimal Numbers Using Format Symbols
You can customize which symbols are used as decimal separator, grouping separator, currency seperator etc. using a DecimalFormatSymbols...
ÂÂ



