Test code generation method and device, test framework code execution method and device
A technology for testing codes and testing frameworks, applied in the field of automation, can solve the problems of high test case maintenance costs, high labor costs and time costs, and unsuitable test methods, so as to reduce the cost of manual testing and save testing time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0049] Below, in conjunction with accompanying drawing and specific embodiment, the present invention is described further:
[0050] see figure 1 , the present invention provides a method for generating test codes, comprising the steps of:
[0051] S1: Read the script file of the test framework template, and generate a test code file according to the script file;
[0052] Save the written script file in the specified directory, run it through the update tool, automatically read the script file under the specified template, and replace a series of algorithm constants to obtain the test code file, the test code file is data.db file, and save it to data .tb file. The test code file is an encrypted file to prevent abnormal changes. In the operation applied to the test code file later, in fact, the test code file is first decrypted to obtain the code framework.
[0053] S2: Load the test code file and receive the project name input by the user;
[0054] The running tool is obj_...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

