Supercharge Your Innovation With Domain-Expert AI Agents!

Framework construction method for variable storage and use and computing device

A construction method and variable technology, applied in the information field, can solve the problems of increasing the workload of the search file switching interface, low use efficiency, configuration and page elements are easy to call errors, etc., so as to avoid the search file switching interface and solve the low efficiency of use Effect

Pending Publication Date: 2022-04-26
厦门立林科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] like figure 1 As shown, the existing Robot Framework and its supporting Robot Framework RIDE, the storage and use functions of the configuration information and / or page element information that come with it have a large amount of configuration information and / or page element information. The problem of low efficiency and easy call errors of configuration and page elements is mainly due to the storage method of configuration and page elements using variables. In the script tree structure, each variable occupies a node alone. When the amount of variables is large In some cases, it is inconvenient to view and maintain the tree structure. At the same time, when variables need to be grouped, it is necessary to create new variable files, which increases the number of files and further increases the cost of use and maintenance. On the other hand, when multiple When two variables have the same name, they will not be prompted, but will overwrite each other, resulting in unexpected errors in automated test scripts that fail to run as expected.
like figure 2 As shown, the industry often uses external files to store configuration information and / or page element information to solve this problem, but this method is inefficient. When writing and maintaining automation scripts, all operations can be completed in one interface. The way of external files needs to open the second interface to realize, which increases the workload of finding files and switching interfaces brought about by the use process

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
  • Framework construction method for variable storage and use and computing device
  • Framework construction method for variable storage and use and computing device
  • Framework construction method for variable storage and use and computing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0033] Please refer to image 3 and Figure 4 As shown, the present invention discloses a frame construction method for storage and use of variables, including the following steps:

[0034] S1, create the first resource file, the first resource file sets the variable classification name through the new keyword; the variable of the first resource file includes configuration information and / or page element information;

[0035] In this embodiment, the page element information is defined as: in the field of automated testing, for the testing of web pages, it is necessary to know the position of each button or input box in the page to be operated and store it in the automated testing script in advance for the script to run When called, in the field of automated testing, these stored contents are generally referred to as page elements for short.

[0036] Step S1 specifically includes:

[0037] S11, create a new automated test project through Robot Framework RIDE;

[0038] S12. ...

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 framework construction method for variable storage and use, which comprises the following steps: S1, creating a first resource file, and setting a variable classification name for the first resource file through a new keyword; variables of the first resource file comprise configuration information and / or page element information; s2, a second resource file used for automatic testing is created, a resource library and a configuration import library are imported into the second resource file, and the configuration import library is provided with a preset identifier and a path of the first resource file; s3, identifying the configuration import library; and S4, loading a variable of the first resource file by reading a path of the first resource file of the configuration import library.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a frame construction method and computing equipment for storing and using variables. Background technique [0002] In the field of automated testing frameworks, Robot Framework is an open source automated testing framework widely used around the world. Combined with its supporting Robot Framework RIDE script editor, it provides many functions in actual automated testing work, including configuration information and / or storage and use functions of page elements. [0003] Such as figure 1 As shown, the existing Robot Framework and its supporting Robot Framework RIDE, the storage and use functions of the configuration information and / or page element information that come with it have a large amount of configuration information and / or page element information. The problem of low efficiency and easy call errors of configuration and page elements is mainly due to the storage me...

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
CPCG06F11/3664G06F11/3668
Inventor 王秋瑶
Owner 厦门立林科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More