Sauce Labs

Recent Posts

Effectively Utilizing Production Testing Data
Posted by Scott Fitzpatrick in Guest Blog PostsSoftware Development & Testing

The term “testing in production” refers to a process that is critical to thoroughly testing an application. It’s the process of continuing to test and monitor code post-release for both disaster recovery preparation and user experience analysis. The process of setting up production testing is easy enough—you simply extend your testing tools and workflows to cover [...]

Selenium Tips: Infinite Loops Take Forever
Posted by Matthew Heusser in Selenium Resources

In Selenium, it's a common for the tool to get ahead of the browser. Thus, the element we want to click on does not exist yet - but it will! We’ll start with a sample html page that pauses four seconds before injecting a link onto the page. In practice, this would probably be a wait for javascript to make a REST API call and push the results into the document. Our naive test for the link [...]

Selenium Tips - Intermediate CSS Selectors in Selenium
Posted by Matthew Heusser in SeleniumSelenium Resources

Following my previous Selenium testing Tip of The Week about Better locators in Selenium, this blog post will show you more CSS rules and how to create pseudo-classes. Not only can this help you move from XPATH to CSS, but it can help you overcome some testability issues. NEXT SIBLING Let’s start with navigating a list of elements. That is, you have one element you can reach, but you [...]

Rethinking the Role of “Journey” in Software Testing
Posted by Greg Sypolt in Quality AssuranceSoftware Development & Testing

Software quality is a journey, not a destination. Where is your organization in its quality journey? If the answer to that question is not what you wish — in other words, if your software quality is not as strong as you know it can or should be — then it’s time to rethink your approach to the software-quality journey. For many organizations, that will mean reconfiguring the ways [...]

The What and Why of Headless Testing for Kubernetes

The Sauce Labs blog previously featured the post “Headless Browser Testing 101,” covering the fundamentals of headless testing, its advantages, and the purposes for which it is used. This post takes a deeper dive into a specific aspect of headless testing: How it fits into a Kubernetes-driven CI/CD pipeline. We’ll focus on how containers and Kubernetes change testing and what [...]

Selenium Tips: Capturing A Larger Screen Area
Posted by Matthew Heusser in Selenium Resources

Capturing screenshots of your tests is one of the most important features you can give to an automation engineer. It's the easiest way to actually understand from a report, why a test failed and how to reproduce it. While our Live Testing will generate videos of the entire test by default, sometimes you just want a screenshot. Selenium supports capturing screenshots on remote machines, as [...]

Selenium Tips: Better Locators in Selenium
Posted by Matthew Heusser

In order to click on or type into an HTML element, first you need to locate that element. The easiest way to get started with locators in Selenium is probably XPATH. It is something like three clicks: Right click, inspect element, look in the developer toolbar, right click, copy XPATH (the ‘Copy XPath’ option is hidden under the Copy submenu within the context menu). Changing [...]

4 Best Practices for Testing Microservices
Posted by Twain Taylor in Software Development & Testing

The application stack has undergone fundamental changes with the advent of microservices architecture, and this has had a ripple effect on software testing. For a monolithic application released every quarter, testing was reserved for the very last week or two before release. Today, with micro-releases happening multiple times daily, software testing is more granular, it happens simultaneously [...]

Free Trial

Get access to a free 14-day trial version, or contact Sales for more information.