Unlock instant, AI-driven research and patent intelligence for your innovation.

Data-driven script library method and system based on FitNesse framework and medium

A data-driven, script library technology, applied in the field of software programming, can solve the problems of cumbersome scripts, weak abstract thinking of scripts, low generality of automated scripts, etc., to achieve the effect of improving efficiency and reducing workload

Inactive Publication Date: 2021-03-19
SHANGHAI WANXIANG BLOCK CHAIN CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The automation solution based on the FitNesse framework is suitable for test teams with no programming experience. The abstract thinking of scripts is weak, which may easily lead to problems such as low versatility of automation scripts, dependence on existing data in the environment, frequent maintenance of scripts, and cumbersome scripts.

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
  • Data-driven script library method and system based on FitNesse framework and medium
  • Data-driven script library method and system based on FitNesse framework and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] A kind of method based on the data-driven script storehouse of FitNesse frame provided by the present invention comprises:

[0032] Step 1: After starting the FitNesse framework, write a test script that conforms to the automation specification;

[0033] Step 2: Add Local Scenario (partial common script) above the test script as a parameterized common script, and the text of the test script calls the scenario (common script segment) interface in Local Scenario;

[0034] Step 3: After calling the scenario interface in Local Scenario, create a hierarchical structure in Scenario Library;

[0035] Step 4: Put the scenario in the Local Scenario into the level corresponding to the Scenario Library (general script library). The upper test script can automatically include Scenario Library (import the general script library);

[0036] Step 5: In the upper-level test script, call the scenario of the Scenario Library by using one line of parameterized calls, which can greatly re...

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 provides a data driving script library method and system based on a FitNesse framework and a medium, and the method comprises the steps: 1, starting the FitNesse framework, and compilinga test script which fits a preset automation specification; 2, adding a local common script as a parameterized common script above the test script, and calling a common script segment interface in the local common script in the text of the test script; 3, after calling and calling of the common script segment interface, creating a hierarchical structure in the universal script library; 4, puttingcommon script sections in the local common scripts into a hierarchy corresponding to a universal script library, and automatically importing an upper-layer test script into the universal script library; and 5, in the upper-layer test script, reducing the number of script lines for a common script section of the universal script library by adopting one-line parameterized calling. According to themethod, the problem of reusability of similar scripts is solved through a set of methodology of a general script library, the method does not depend on any environment, and the script maintenance workload can be greatly reduced.

Description

technical field [0001] The present invention relates to the technical field of software programming, in particular to a method, system and medium of a data-driven script library based on the FitNesse framework. Background technique [0002] The automation solution based on the FitNesse framework is suitable for test teams with no programming experience. It is weak in the abstract thinking of scripts, which can easily lead to problems such as low versatility of automation scripts, dependence on existing data in the environment, frequent maintenance of scripts, and cumbersome scripts. [0003] Patent document CN104778124A (application number: CN201510170813.X) discloses a method for automated testing of software applications, including the following steps: a) acquiring reusable functions and / or scripts based on various automated testing tools; The scripts and / or functions of the automated testing tools are mapped using keywords and packaged into a framework language; c) using ...

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): G06F9/455G06F11/36
CPCG06F9/45512G06F11/3672
Inventor 谢怡珺
Owner SHANGHAI WANXIANG BLOCK CHAIN CO LTD