How to scroll web page UP or Down using Selenium WebDriver?

Posted by & filed under Uncategorized.

If you want to scroll the page UP or DOWN with Selenium WebDriver in order to find web elements or make assertions, here are a few way you can do that. How to scroll Page Down using Selenium WebDriver: JavaScript scrollBy() method scrolls the document by the specified number of pixels. Update the second parameter of… Read more »

Using a CSV file for login credentials and extracting the token from the response when running JMeter tests

Posted by & filed under Uncategorized.

In order to extract data from the response with JMeter you need to: have the CSV file with the credentials in a format similar to the one below have JMeter installed JMeterPlugins-Extras installed – installing the plugins is detailed on the following post JMeterPlugins-ExtrasLibs installed – installing the plugins is described on the following post Four… Read more »

How to Measure CPU and Memory while Running a Load Test

Posted by & filed under Uncategorized.

In order to make sure that your application will not break under a heavy load, a web application owner has to perform some basic performance tests. Here are 4 simple steps how to achieve this with LoadFocus load testing tool: Log into your account on the LoadFocus platform Click on the “New Load Test” menu Enter the… Read more »

How to install JMeterPlugins-Extras and JMeterPlugins-ExtrasLibs

Posted by & filed under Uncategorized.

The JMeterPlugins-Extras contains additional plugins for extended testing and complex testing. Also it does not require additional libraries to run. The JmeterPlugins-ExtrasLibs contains additional plugins that do require additional libs to run. How to install : Download from http://jmeter-plugins.org/downloads/file/JMeterPlugins-Extras-1.2.1.zip; in case the link does not work anymore it must be because the version has been updated… Read more »

How to Clear Local Storage using Selenium WebDriver?

Posted by & filed under Uncategorized.

There are two options to interact with browser’s local storage: via javascript by creating your own methods via Selenium WebDriver (starting with version 2.42) if the driver supports it Let’s have a look of how can we use these two options in our Selenium WebDriver tests: 1. Let’s create a LocalStorage class with methods for… Read more »