How to integrate a JUnit4 – Webdriver test into JMeter
JMeter is an open source load testing tool, with many capabilities. One of the many interesting things which can be done is to integrate a webdriver test into a JMeter test suite. Before start make...
View ArticleWebdriver – XPath and CSS selector performance tip
There are cases when using XPath has some advantages over CSS selectors. For example if there is a site where we can select an item only by text because the other type of locators are not clear(id’s...
View ArticleHow to use TestNG with Selenium WebDriver
(The precondition for this tutorial that the Selenium WebDriver is already installed.) Firstly go to TestNG website’s download page, and follow the instructions to install the TestNG plugin to Eclipse....
View ArticleBasic HTTP authentication and Webdriver
I encountered an interesting problem last week. I had to make an automated test scripts on a test site which was protected by Basic HTTP Authentication. I’ll assume that everybody knows how Basic HTTP...
View ArticleParameterized JUnit tests with Selenium WebDriver
With JUnit 4 we’re able to Parameterize the tests. Parameterized tests allow developers to run the same tests over and over again using different values. Now we introduce the way to use the...
View ArticleBrowserstack integration with junit and webdriver
The purpose of this article is to show how easy is to integrate webdriver with architectures on the cloud, in this case with Browserstack. For every new tool the first thing to do is to check out and...
View ArticleHow to count number of images available on a web page then download them...
The simplest way to gather the images from a website is to find them by tagName. First we create a WebElement list with the elements which tagName is ”img”. Then we check the elements to be sure that...
View ArticleBlazeMeter – Work with Selenium Webdriver
It was a long time we wrote about the BlazeMeter and during this time it comes more reliable, easy to use and there are also some new, great tools (Here you can find our latest post about BlazeMeter:...
View ArticleRunning webdriver code in JMeter
With the improvements in technology more and more of the business logic gets executed on the client side and it’s not easy to get a clear picture of the perceivable performance by using pure JMeter...
View ArticleHow to check presence of an element when it disappears in less than 500ms
It can happen that the element you want to check only appears for a fraction of a second. This can produce false failures when the element appears in between the standard 500ms when WebDriver checks...
View Article