Authored by: Anna McCowan, Software Engineer – Keysight Technologies
The truth about traditional software test automation is that it requires considerable manual effort. Now, that seems counterintuitive, but it is actually true. There is a significant amount of human intervention involved in what are generally considered as “automated” software test processes.
In “AI-Driven Testing: Bridging the Software Automation Gap,” author and chief scientist Tariq King, described the current “gap” between manual and automated testing. King claims that the best way to narrow that gap is to use Artificial Intelligence (AI) in the approach to test generation and execution. To access full report, you can download it here.
With that in mind, here are the top five lessons I have learned in as far as closing the gap between manual and automated testing is concerned.
1. Testing means more than checking.
When we think of test automation, what we often think of is test execution. But there is more to it than that. Testing, when done right, involves learning, experimenting, troubleshooting, trial-and-error, observation and extrapolation. All these are complex, highly cognitive tasks that would typically require a human tester to manually perform.
This is where AI comes in. Advances in AI and Machine Learning (ML) technologies have made it possible to optimise repetitive tasks, perform bug hunting and monitor change.
2. AI can test for things previously thought of as subjective.
A common roadblock on the path to automation is the inability for machines to handle some of the nuances of human perception. For user interface (UI) design, in particular, most of the developer requirements are qualitative in nature. Attributes like usability, accessibility and trustworthiness can all fall under this category.
However, AI has proven that machines are able to model patterns, workflows and tasks, including UI design testing. AI can test user interfaces, services and lower-level components and can evaluate the functionality, performance, design, accessibility and trustworthiness of applications.
“The truth about traditional software test automation is that it requires considerable manual effort.”
3. AI-driven test automation requires very little maintenance for visual updates and redesigns.
The purpose of functional UI testing is just how it sounds: to confirm the functionality of an application’s UI. For most web and mobile applications, functional UI testing can be challenging when using testing frameworks that rely on the document object model (DOM). DOM-based element selectors make tests susceptible to breaking because the structure and behavior of the UI changes with each update.
AI—and, more specifically, a branch of AI known as “intelligent computer vision”—gives us the newfound capability to perceive and test anything with a screen. Using image-based analysis, AI bots recognise what appears on an application screen independently of how it is implemented. Without the need for DOM-based analysis, UI design changes do not result in excessive test script maintenance.
4. AI-driven test automation will increase both the level of test coverage and test speed.
Traditional approaches to test automation include manually creating test cases for each new feature or application. This can take weeks or even months to complete, and there is a high level of risk with manual test case creation. As King stated in his report, “Over time the test coverage required to validate the quality of your software product diverges from the engineering team’s ability to design and write test scripts for it.” Essentially, the software’s complexity is increasing faster than test automation can keep up.
AI-driven testing narrows that gap between software complexity and test automation. This is especially beneficial in the enterprise space, where modern business applications need end-to-end testing and where time-to-market cycles are continuously shrinking.
5. AI-driven test automation is already here.
We once thought tasks such as voice and image recognition, driving, and even musical composition were impossible for a machine to accomplish. But we are already seeing this type of automation today. Hence, it should not surprise you to know we are currently training AI bots to perceive, explore, model and test software functionality.
With all of the activity and buzz around AI for software testing, we are at the beginning of a new era of test automation. AI testing is enabling testers, developers and all software professionals to tackle challenges that were once thought to be insurmountable.
For a complete look at the expanding role that AI plays in software test automation, I highly recommend that you download King’s report, “AI-Driven Testing: Bridging the Software Automation Gap.”
Archive
- October 2024(44)
- September 2024(94)
- August 2024(100)
- July 2024(99)
- June 2024(126)
- May 2024(155)
- April 2024(123)
- March 2024(112)
- February 2024(109)
- January 2024(95)
- December 2023(56)
- November 2023(86)
- October 2023(97)
- September 2023(89)
- August 2023(101)
- July 2023(104)
- June 2023(113)
- May 2023(103)
- April 2023(93)
- March 2023(129)
- February 2023(77)
- January 2023(91)
- December 2022(90)
- November 2022(125)
- October 2022(117)
- September 2022(137)
- August 2022(119)
- July 2022(99)
- June 2022(128)
- May 2022(112)
- April 2022(108)
- March 2022(121)
- February 2022(93)
- January 2022(110)
- December 2021(92)
- November 2021(107)
- October 2021(101)
- September 2021(81)
- August 2021(74)
- July 2021(78)
- June 2021(92)
- May 2021(67)
- April 2021(79)
- March 2021(79)
- February 2021(58)
- January 2021(55)
- December 2020(56)
- November 2020(59)
- October 2020(78)
- September 2020(72)
- August 2020(64)
- July 2020(71)
- June 2020(74)
- May 2020(50)
- April 2020(71)
- March 2020(71)
- February 2020(58)
- January 2020(62)
- December 2019(57)
- November 2019(64)
- October 2019(25)
- September 2019(24)
- August 2019(14)
- July 2019(23)
- June 2019(54)
- May 2019(82)
- April 2019(76)
- March 2019(71)
- February 2019(67)
- January 2019(75)
- December 2018(44)
- November 2018(47)
- October 2018(74)
- September 2018(54)
- August 2018(61)
- July 2018(72)
- June 2018(62)
- May 2018(62)
- April 2018(73)
- March 2018(76)
- February 2018(8)
- January 2018(7)
- December 2017(6)
- November 2017(8)
- October 2017(3)
- September 2017(4)
- August 2017(4)
- July 2017(2)
- June 2017(5)
- May 2017(6)
- April 2017(11)
- March 2017(8)
- February 2017(16)
- January 2017(10)
- December 2016(12)
- November 2016(20)
- October 2016(7)
- September 2016(102)
- August 2016(168)
- July 2016(141)
- June 2016(149)
- May 2016(117)
- April 2016(59)
- March 2016(85)
- February 2016(153)
- December 2015(150)