Sauce Labs
Blog

Recent Posts

What Developers Should Know About Software Testing
Posted by Chris Riley in Software Development & Testing

If you’re a developer, you may not think that software testing has much to do with you, or that you have much to do with software testing. But thinking this way is selling yourself short. It’s true that traditionally, software testing has been the focus of QA engineers who are dedicated to the role of ensuring that software behaves and performs as required to meet user expectations. [...]

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 [...]

Free Trial

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