During UI test automation you will need to write tests that validate the options that are present in a select tag. Getting all the options in the select tag is very simple using Selenium Webdriver and below is how it is done. 1. In the page object model of the page you create a WebElement… Read more »
Posts By: admin
Using a CSV file for login credentials and extracting the token from the response when running JMeter tests
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
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
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?
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 »