Book demo
Start trial
Book demo
Start trial

The LEAP

Automation insights and productivity tips from LEAPWORK.

All Posts

How to Automate ServiceNow: Test and Process Automation

Heavy customization combined with mandatory upgrades put a lot of pressure on functional and regression testing of ServiceNow implementations around the world.

ServiceNow has become one of the world's most popular and easy‑to‑use service management solutions and is named by Gartner as a Magic Quadrant leader for the third year in a row. The software is well-known for being incredibly flexible and can be customized to support virtually any IT service management requirements in modern enterprises, including tackling difficult legacy processes. And because it's all in the cloud, upgrades happen automatically so the latest capabilities are available without administrative overhead.

In this short demonstration video, I show how easy it is to perform test automation on ServiceNow with LEAPWORK. It's not an engineering exercise, there's no code involved and there is no limit to how complex processes can be.

 


Most enterprise software share the same structural challenges for test automation with existing tools: They rely on complicated technical implementations, nested iframes, dynamically changing the DOM and performing a lot of behind-the-scenes XHR requests. ServiceNow is no exception, and this has made it very difficult to test with tools such as Selenium without writing extensive amounts of code.

LEAPWORK lets you easily overcome these complexities, including navigating nested iframes, waiting for XHR requests and DOM changes and creating reusable components on the fly. In fact, it almost feels like LEAPWORK was made to automate ServiceNow.

But wait, there's more! Using ServiceNow to trigger and run test automation in LEAPWORK is also very straight-forward because LEAPWORK is built on an open REST API. So here's an example of how to use ServiceNow to manage an automation process, and have incidents automatically created if test automation cases fail.

 



I built this example from scratch in a few hours time on a snappy ServiceNow instance provided by our good friends at BusinessNow. I'll be honest and admit half that time was spent getting date conversion working in Javascript. Someone with more JS skills than me could probably do it in a few minutes.

The bottom line is, if you are working with ServiceNow and want to either get started with test automation or want to use ServiceNow as the management platform, it's super easy to do with LEAPWORK.

Everything you need for ServiceNow automation

Check out LEAPWORK's tutorials, out-of-the-box samples, and educational resourcesto get started with ServiceNow automation.
Explore ServiceNow automation with LEAPWORK

Claus Topholt
Claus Topholt
CTO and co-founder of LEAPWORK.

Related Posts

Comparison: Selenium IDE vs. LEAPWORK

Selenium IDE is a great open source tool for HTML-savvy users who want record and playback automation of simple web applications, but isn’t suitable for enterprises and has very limited functionality. This post compares Selenium IDE with LEAPWORK enterprise web automation.

Comparison: LEAPWORK vs. Selenium Web Automation

Selenium is a great tool for professional programmers who want to automate web applications, but for users who don’t (want to) write code, there are better options. This post compares code-based Selenium with LEAPWORK web automation. Side-by-side video comparison included.

Test Automation Frameworks: Why They Fail

Test automation frameworks are basically recipes for how to build automated test cases. They include guidelines for testers on how they should do their job. The problem is, these frameworks don’t always work, as they tend to complicate test automation more than necessary.