Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for software testing

A technology for software testing and testing, applied in software testing/debugging, etc., can solve problems such as poor usability, complicated operation, and low testing efficiency, and achieve the goals of improving efficiency, strong usability, and reducing professionalism and complexity Effect

Active Publication Date: 2018-12-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a method for software testing to solve the problems of complex operation, low testing efficiency and poor usability when performing software testing on existing mobile terminals based on the Android operating system

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 device for software testing
  • Method and device for software testing
  • Method and device for software testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 The implementation flow of the software testing method provided by the first embodiment of the present invention is shown, and the process is described in detail as follows:

[0023] In step S101, information about starting the program to be tested is received.

[0024] In practical applications, a button to start the test program can be preset at the terminal of the program to be tested, or an instruction to start the test program can be set directly (such as clockwise or counterclockwise sliding instructions on the touch screen, or numbers and / or letters on the keyboard). Combination, etc.), after receiving the start instruction from the user clicking the button or sending out, or receiving the trigger information to start a certain test program generated by the terminal where the program is located according to the preset time interval, start to run the test program. Test program for testing. Wherein, the button click instruction or the start instruction m...

Embodiment 2

[0046] figure 2 The composition structure of the software testing device provided by the second embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0047] The software testing device can be a software unit, a hardware unit or a combination of software and hardware running in a terminal device (preferably a mobile terminal, such as a mobile phone, a tablet computer, a palmtop computer, etc.), or it can be integrated into the described in the terminal device or run in the application system of the terminal device.

[0048] The software testing device includes an information receiving unit 21 , a control acquiring unit 22 , an event recording unit 23 and a script generating unit 24 . Among them, the specific functions of each unit are as follows:

[0049] An information receiving unit 21, configured to receive information for starting the program to be tested;

[005...

Embodiment 3

[0068] image 3 A structural block diagram of a terminal device is shown, and the terminal device can be used to implement the software testing method provided in the foregoing embodiments.

[0069] Such as image 3 As shown, the terminal device 1200 may include an RF (Radio Frequency, radio frequency) circuit 110, a memory 120 including one or more (only one is shown in the figure) computer-readable storage media, an input unit 130, a display unit 140, a sensor 150 , an audio circuit 160 , a transmission module 170 , a processor 180 including one or more than one (only one is shown in the figure) processing cores, a power supply 190 and other components. Those skilled in the art can understand that, image 3 The structure of the terminal device 1200 shown in the above does not constitute a limitation to the terminal device 1200, and may include more or less components than shown in the figure, or combine certain components, or arrange different components. in:

[0070] Th...

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 is suitable the technical field of software tests, and provides a method and a device for software tests. The method comprises the following steps: receiving information for starting program to be tested; obtaining a control related to the program to be tested; monitoring an operation event for the control by a use through a pre-created monitor and recording the monitored operation event; generating a corresponding test script according to the operation event. According to the method and the device, the assistance of third-party equipment is not required during the software tests; in the test process, the user does not need to input a shell instruction, so that the professional degree and the complexity of the tests are reduced and the efficiency of the tests is improved.

Description

technical field [0001] The invention belongs to the technical field of software testing, in particular to a method and device for software testing. Background technique [0002] Existing mobile terminals based on the Android (Android) operating system need to be connected to a computer when performing software testing, by installing the driver tool that comes with Android on the computer or by using a universal serial bus to achieve a connection with the peripheral device. Connect and configure the socket communication parameters, display it on the computer through a standard small window toolbox (such as SWT), and obtain the information of the tested software of the mobile terminal through the shell command at the bottom layer to generate corresponding test scripts, The operation is more complicated and the test efficiency is lower. But also need the assistance of computer, ease of use is relatively poor. Contents of the invention [0003] The embodiment of the present ...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 邓曦万宇谢少佳蒋志毅沈杨
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products