Test Script Generation via Screen Recording for Multi-DUT Compatibility
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The challenge in software testing is recreating test scripts for multiple device-under-test (DUT) configurations, which requires significant time and effort due to hardware and software compatibility issues, especially when testing across various operating systems and browsers.
Innovation Solution
A method and system for test script generation and execution that captures the execution of a test-suite on a first DUT by recording screen videos and input events, creating configuration data, and generating a compatible test script for execution on unique second DUTs, allowing simultaneous execution across different configurations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If test scripts are recreated for each DUT configuration, then compatibility with different operating systems and hardware is achieved, but time and effort required for testing increases significantly
Solution Approach 1:
The patent uses screen recording to capture the visual output of test execution on a reference DUT, creating a video template that serves as a copy of the expected behavior. This video template is then used to generate test scripts for multiple DUT configurations without manually recreating them, thereby maintaining adaptability while significantly reducing the time required for script creation
Solution Approach 2:
The patent creates a universal test script generation system that can produce test scripts for multiple different DUT configurations from a single screen recording. The generated test scripts are designed to be executable across various operating systems and hardware configurations, making the testing process universally applicable rather than configuration-specific
2Reliability
If manual test script creation is performed for multiple configurations, then accurate testing of each specific configuration is achieved, but productivity and efficiency decrease
Solution Approach 1:
The system captures the exact sequence of screen changes and user interactions during test execution on a reference device, creating an accurate digital copy of the test flow. This copied information is then automatically transformed into executable test scripts that maintain the same testing logic and verification steps across different DUT configurations, ensuring testing accuracy without manual intervention
Solution Approach 2:
The patent implements an automated system where the test script generation process serves itself by using the screen recording data to automatically create and configure test scripts for multiple DUTs. The system self-adapts to different configurations without requiring external manual script writing, thereby maintaining reliable testing while dramatically improving productivity
Data Source
AI summary
The disclosure relates to method and system of test script generation and execution. The method includes capturing an execution of a test-suite on a base device-under-test (DUT), and generating configuration data based on at least one of the video of the screen associated with the base DUT during the execution of the test-suite on the base DUT and the plurality of input events associated with the execution of the test-suite on the base DUT. The method further includes generating a test script corresponding to the configuration data, and executing the test script on at least one secondary DUT.


