Universal Test Script Delinking Objects and Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing software testing automation tools generate test scripts that are specific to user interfaces, requiring significant changes for minor UI updates and struggling with maintenance and reuse across variant applications, leading to a tedious and time-consuming testing process.
Innovation Solution
A computer-implemented method and system for creating universal test scripts that delink test objects and data from the script, allowing them to be bound based on test parameters, enabling execution across variants of software applications with specific test objects and data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If existing test automation tools generate test scripts specific to user interfaces, then the test scripts can be executed on the designed software applications, but significant changes are required for minor UI updates and maintenance becomes difficult
Solution Approach 1:
The patent segments the test script into multiple independent components: keyword functions (test actions), test objects, and test data. This segmentation allows each component to be independently managed and reused across different software variants, resolving the contradiction between execution accuracy and reusability.
Solution Approach 2:
The patent creates universal test scripts using keyword functions that can execute the same test logic across multiple software variants and languages. The keyword function library provides multi-functional test actions that adapt to different UI elements through parameter binding, enabling one script to serve multiple purposes across variants.
2Reliability
If test scripts are customized for each software variant, then specific testing requirements are met, but significant resources are required to create and maintain automated test scripts
Solution Approach 1:
The patent performs preliminary actions by pre-defining keyword functions and their parameters in a standardized library before actual testing begins. Test objects and test data are also prepared in advance and can be bound to keyword functions during execution, eliminating the need to create custom scripts for each variant and significantly improving testing efficiency.
Solution Approach 2:
The patent uses parameter changes to adapt universal test scripts to different software variants. By modifying test parameters (such as object identifiers, data values, and configuration settings) rather than the script structure itself, the same test logic can efficiently cover multiple variants while maintaining accurate testing coverage.
3Reliability
If manual testing is performed for each software variant, then specific testing requirements are met, but the process is tedious and time-consuming
Solution Approach 1:
The patent creates reusable templates and keyword function copies that can be instantiated multiple times across different test scenarios and variants. Instead of manually creating unique test cases for each variant, testers can copy and bind parameters to existing keyword functions, dramatically reducing testing duration while maintaining thoroughness through systematic parameter variation.
Data Source
AI summary
The present subject matter relates to a method, device, and computer readable medium for creating universal test scripts for testing variants of software applications. The method comprises receiving, by a test automation computing device, one or more test cases from a test management system. Keyword functions and sequences are identified corresponding to sequence of steps in the one or more test cases. The universal test script is generated based on the keyword functions and the sequences, wherein the keyword functions comprise test parameters. Test objects and test data are delinked from the universal test script. The test objects and the test data are binded to the universal test script based on the test parameters, while executing the universal test script on an automation tool, wherein the test objects and the test data are specific to the variant of the application.


