Method and system for recording automatic testing scripts by combining intelligent terminal and computer terminal

An automated test and smart terminal technology, applied in the field of test scripts, can solve the problems of poor applicability in the test field and easy to cause false positives, etc., and achieve the effect of reducing the probability of test report errors and high efficiency

Inactive Publication Date: 2015-12-09
PHICOMM (SHANGHAI) CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most of the test script recording methods are aimed at the location that is not the control that needs to be tested, and its applicability in the test field is not strong, and it is easy to cause false positives

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 system for recording automatic testing scripts by combining intelligent terminal and computer terminal
  • Method and system for recording automatic testing scripts by combining intelligent terminal and computer terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0044] It should be noted that the diagrams provided in this embodiment are only schematically illustrating the basic idea of ​​the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the components in actual implementation. Dimensional drawing, the type, quantity and proportion of each component can be changed arbitrarily during actual impleme...

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 provides a method and system for recording automatic testing scripts by combining an intelligent terminal and a computer terminal. The method comprises the steps that a current interface of the intelligent terminal is displayed on the computer terminal, and the computer terminal monitors touch action occurring on a screen of the intelligent terminal; whether the starting point position and the finishing point position of the touch action are the same is judged; if the starting point position and the finishing point position of the touch action are the same, click events are set up; if the starting point position and the finishing point position of the touch action are different, slide events are set up; according to the set-up events, monitored control information corresponding to the touch positions is obtained and recorded; according to the set-up events and the control information, the automatic testing scripts are recorded. According to the method and system for recording the automatic testing scripts by combining the intelligent terminal and the computer terminal, coordinates of a control needing to be tested are obtained in real time, and therefore the probability of test report mistakes caused by control moving is reduced; the testing operation condition is monitored in real time by checking the control information events.

Description

technical field [0001] The invention relates to the technical field of test scripts, in particular to a method and system for recording automated test scripts in combination with an intelligent terminal and a computer terminal. Background technique [0002] Automated testing is a process of transforming human-driven testing behavior into machine execution, which is executed step by step according to the description of the test case, and the comparison between the actual result and the expected result will be obtained. In the process of automated testing, no human action is required, and the machine installs the test script and executes the test by itself. Such automated testing can not only save a lot of human resources, but also effectively improve testing efficiency. [0003] Obviously, test scripts are very important to automated testing, which determines the effect of test running. Usually test scripts include the following categories: [0004] 1) Linear script [00...

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
Inventor柏琼
OwnerPHICOMM (SHANGHAI) CO LTD