ABOUT THE CLIENT
The customer is a leader in Contract Lifecycle Management space. The platform manages 5+ million contracts in 40+ languages from 2+ million subscribers across 90+ countries. The AI-powered platform allows customers for faster & proactive management of entitlements & obligations as well as surface commercial insights and intelligence.
THE BUSINESS CHALLENGE
The client wanted to automate MS Word add-in test scenarios to maintain the quality of services by performing regular sanity and regression checks on the add-in. Automating MS Word add-in test cases was a challenging task. It was tough to find a mix of tools/technology to automate the add-in as selenium does not support desktop application automation. Also, there isn't enough reference knowledge base available regarding the automation of a Microsoft Word add-in.
Though MS Word add-in is a desktop application, its automation is a different challenge than automating a typical desktop application. With available automation tools and technologies, one can access elements in the MS Word add-in but cannot perform actions such as adding text, selecting the text, verifying content control properties, clearing text, positioning cursor, etc., in a Word file. Other challenges include – a tool to inspect elements, selection of automation tool/technology, unavailability of element ID's, synchronization & compatibility issues, handling dynamic aspects, selection of test framework.
HOW OPCITO HELPED
Opcito team had developed the MS Word add-in for the CLM application. After careful consideration of the version compatibilities with MS Word add-in and working on different technologies, Opcito proposed a solution to automate the MS Word add-in using WinAppDriver and NodeJS. In the solution, Window’s inpect.exe tool is used to inspect the elements. VB scripts are used to perform actions in Word files, which are called in a framework to perform different tasks in Word file.
The automation framework is a mix of data-driven and POM pattern frameworks. This automation framework comprises Driver code, Test Cases, Test Methods, Test Data, Locators, VBScript, Utilities, API helper, Logs, HTML report, Screenshots, DB helper, etc. Opcito team also covered the API testing along with the automation of MS Word add-in’s UI.
With automated regression and sanity suite of MS Word add-in, it’s convenient to maintain the quality of services provided by MS Word add-in. With the automated tests that are run daily, the client now:
- Can capture and eliminate defects in the early stages of the release.
- Has reduced manual testing efforts required during regression pass testing of the release.
- Has reduced number of bugs.
Along with these, the client can now create test data for manual testing in no time with the help of API automation.
At Opcito, we believe in designing transformational solutions for our customers, start-ups, and enterprises, with our ability in unifying quality, reliability, and cost-effectiveness at any scale. Our core work culture focuses on adding material value to your products by leveraging best practices in DevOps like continuous integration, continuous delivery, and automation, coupled with disruptive technologies like containers, serverless computing, and microservice-based architectures. We also believe in high standards for quality with a zero-bug policy and zero downtime deployment approach.