Test script generation method, test script generation device, testing method, testing device and testing system

A technology for test scripts and generating devices, which is applied in the fields of test methods, test script generation methods and devices, test systems, and test devices, and can solve the problem that scripts cannot adapt to the test environment, it is difficult to adapt to the actual situation of software, and the reusability of test scripts is low. and other issues to achieve the effect of improving reusability, simple and fast iteration, and high readability

Active Publication Date: 2015-11-18
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF3 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, QTP requires testers to write test scripts, which has certain requirements on the technical ability of testers, and the test process is relatively cumbersome; the execution process of test scripts is fixed, and the reusability of test scripts is low. When the overall requirements change Sometimes, scripts often cannot adapt to the new test environment, and need to be rewritten; QTP can only simulate the fixed execution mode, and it is difficult to adapt to the changing actual situation of the software.

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 script generation method, test script generation device, testing method, testing device and testing system
  • Test script generation method, test script generation device, testing method, testing device and testing system
  • Test script generation method, test script generation device, testing method, testing device and testing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0098] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0099] see figure 1 , is a flowchart of an embodiment of the test script generation method provided by the present invention.

[0100] The test script generation method includes steps S11 to S13:

[0101] S11 , selecting a behavior tree node from a preset node library according to the tester's instruction, and constructing a behavior tree corresponding to the test case.

[0102] In a specific implementation, in addition to setting the node library locally, the no...

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 discloses a test script generation method, a test script generation device, a testing method, a testing device and a testing system. The test script generation method comprises the following steps of: selecting behaviour tree nodes from a preset node library according to instructions of testers, and constructing a behaviour tree corresponding to a test case; transforming the behaviour tree into an XML file; analyzing the XML file, and generating a test script. According to the invention, test processes may be simplified, requirements on technical capacity of the testers may be lowered, and accumulation and reuse of test codes may be facilitated.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method and device for generating test scripts, a testing method, a testing device and a testing system. Background technique [0002] Among the existing test methods, there are mainly two representative ones: [0003] 1. Traditional testing methods [0004] The traditional test method is generally to list the test points and test cases according to the test requirements, and then write the test script according to the listed test cases for testing. For example, the Xmind test case design method and the Excel test case design method, the Xmind test case design method helps to design the use case by listing the points that a system needs to test; the Excel test case design method provides the test case in the form of a table Detailed test content, test steps and expected results. [0005] However, the test cases written by traditional testing methods are difficult to reuse, whi...

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
Inventor 叶均杰
Owner NETEASE (HANGZHOU) NETWORK 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