Markup Language Test Automation for IoT Devices
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional test automation techniques are limited in flexibility and suitability for devices beyond smartphones and Windows programs, particularly for IoT devices that require complex multi-stage testing, and lack the ability to easily modify test scripts.
Innovation Solution
A method on a test automation platform that generates a markup language document from a test script, using a script language conforming to JavaScript standards, and runs a program engine with a web view engine to process and execute the document, allowing user-defined functions and predefined API calls for enhanced control and debugging.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If conventional embedded test automation techniques are used, then device testing can be performed, but the test script cannot be changed as desired by the user and it is difficult to control complicated multi-stage test conditions
Solution Approach 1:
The patent introduces a markup language document as an intermediary between the test script and the program engine. The test script is converted into a markup language document that can be processed by standard web view engines, enabling flexible test script modification while utilizing existing robust engine infrastructure to handle complexity.
Solution Approach 2:
The patent employs a program engine that is an off-the-shelf component with an interpreter for the script language, making the test automation platform capable of executing various types of test scripts through a universal engine rather than requiring device-specific automation tools.
2Adaptability or versatility
If platform-based test automation techniques are used, then some degree of freedom in changing the test script is provided, but the techniques are highly likely to be unsuitable for IoT devices that need to operate with various instruments, gateways, and equipment
Solution Approach 1:
The test automation platform is designed to execute test scripts converted into markup language documents using a universal program engine that can interface with various devices including smartphones, Windows programs, and IoT devices, making the same platform suitable across different device types without requiring device-specific automation tools.
3Adaptability or versatility
If high-priced systems are used for in-depth device testing, then natural language-level developed languages with conditional statements and repetitive statements can be supported, but the testing cost increases significantly
Solution Approach 1:
The patent uses a markup language document format that can be processed by standard web view engines, effectively copying the successful model of web technology execution to test automation. This allows the use of familiar scripting languages and standard engines rather than requiring expensive proprietary testing systems.
Solution Approach 2:
The program engine includes an interpreter for the script language as an off-the-shelf component, enabling the system to execute test scripts autonomously without requiring high-priced external testing systems. The engine self-sufficiently handles script interpretation and execution.
Data Source
AI summary
A method performed on a test automation platform by a computing device is disclosed. The disclosed method comprises: a step of generating the markup language document from a test script (the test script is created in a script language so as to include the definition of a user-defined function for use in testing a device under test (DUT) and a markup language document includes a script element for inserting the definition of the user-defined function into the markup language document); and a step of running a program engine (the program engine is an existing component of the test automation platform and includes an interpreter for the script language) in order to process the created markup language document.


