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

Cloud testing method and device

A cloud testing and test script technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as weak script compatibility, lack of stability, unstable mobile phone remote control software, etc., to improve test efficiency, The effect of enhancing compatibility

Inactive Publication Date: 2016-07-06
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF5 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, this technology has the following problems: First, this technology is currently mainly used for automatic testing of PC-side games. If it is used to test mobile games, it needs the remote control software (such as vncserver) of the mobile phone, and the current mobile phone remote control software does not Unstable, far less stable than native interface control
[0005] However, this technology has the following problems: First, this technology is based on the percentage of the coordinates on the screen for script recording, which is difficult for devices with different resolutions, and the script compatibility is weak
Secondly, the technical script is edited as an XML file, which lacks scalability

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
  • Cloud testing method and device
  • Cloud testing method and device
  • Cloud testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 1 is a schematic diagram of a cloud test system architecture shown according to an exemplary embodiment, such as figure 1 As shown, the test method described in this embodiment is based on the system architecture, the mobile device to be tested is connected to the computer on the server side, and all computers connected to the mobile device are a server, and these servers form a device cloud to be called by the Web side. The server manages and monitors the mobile devices connected to it, and can support the access of Android and Apple devices. On the Web side (that is, the browser side used by the user), it is displayed synchronously in real time whether these devices have been connected and whether they are occupied. In this way, the user does not need to carry the device with him during the automated test, and can realize remote recording and playback of different devices and different platforms only through the browser.

[0048] figure 2 is a flow chart of...

Embodiment 2

[0068] image 3 is a flow chart of a cloud testing method according to an exemplary embodiment, as shown in image 3 As shown, the cloud testing method described in this embodiment includes:

[0069] In this embodiment, a device screen area, a tool area, and an editing area are provided on the display interface of the client through step S310.

[0070] In this embodiment, through step S320, when the operation of the tool area initiates the task of performing a preset program test on the first mobile device remotely connected and synchronously recording the test script, the first mobile device is remotely controlled to be installed and started. the preset program.

[0071] In this embodiment, the screen area of ​​the device presents the interface content after scaling the interface of the first mobile device to the same size as the screen area of ​​the device through step S330.

[0072] In this embodiment, through step S340, the first mobile device is remotely operated throu...

Embodiment 3

[0087] Figure 4 is a flow chart of a cloud testing method according to an exemplary embodiment, as shown in Figure 4 As shown, the cloud testing method described in this embodiment includes:

[0088] In this embodiment, a device screen area, a tool area, and an editing area are provided on the display interface of the client through step S410.

[0089] In this embodiment, through step S420, when the task of performing a preset program test on the first mobile device remotely connected and synchronously recording a test script is initiated through the tool area, the first mobile device is remotely controlled to install and start the preset program. program.

[0090] In this embodiment, through step S430 , the screen area of ​​the device presents the interface content after scaling the interface of the first mobile device to the same size as the screen area of ​​the device.

[0091] In this embodiment, through step S440, the first mobile device is remotely operated through ...

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 relates to a cloud testing method and device. The method comprises the steps of providing an equipment screen area, a tool area and an edit area on a display interface of a client; when a test script is recorded, presenting an interface content after the interface of first mobile equipment is scaled to the same size as the equipment screen area in the equipment screen area, remotely operating the first mobile equipment via the equipment screen area, synchronously generating a test script based on an operation picture of the equipment screen area, and synchronously presenting the test script in the edit area. According to the technical solution, script recording is performed on the basis of the display interface of the Web end, so that the method and the device can be applied to equipment with different resolutions, realize automatic test by playing back scripts in batch, can enhance the compatibility of the test script and can improve the testing efficiency during batch test.

Description

technical field [0001] The present disclosure relates to the technical field of automated testing, in particular to a cloud testing method and device. Background technique [0002] At present, related technologies based on picture script recording and playback include sikuli (sikuli is a novel graphic scripting language, which is a novel graphic scripting language designed by MIT researchers. Computer users only need to have the most basic programming skills. To write a line of code, but to use screenshots to combine the cut out graphic elements to create a magical program), this technology is a test tool based on the template matching of the computer vision open source library opencv, and the test script uses python or ruby Code writing, semi-automatic screenshots and automatic generation of test codes can be completed through IDE (Integrated Development Environment, integrated development environment), and testing can be done when there is no app source code, and cross-pla...

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/36G06F3/0483
CPCG06F3/0483G06F11/3688
Inventor 徐祖亮
Owner NETEASE (HANGZHOU) NETWORK 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