Filed under Selenium WebDriver, Test Automation, UI Testing.

If you want to open a new tab in the browser with Selenium WebDriver and Java, below we’ve listed some working examples. Have in mind that at the moment, Selenium WebDriver has no build-in ability to open new tabs or new windows, and because of this we have to force the browser to open the links in new tabs or in new windows. This may be implemented in a later version of Selenium WebDriver.

1. Open an existent link a a new tab using Selenium WebDriver and Actions

More details on how to locate web elements with Selenium WebDriver.

//identify the link in the page, that you want to open in a new tab of your browser's instance
WebElement link = driver.findElement(By.cssSelector(linkLocator));

//this action will click the WebElement with the link identified above, hold CONTROL Key (or COMMAND if you're using Mac), click the WebElement and relese the Keys.CONTROL (use Keys.COMMAND if you're using Mac).
new Actions(driver)

The code above works in all browsers.

2. Open an existent link a a new tab using Selenium WebDriver with CONTROL/COMMAND Key and T

There is also another option that may not work in Chrome browsers at the moment because of a limitation in the way keyboard inputs are simulated in ChromeDriver. Keys are sent directly to the render process, so any keyboard shortcut in the browser process will not be invoked by sendKeys() method.

String selectLinkOpeninNewTab = Keys.chord(Keys.CONTROL,"t");

Keys chord(CharSequence… value) method – Simulates pressing many keys at once in a “chord”. Takes a sequence of Keys.XXXX or strings; appends each of the values to a string, and adds the chord termination key (Keys.NULL) and returns the resultant string. Note: When the low-level webdriver key handlers see Keys.NULL, active modifier keys (CTRL/ALT/SHIFT/etc) release via a keyup event.

The code below will open the link in new Tab.



Then when you open a new tab in your browser, you have to switch to it to be able to work with the newly opened tab’s elements:

How fast is your website comparing to your competitor’s? Check now!

Filed under Load Testing, Performance Testing, Test Automation.

If you ever asked yourself “What is the difference between Performance Testing and Load Testing”, below are listed some of the main characteristics of Performance Testing and Load Testing, and how are they different from one another.

What is Performance Testing?

Performance Testing represents the characteristics of a system, how fast is that system, in general it refers to the tests undertaken to determine how that system behaves and performs.

Prerequisites for Performance Testing

We need to have clearly defined goals before starting any performance tests. The goals defined will help us if after getting the performance tests results there is a need for system improvement.

Performance Testing Results

After running performance tests, you need to inspect the metrics like response and latency times, hits per second, throughput per second, errors (client side metrics) and CPU, Memory, I/O (server side metrics) for the system tested.

Performance Testing Goals

Set a base line for the system under test for future releases and potential improvement of the system. It helps to identify potential bottlenecks, that can be found at different levels: system level (client and server side), DB level, network level. is a All-In-One Cloud Testing Platform for Load Testing and Performance Testing, Website Speed Testing, Automated Website Testing and Mobile Emulation for Websites, Mobile Applications and API Endpoints.

Filed under Selenium WebDriver, Test Automation.

We’ve created an Online Courses platform for each one of you who wants to learn something new in 2017. We’ve added video courses which will help you go from no testing knowledge to becoming a proficient automated tester, with loads of knowledge regarding setting up automation framework, to creating good UI functional tests and structuring your projects in a maintainable way.

Here are the steps that we recommend, in order to go from novice to a professional automation tester:


The Ultimate Selenium WebDriver Testing & Hands-on Guide (£100)Selenium WebDriver training


Ultimate Selenium WebDriver Testing & Hands-on Guide is a step-by-step interactive session that will handhold you all the way to understand software architecture, what should / should not be tested and where you should start.



Video Course on How to Select a Dropdown in Selenium WebDriverdropdown element online course


Highlights all possibilities available to interact with a dropdown element with Selenium WebDriver, and it covers just the right amount of dropdown interaction details which are needed for automation.




Best Ways on How to Find XPath for Web Elements in Chrome andxpath online course

Firefox Browsers (£15)


XPath Online Course is a comprehensive, yet simple course and it concentrates on identifying XPath for web elements in an very effective way.




How To Write Faster Selenium WebDriver Tests (£10)faster webdriver tests online course

How To Write Faster Selenium WebDriver Tests video course concentrates on best practices for identifying ways to improve your automated tests.



Jenkins CI Installation and Deployment on Mac and Ubuntujenkins online course

(hands-on video course) (£28)


Create, configure your first Jenkins job, and run it (debugging results and console logs are also provided)




