Test method, device and electronic equipment

A technology of electronic equipment and test method, applied in the field of testing, can solve the problems of poor generality of test methods, and achieve the effect of realizing control test and improving generality

Inactive Publication Date: 2017-09-29
BANMA ZHIXING NETWORK HONGKONG CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the embodiment of the present application, a test method, device and electronic equ

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, device and electronic equipment
  • Test method, device and electronic equipment
  • Test method, device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It is a flow chart of the test method in Example 1 of the present application. Such as figure 1 As shown, the test method according to the first embodiment of the application comprises the following steps:

[0025] S101, create a configuration file in advance, the configuration file includes position information corresponding to the control under one or more operating parameters, and the position information is used to identify the corresponding position of the control when it is displayed on the display screen of the electronic device Location;

[0026] S102, acquiring the current operating parameters of the control;

[0027] S103, query the position information of the control under the current operating parameters from the configuration file;

[0028] S104. According to the location information and the type of the control, the simulated input device performs a corresponding test operation on the control.

[0029] During specific implementation, in a spec...

Embodiment 2

[0081] figure 2 It is a flow chart of the testing method shown in Example 2 of the present application.

[0082] Such as figure 2 As shown, according to the test method shown in Embodiment 2 of the present application, the test method comprises the following steps:

[0083] S201, the user uses a coordinate measurement tool to measure the corresponding position information of the control under the current operating parameters;

[0084] S202. Receive location information input by the user through the setting page;

[0085] S203. According to the location information and the type of the control, the simulated input device performs a corresponding test operation on the control.

[0086] During specific implementation, the location information may include coordinate information of the control on the screen. Specifically, the coordinate information can be based on the upper left corner of the screen as the origin, the positive direction of the x-axis is horizontally to the rig...

Embodiment 3

[0097] image 3 It is a schematic structural diagram of the test device shown in Example 3 of the present application.

[0098] Such as image 3 As shown, according to the third embodiment of the present application, the test device 300 includes: a location information acquisition module 301, configured to acquire the location information of the control, and the location information is used to identify that the control is displayed on the display screen of the electronic device the corresponding position; the test operation simulation module 302 is configured to simulate the input device of the electronic device to perform a corresponding test operation on the control according to the position information and the type of the control.

[0099] During specific implementation, the location information acquisition module may specifically be used to: read the location information of the control from a pre-created configuration file; or measure the location information of the contr...

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 embodiment of the application provides a test method, device and electronic equipment. The method comprises the steps that the position information of a control is acquired, wherein the position information is used for marking the corresponding position when the control is displayed on a display screen of the electronic equipment; based on the position information and the type of the control, corresponding test operation is carried out on the control by simulation of input equipment of the electronic equipment. By means of the test scheme, a control test of a multi-operation system and a multi-application program can be better achieved, and the universality can be improved.

Description

technical field [0001] The present application relates to testing technology, in particular to a testing method, device and electronic equipment. Background technique [0002] After the application program is designed, in order to test the function of the control in the application program, the control needs to be tested. [0003] In the prior art, the automated testing of controls is usually realized by simulating left / right mouse clicks, mouse movement, window / control operations, keyboard input, and other operations by specific testing software. AutoIt is one of such testing software. AutoIt is used for functional testing of controls in Windows systems. The implementation of AutoIt is as follows: determine the application program where the target control is located according to the test requirements; send instructions to simulate user operations to the target control through the interface with the application program. [0004] Using the solution in the prior art, when 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
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 刘金龙
Owner BANMA ZHIXING NETWORK HONGKONG CO 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