Test method and test device

A technology of testing device and testing method, which is applied in the computer field and can solve problems such as low testing efficiency

Active Publication Date: 2015-04-29
ALIBABA GRP HLDG LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present application provides a test method and device to solve the problem of frequent maintenance of test scripts and low test efficiency in the prior art

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
  • Test method and test device
  • Test method and test device
  • Test method and test device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to avoid frequent changes or even rewriting of the test script due to changes in the attribute information of the controls in the application under test, to improve test efficiency, only the identification of the control to be tested is written in the test script in the embodiment of the application, and the test device can be The attribute information of the control is acquired by calling the control proxy class corresponding to the identifier, and the tested space is tested according to the acquired attribute information of the control.

[0023] The embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

[0024] figure 1 The testing process provided for the embodiment of this application specifically includes the following steps:

[0025] S101: The test device runs a test script to determine the identifiers of the controls included in the test script.

[0026] In the embodiment of the present ...

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

The invention discloses a test method and a test device, which are used for solving the problems that in the prior art, a test script needs to be frequently maintained, and the test efficiency is lower. The test method comprises the steps of calling a control proxy class corresponding to a mark by the test device according to the mark of a control contained in the test script, obtaining the attribute information of the control corresponding to the mark in a tested application through the called control proxy class, and testing the tested application according to the obtained attribute information of the control. Through the test method disclosed by the invention, the test script has no need to be compiled according to the attribute information of the control in the tested application, the attribute information of the control can be obtained just by writing in the mark of a tested control through the corresponding control proxy class, the changed attribute information also can be directly obtained through the control proxy class even if the follow-up attribute information of the control is changed, the test script has no need to be changed or rewritten, thus the test script has no need to be maintained, and the test efficiency can be effectively increased.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a testing method and device. Background technique [0002] With the development of computer technology, applications that can provide users with various services emerge in an endless stream, and in order to ensure the usability of applications, it is necessary to test the applications. [0003] In the prior art, when testing an application, it is usually necessary to write a corresponding test script according to the attribute information of the control in the application (such as the position information of the control on the interface of the application, etc.), and pass the test. The script tests the application. [0004] When using the test script to test the application, the test script executes a preset test operation on the control according to the attribute information of the control in the application, so as to realize the test of the application. [0005] F...

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
Inventor 胡洪卫
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products