Test method and device under multi-environment

A test method and environment configuration technology, applied in the computer field, can solve problems such as difficult debugging, high error risk, and increased test code complexity, so as to reduce debugging costs and avoid data errors

Active Publication Date: 2016-03-30
ALIBABA GRP HLDG LTD
View PDF7 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) Using the multi-version test code method, the same test scenario needs to generate multiple sets of test codes with different test data for different test environments, and the maintenance cost is doubled. For example, if a test scenario is executed in 3 test environments , the maintenance cost is 3 times that of executing in a single test environment
[0006] (2) The multi-version test code method needs to manage the corresponding relationship between the test code and the test environment, which increases the implementation cost and

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 method and device under multi-environment
  • Test method and device under multi-environment
  • Test method and device under multi-environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The main idea of ​​the present application is to separate the processing logic of environment parameters from the execution of test scripts, so as to avoid increasing the complexity of logic and reduce debugging costs.

[0030] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0031] According to an embodiment of the present application, a testing method in various environments is provided.

[0032]...

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 application provides a test method and device under multi-environment; the method comprises the following steps: obtaining user set environment parameters and pre-configured common data, wherein the environment parameters comprise at least one environment label and environment configure data respectively corresponding to the at least one environment label, and the common data refers to the common data in the multi-environment; generating and executing corresponding test scripts respectively aiming at each of the at least one environment label according to the environment parameters and the common data. The method and device can test same test scene under various test environments, thus preventing logic complexity, reducing debug cost, preventing data error in execution, and realizing test script uniqueness under the specific test environment.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a testing method and device in various environments. Background technique [0002] Software testing is the process of using testing tools to perform testing operations according to a certain testing plan and process. The purpose is to find potential defects in the software, reduce the cost of software development and maintenance, and promote the improvement of software quality. It is an indispensable process for software development. . With the continuous improvement of software function complexity, the corresponding automated testing technology is also constantly developing and improving. UI (User Interface) automated testing, as an automated testing mode closest to user functional requirements, is indispensable in the entire automated testing system. [0003] With the development of UI automation technology, there are more and more scenarios for automation, and th...

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 钱闺臣夏大伟
Owner ALIBABA GRP HLDG 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