Learn JMETER from Scratch for Performance Testing andjmeter online course

Load Testing (Hands-On Guide) (£48)


Apache JMeter Load Testing Online Course is a hands-on, yet simple course and it concentrates on identifying starting to use Apache JMeter to load test any website or web service.



With the above online video courses you’ll get enough knowledge to start your journey into becoming a better tester, more efficient and with loads of hands-on knowledge.

The online video courses are provided by LoadFocus Courses platform.

Filed under Test Automation.

We are already in the new year, and we have greater hopes and expectations comparing to the previous one.

There is no better time to start thinking of your personal development and setting up new goals for 2017.

Here is a list of online testing courses that’ll help you develop in new areas, improve your testing skill and be more effective and efficient at your daily job:

The online video courses are provided by LoadFocus Courses platform.

Filed under Test Automation.

While testing different applications you will get to the need of testing the following scenario:

The user is opening the application, clicks the Overview button which sends the application
to background and reopens the application by choosing it from the recent used application.

To be able to do that you need to know how to implement two important actions:
1. Click the Overview button which send the application to background; for doing this you can use the following
code snippet written in Java:

    public void clickOverviewButton(){

Hope this helps with your daily testing tasks. Details on how to use the Overview, Home and Back buttons in Appium for Android

Filed under Selenium WebDriver, Test Automation.

We’re pulling back the curtain on how we came with the idea for what we consider “The Ultimate Selenium WebDriver Testing & Hands-on Guide”

In the previous two years we’ve managed to post dozens of interesting new articles on our blog, and the increasing number of visitors prove that we are creating compelling and quality content.

Our main area of focus are testing articles on how to use Selenium WebDriver, Apache JMeter, LoadFocus and other testing tips and tricks.


Some of our most successful articles are listed below:


At the beginning, we were trying to promote LoadFocus as a Cloud Testing Framework, but our marketing efforts were failing, and nobody was actually visiting our website or signing up for our cloud service.

Then we stepped back and thought we really need to think about what can we do to drive more traffic to our blog and service.

So we started creating blog post with interesting, complete and quality content related to Automated Functional Testing with Selenium WebDriver. We also created our own Automated Website Testing service provided by LoadFocus.

We’ve added a list of how to’s articles on how to locate elements with Selenium WebDriver, how to take a screenshot with Selenium WebDriver, how to wait for an web element with Selenium WebDriver, how to select a dropdown, how to use explicit and implicit waits and timeouts and more other interesting topics.

The only difference is that all the articles we’ve written come from our own pain points, and we’ve trying to provide the FULL information related to the topic, with no need to go anywhere else to search for an answer to your questions. Working examples are present in most of our blog posts and we update them once we get a new update.

So, in the past couple of weeks, we came with the idea, to create our own Online Course – “The Ultimate Selenium WebDriver Testing & Hands-on Guide”. We like to call it “Ultimate”, since we believe it’s going to be something different from what’s there on the market, something easier and faster for you to learn. Instead of watching 100 or 200 hours of Online Courses, we try to compress ours in just 5 hours.

We created the Online Course presentation page, and we decided on the most important things to get discussed and we’ve generated our first curriculum.

Hope you’ll enjoy it, and have a look at “The Ultimate Selenium WebDriver Testing & Hands-on Guide”.

Filed under Selenium WebDriver, Test Automation, UI Testing.

Today we are announcing our new live online training session “The Ultimate Selenium WebDriver Testing & Hands-on Guide” which will take place on Saturday, 10th December 2016 – 10:00 UTC Time.

This Revolutionary New Selenium WebDriver training session has a length of 5 hours and is going to be presented in english.

“The Ultimate Selenium WebDriver Testing & Hands-on Guide” is a step-by-step online guide anyone can use to start running automated user interface tests immediately, using proven strategies we’ve used ourselves.
“The Ultimate Selenium WebDriver Testing & Hands-on Guide” is not so much a tutorial as it is a hands-on guide and an interactive session that will handhold you all the way to understanding software architecture, what should / should not be tested and where you should start.

By the time you finish this guide, you will not only have a dozen ideas about different testing strategies to build your own custom automated testing framework, but you’ll know exactly what it takes to implement each one of them and how to use Selenium WebDriver to achieve this goal.

The price of £100 per this live session is a bargain comparing to how much other tutorials cost, and the amount of information you’ll get after this will actually be tremendous. Be one of the few that will know the most important testing tips and tricks which will make you look like a testing guru.


This training is brought to you by – Cloud Testing Platform.