Test automation in OTT video is yet another topic that has taken an understated backseat while the broader video streaming boom of the past year has played out – one that is becoming increasingly important for application providers in a world of growing device fragmentation.
Tests such as quality assurance (QA) are vital ahead of any OTT video app launch or software update, while the automation of these processes is saving companies weeks of manual labor. However, those that have made the switch from manual to automated testing will be the first to admit this a costly business decision.
A major company to have recently embarked on this manual to automated testing migration journey is UK-based broadcaster Channel 5, recently relaunching its on-demand ad-supported My5 app with assistance from Swedish app developer Accedo and Czech QA vendor Suitest.
Some six years since first launching the My5 app, Channel 5’s Senior Director of Quality and Operation, Rick Smith, took the decision to wave goodbye to laborious and time-consuming manual testing processes. Taking the plunge into test automation across web, mobile, connected devices and games consoles, this decision was certainly accelerated by the pandemic, as the already difficult task of traversing the fragmented hardware ecosystem was exacerbated by manual testers having to work remotely.
Speaking during a webinar hosted by Accedo, Smith flagged a more frequent release cadence for reducing time to market as one of the top benefits of embracing test automation, enabling Channel 5 to roll out new features and critical bug fixes to customers in a fraction of the time.
This transition has been a few years in the making, with Channel 5 assessing many tried and tested options for web and mobile applications, but Smith soon released that test automation systems were less well established for smart TVs and set tops – where he sees a bigger opportunity for the My5 app. The real game changer for Channel 5 came when Smith met Suitest at an exhibition and was won over by the company’s accessibility options – even giving manual testers with less coding experience the ability to create test scripts by recording in-app user journeys.
Before Suitest was swung in, Channel 5 was suffering from a headache of time versus quality. Ultimately, application testing demands faster completion times without compromising quality.
With a manual approach to testing, defects are often detected late, leading to a delayed time to market, which is then worsened as testing on one project often has to wait for completion of a previous project – preventing parallel testing. Manual testing could also only be carried out during normal office hours, so Channel 5 was limited to 8 hours of testing a day maximum prior to its test automation switch.
Thoroughness can also suffer, with manual testing leading to shortcuts in order to meet deadlines, which can result in more defects being detected long-term. Staffing is another issue for the likes of Channel 5, as increasing the release cadence and carrying out more work in parallel would require increasing the size of testing resources in a manual situation.
“Automation allows rapid and repeat execution of tests, and overnight scheduling is a no brainer. It comes down to resources and money at Channel 5,” said Smith.
Smith was refreshingly open about monetary concerns, stating that any automation system requires significant investment, while calculating ROI is particularly tricky with test automation. He clearly had his work cut out convincing the Channel 5 board to sign off on funds for his test automation ambitions, worsened still by a lengthy and complex implementation period.
“Senior management might say well, you’ve managed without this until now, so why should we invest?” added Smith.
Channel 5 found it difficult to decide which test cases to automate, with certain aspects of VoD apps being simpler to automate, including navigation and page loading, while automation of video playback is a more challenging aspect. In the end, Channel 5 went with these easier test cases to begin with, and is now focusing on the more challenging ones.
Arguably the greatest challenge in any OTT test automation journey is the devices themselves. Not only are companies like Channel 5 required to maintain a library of physical devices, but for almost a year now these devices have been shared between teams spread across the country in various testers’ homes. Coordinating access for running automation scripts against those devices has been a particular pandemic challenge for Smith’s team.
He cited pre-release regression testing of the My5 app on LG TVs, which generally take 3 to 5 days per device on several variations of LG TVs, so we’re talking about 2 weeks’ worth of testing before each release in a manual environment, which now – thanks to automation – takes only takes a few hours.
In turn, this frees up time for testers to run multiple projects in parallel, carrying out more detailed manual testing processes to learn more about how the applications behave in different situations – better placing Channel 5’s testing team to find more defects later on.
“Do we upskill manual testers with skills to write code and automated scripts, or do we hire test automation engineers, which don’t come cheap?” was another question troubling Smith, one which Suitest addresses.
Providing the vendor perspective, Sascha Mladenovic, Chief Customer Officer at Suitest, made the point that people using emulators for QA testing do not have access to all APIs, meaning you cannot test all features in an emulator. And with growing device fragmentation, you cannot possibly simulate all possible implementations or account for device specific issues in an emulator.
“Manual testing is tedious, time confusing and becoming increasingly expensive to purchase all devices. To address this problem we have bought a public device lab for all customers which we are opening right now, for debugging and manual testing if needed,” said Mladenovic.
Suitest came out of TV app development and shifted to QA testing for OTT video and HbbTV applications on smart TVs, set tops and media streaming devices. After a number of technical failures, the company proved there was a way to do object-based test automation, a technique which comes as standard on desktop browsers through open source tools but has been amiss from the TV app ecosystem. The result is automated testing integrated into a DevOps process – where software updates and QA testing run harmoniously together in the cloud.
The real beauty of Suitest is its affordability – with tools made affordable even for individual developers, scaling right up to millions of OTT video subscribers across countless devices such as at South East Asian SVoD firm iflix.