Category: Selenium Tips

Selenium 3 Beta Testing with TestingBot

TestingBot provides an option for people who want to run their Selenium tests with the latest Selenium 3 beta versions! Selenium 3 is currently still in beta, so bugs might appear when using this beta version to run tests with. A short list of things that changed with Selenium 3: Selenium RC is no longer included in the default package….

Read More »

Automated testing of Firefox, Chrome and Safari browser extensions

With Selenium Webdriver, you can run tests on Firefox, Chrome and Safari, all of them equipped with your browser extension. At TestingBot, we’ve made this very easy for you! All you need to do is supply a link to the extension in your desired_capabilities options of your test. Specify either the .xpi file (for Firefox), .crx file (for Chrome) or…

Read More »

Marionette, the next generation of FirefoxDriver

Marionette – Information and example Starting with Firefox 46, it will no longer be possible to install unsigned extensions with Firefox. Since Selenium currently uses a Firefox extension to run WebDriver tests on Firefox, this will no longer work once Firefox 46 is released to the public. Fortunately, there is a new way to ensure everyone can still run WebDriver…

Read More »

Setting up and maintaining your own Selenium Grid

Intro In this article we’ll focus on setting up your own Selenium grid from scratch. A Selenium grid is a collection of browser nodes that are available for automated testing. We’ll show you how to set up a Selenium Grid Master (or Hub, or Selenium Server, whichever you want to call it) and how to connect various Selenium Nodes to…

Read More »

Cloud testing with Sikuli and Selenium WebDriver

Sikuli is able to automate anything you see on your computer screen by using image recognition to identify components you want to interact with. This is very useful if you want to test things that are not easy to automate, for example native OS GUI components. Since Sikuli runs on Windows, Mac and Linux – it is extremely useful to…

Read More »

Uploading files with Selenium for testing

Since a lot of websites have upload functionality, it’s important to know that this can be tested via Selenium. Uploading a file during a test With Selenium WebDriver it’s possible to upload a file from your own computer. In your test, you indicate which file you would like to upload, after which WebDriver will send the file from your computer,…

Read More »

TestingBot Breakpoints to debug your flakey Selenium tests

Today TestingBot has added a new feature that should help you debug issues you encounter when running automated tests. Suppose you’re running a test and you notice something isn’t quite working well (ajax request is failing, javascript errors, …). When this happens, it’d be easy to simply pause the test, log in on the pristine virtual machine and start debugging with…

Read More »

Selenium testing with Robot Framework

With Robot Framework you can build easy to read test cases, which can then be run via Selenium webdriver on our Selenium Grid. It allows using keyword driven, behavior driven approaches and provides reports in HTML format. Setting up Robot Framework First you have to make sure you’ve installed pip. To install the other libs, please run: pip install robotframework-selenium2library…

Read More »

Using git to automate your browser testing

post-commit If you’re looking for a way to run tests after each git commit push, you can use the ‘post-commit’ hook supplied by git. In your repository, create a post-commit file: In this file you can for example add a cURL call which will start all your browser tests at TestingBot via API. Optionally, you can specify an API callback…

Read More »

Website Monitoring and PageLoad Testing with Selenium

Next to running automated browser tests, Selenium and TestingBot can be used for other tasks like monitoring a website, or verifying that the pageload time of a page is below a certain threshold. With our TestLab we run your Selenium tests when you want, how many times you want. Website Monitoring a specific string of text Let’s say for example  that you…

Read More »