Month: December 2011

Run a test with our free demo

  Today we’ve added a form on the homepage for visitors to try out our service. This simple demo will open the website you’ve entered in Internet Explorer 8 and perform a basic test. It should give you a sense of how easy it is to use our service and test your websites.     Once you entered a website…

Read More »

Creating a Selenium test from scratch

In this blogpost we’ll talk about creating your first Selenium test, running the test on your own computer and then later run it on several browsers at once. It shouldn’t be too hard to follow along, but if you have any questions or remarks, please leave a comment. Prerequisites Before we can create a test, we first need a website…

Read More »

NodeJS support for Selenium testing on TestingBot

Today we’ve added support for NodeJS Selenium testing on our Selenium grid. Installation of our plugin is easy by using NPM (Node Package Manager). To install our plugin, please run: A simple example of a NodeJS test: To read more about our NodeJS plugin, please take a look at our support pages:¬†http://testingbot.com/support/getting-started/nodejs.html The repository of our node.js plugin is located…

Read More »

Taking screenshots with Selenium

As mentioned before on this blog, we use a homemade utility to take screenshots of browser windows. Our tool, built in C#, will take a screenshot of any browser window on Windows. We use the PrintWindow function available in Windows to take a screenshot. You can find our code on GitHub:¬†https://github.com/testingbot/Selenium-Screenshots The way it works is: we changed some Selenium…

Read More »

TestingBot updates

It’s been a busy week on TestingBot, here’s what we did this week: Updated our grid from Selenium 2.15 to 2.16, the changelog reads: Issue 2985 fixed, Calling quit() on the IE Driver in a shutdown hook will kill the JVM. Issue 2958 fixed, Selenium RC fails to close IE HTA after tests (mshta.exe doesn’t get killed) We added raw…

Read More »

Capture Network Traffic with Selenium

Today we’re examining the captureNetworkTraffic selenium command, a little known gem in Selenium’s command list. Selenium offers a feature, captureNetworkTraffic, which allows you to intercept the network traffic as seen by the browser running your test. The response includes headers, status codes, timings and ajax requests. It’s especially useful if you’re debugging requests in your browser. An example on how…

Read More »

Record video of your Selenium Tests

We have just finished optimizing the video recording in our Selenium grid. Implementing this was harder than we thought, so here are some tips on how we implemented this. To create a video, we used AForge’s AviWriter, which makes creating avi videos very easy in C#. We first started off with using C# and Windows’ PrintWindow function. This worked in…

Read More »

We run your Selenium tests super fast

After some more optimizations in our code and infrastructure we’ve now reached the point where the average simple test takes 9 seconds. Compared with competitors, we’re 2 to 3 times faster in running your test. This means that you can run more tests in less time at testingbot.com Here are some benchmarks with a simple test that starts an Internet…

Read More »

We upgraded to Selenium v2.15.0

We’ve just finished upgrading our Selenium grid (the hub and all its RC nodes) to Selenium v2.15.0 This upgrade should provide improved stability. According to the Selenium changelog these are the changes in the v.2.15 version: WebDriver: Now supports up to and including Firefox 11. Changed order of FirefoxProfile initialization attempts on a remote host: 1) try to load from…

Read More »

How does a Selenium test work?

Selenium is the industry standard for automatically testing websites in browsers. A selenium test is a set of instructions that will be sent to a browser of your choice. Most major programming language offer support for Selenium. Either by plugins or by default. These plugins will translate language specific syntax to Selenium commands which can be understood by a Selenium…

Read More »