Web components used to pose big problems for software testing — but less so since the rise of platforms like Telerik Test Studio R1 2020.
In the past, testers in the automation phase often complained that certain elements could be viewed on the screen but not found in the DOM tree of the application.
Many reported that they did not know a way to access these web components via their test scripts; use of a recorder for some steps resulted in either a failure to execute or execution of the wrong element.
“Web components are a technology that is gaining a lot of traction but making the quality assurance engineer’s life a lot harder,” affirms Telerik via its new-release blog.
However, the new version of Test Studio released in March provides out-of-the-box support for web components – click here for a complete list of supported web components. The result should be more seamless and stable test automation with or without web components (Shadow DOM, HTML templates or custom elements) in your application.
“Test Studio identifies all Shadow DOM trees in the loaded page and records/executes any action, verification, real click or type against that element as if it is a regular element part of the main DOM tree,” the company says.
“Web components are very powerful but extremely hard to automate. Test automation with a Shadow DOM is a challenge because the elements inside a Shadow DOM subtree don’t exist in the main DOM tree.”
The new release also includes web reporting via the executive dashboard, easing the path to application development by enabling testers to monitor results from all testing agents and share these easily via a browser-accessible link.
Other improvements include better usability, updated browser extensions for Firefox, Chrome and Edge Chromium, support for Salesforce apps using Shadow DOM as the underlying technology, and ability to display the status of the connected storage service when applying new configurations.
“The best thing about Test Studio is easy ramp-up, which enables anybody to start creating tests within a few days. The centralised element repository is very comfortable, bringing down test maintenance costs,” says PegaSystems QA engineer Himanshu Saraowgi in an approved Telerik testimonial.
Telerik Test Studio, used by around 140,000 application development teams worldwide, aims to speed up the process of continuously developing and releasing quality software. It is useful for developers producing new software to tight deadlines who want to use automated testing methods integrated into their CI/CD environment workflows, using more complex, collaborative test scenarios. At the bottom of the linked page is a full list of features.
Test Studio results can be posted into Slack too – to save time and effort. The platform also allows for easy integrations with a range of other popular tools, thanks to its execution extensions.