Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for determining test data

A technology of test data and test parameters, which is applied in the directions of electrical digital data processing, software testing/debugging, error detection/correction, etc., and can solve problems such as low test efficiency

Inactive Publication Date: 2019-01-15
POSBANK
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for determining test data, so as to at least solve the technical problem in the prior art that the test data needs to be searched and replaced in the test code when modifying the test data during app testing, resulting in low test efficiency.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for determining test data
  • Method and apparatus for determining test data
  • Method and apparatus for determining test data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] According to an embodiment of the present invention, an embodiment of a method for determining test data is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0030] figure 1 is a flowchart of a method for determining test data according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0031] Step S102, acquiring a test parameter set corresponding to the test code, wherein the test parameter set includes a plurality of test parameters.

[0032] Specifically, the above test code runs on the test terminal, and the application program to be tested is tested by executing the test code. Test parameter...

Embodiment 2

[0065] According to an embodiment of the present invention, an embodiment of a device for determining test data is provided, Figure 9 is a schematic diagram of a device for determining test data according to an embodiment of the present invention, such as Figure 9 As shown, the device includes:

[0066] The acquisition module 90 is configured to acquire a test parameter set corresponding to the test code, wherein the test parameter set includes a plurality of test parameters.

[0067] Specifically, the above test code runs on the test terminal, and the application program to be tested is tested by executing the test code. Test parameters are used to characterize the data that needs to be assigned during testing.

[0068] The associating module 92 is configured to obtain a test data set corresponding to the test parameter set, and associate the test data set with the test parameters, so that the test code can be tested according to the test data in the test data set.

[00...

Embodiment 3

[0087] According to an embodiment of the present invention, a storage medium is provided, and the storage medium includes a stored program, wherein, when the program is running, the device where the storage medium is located is controlled to execute any one of the methods for determining test data in Embodiment 1.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method and apparatus for determining test data are disclosed. The method comprises the following steps: obtaining a test parameter group corresponding to a test code, wherein, the test parameter group comprises a plurality of test parameters; the test data set corresponding to the test parameter set is obtained, and the test data set is associated with the test parameters, so that the test codetests according to the test data in the test data set. The invention solves the technical problem in the prior art that the test data need to be searched and replaced in the test code when the test data is modified when the app test is carried out, and the test efficiency is low.

Description

technical field [0001] The invention relates to the field of automated testing, in particular to a method and device for determining testing data. Background technique [0002] When using a commercial or open source mobile terminal APP automated testing tool to write a test program, the test data is directly written in the test code. However, when the test data needs to be modified, it is necessary to find and replace the data in the code, and then recompile and execute, which is not convenient for the change and unified management of the test data, and the efficiency is low. [0003] Aiming at the problem in the prior art that the test data needs to be searched and replaced in the test code when modifying the test data during the app test, resulting in low test efficiency, no effective solution has been proposed yet. Contents of the invention [0004] Embodiments of the present invention provide a method and device for determining test data, so as to at least solve the t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 黄莺王燕燕张兰刘均华祝君平
Owner POSBANK