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

Automated testing method and device

An automated test and test configuration technology, applied in the computer field, can solve problems such as high maintenance cost, impact, and long operation time

Active Publication Date: 2018-06-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional test method, test scenarios of the client are constructed through test scripts, and the test scripts need to be continuously maintained as the application is updated. The writing complexity of test scripts is high, the construction of test scenarios is difficult, and the maintenance cost is high.
Moreover, the operation configuration test often requires different test environments. The traditional test uses a virtual machine to construct the test environment. Since operations such as restoring the virtual machine and copying files take a long time, it seriously affects the operation configuration test that requires high timeliness.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] figure 1 It is an application environment diagram of the automated test method in an embodiment. Such as figure 1 As shown, the application environment includes a terminal 110 and a server 120, wherein the terminal 110 and the server 120 communicate through a network.

[0032] The terminal 110 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but is not limited to this. The server 120 is used to send a test request to the terminal 110. The terminal 110 establishes the corresponding test environment and triggers the corresponding test scenario according to the configuration information carried in the test request, and obtains the test configuration resource data from the server 120, and performs the test according to the test configuration resource data. Test in the environment and test scenarios.

[0033] In one embodiment, figure 1 The internal structure of the terminal 110 in figure 2 As shown, the terminal 110 includes a processor, ...

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 an automated testing method and device. The method comprises the steps of: receiving a test request, wherein the test request comprises test task information and the test taskinformation comprises test environment configuration information and test scene configuration information; acquiring an extensible markup language (XML) environment configuration file, parsing the XML environment configuration file to obtain environment configuration parameters matched with the test environment configuration information and establishing a corresponding test environment accordingto the environment configuration parameters; acquiring an XML scene configuration file, parsing the XML scene configuration file to obtain scene configuration parameters matched with the test scene configuration information, calling a scene triggering interface according to the scene configuration parameters to trigger a corresponding test scene; and acquiring test configuration resource data andtesting in the test environment and the test scene according to the test configuration resource data. The method has the advantages that the constructing efficiency of the test environment is increased and the test scene can be quickly and conveniently constructed.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for automated testing. Background technique [0002] With the development of computer technology, a large number of client applications are released, and it is necessary to test the functions of the application and troubleshoot before release. Operational configuration test refers to the test that needs to obtain resource configuration. For example, after the computer manager application Lightning anti-virus is completed, the vulnerability repair is displayed. It is necessary to obtain the scene name, vulnerability repair icon, edit text, etc. After the antivirus is completed, the corresponding vulnerability repair icon and text will be displayed. [0003] Traditional testing methods use test scripts to construct client-side test scenarios. As applications are updated, test scripts need to be maintained continuously. The complexity of writing test scripts ...

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
CPCG06F11/3672
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