Systems | Development | Analytics | API | Testing

Testing

The latest News and Information on Software Testing and related technologies.

Cloud Testing: How to overcome the challenges of testing on-premise?

If you’ve been performing on-premise testing in your organization, you know the rules already. But for the uninitiated, on-premise testing is a form of testing where testers perform tests on local machines, systems, or devices set up at an office. As the name suggests, it happens on-premise. On-premise testing comes with a lot of responsibility. From the maintenance and monitoring of the machines and software to upgrading and installations — you’ll need all hands on deck.

k6 v0.33.0 released

It's once again the end of a release cycle for us here at k6, and this time we're happy to announce that k6 v0.33.0 is here! 🎉 The v0.33.0 release is a small one, mainly containing a bunch of minor bugfixes and enhancements, but is also laying the groundwork for some major new features like the upcoming k6/execution API in k6 v0.34.0. To read the full release notes, see the GitHub Release for v0.33.0.

Local Test Project Code - Selenium Java and JUnit4

This video review the sample code used in Sauce Labs' Web Automation Quickstart module for Selenium Java. See how to access the code sample on Github, and get an overview of the structure of the test suite, including the Maven pom.xml file. Understand the Page Object Model of the example test suite, and some of the abstraction and methods used. Learn about the file you will need to edit, BaseTest.java, that you will be editing to run this examples test on the Sauce Labs Cloud.

Setup to Run Web App Tests On Sauce Labs

In this video, you will learn how to set variables for your Selenium Java test suite in a config file, create a switch statement for running tests either locally or on the Sauce Labs Cloud, and add the setting such as the url you are testing against, and set up you test to send capabilities to Sauce Labs. In the next video, you will see how to add these capabilities and run your test. Connect with Sauce Labs on Social Media Twitter: @saucelabs.

Run a Web App Test on Sauce Labs - Selenium Java

Learn how to add capabilities in a Seleniujm Java test using MutableCapabilites to set options such as username and access key for the Sauce Labs platform, and also add the capabilities such as browserName, browserVersoin, and platformName to configure which environment your test runs in. You will also learn to instantiate a RemoteWebDriver on Sauce Labs using the endpoint for the data center you are testing in.

Adding a Test Name - Selenium Java

Learn to pass the test name for a Selenium Java test to the Sauce Labs cloud, using the JUnit4 TestWatcher class. Create a rule and implement TestWatcher, and at the start of a test, pass the test name to the name capability so your name will appear with your test results on the Automated Testing results page. Connect with Sauce Labs on Social Media Twitter: @saucelabs.

Add a Test Status on Sauce Labs - Selenium Java

In this video, you will learn to communicate the test outcome status with a Selenium Java test, to Sauce Labs. Sauce Labs needs information from the test or test runner to be able to display whether a test passed or failed on the Sauce Labs dashboard. This tutorial will show you how to; capture the sessionId from RemoteWebDriver, create a connection with the SauceRest API, and pass information about the pass or fail status with TestWatcher of your test using the Sauce REST API, and the sessionId.

Run Selenium Java Tests on Different Browsers on Sauce Labs

In this tutorial learn how to use different browser options with a Selenium Java Test to set the browser you would like to run your tests in on Sauce Labs. Use a switch statement using Selenium BrowserType class to detect the browser, then add browser options to set capabilities for 5 different types of browsers. Finally, you will see how to run tests on different browser (and operating systems).