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

UI test data generation method, apparatus and device, and readable storage medium

A technology of test data and interface testing, applied in the field of artificial intelligence, can solve problems such as poor maintainability of test cases, error-proneness, and low efficiency of test case execution

Pending Publication Date: 2019-08-16
WEBANK (CHINA)
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing UI test process, it is necessary to manually select the interface test case corresponding to the UI test case. The entire test case is not managed through configuration mapping and only depends on the business experience of the tester. The maintainability of the test case is poor. Testers need to prepare data again, it may not be clear which interface test cases to execute to prepare data
Moreover, for the data returned after the execution of the interface test case, it is necessary to manually fill in the required variable values ​​into the UI test case, which cannot automate the entire process, resulting in error-prone in the process of writing a large number of use cases. Inefficient test case execution

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
  • UI test data generation method, apparatus and device, and readable storage medium
  • UI test data generation method, apparatus and device, and readable storage medium
  • UI test data generation method, apparatus and device, and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.

[0038] It should be noted that in the existing UI testing process, it is necessary to manually select the interface test case corresponding to the UI test case. The entire test case is not managed by configuration mapping, and only depends on the tester’s business experience. The test case maintainability is poor If a new tester needs to prepare the data again, he may not know which interface test cases to execute to prepare the data. Moreover, for the data returned after the execution of the interface test case, it is necessary to manually fill in the value of the variable that needs to be used in the UI test case. The entire process cannot be automated, which leads to errors in the process of writing a large number of use cases. The test case execution efficiency is low.

[0039] Based on the above defects, the pres...

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 UI test data generation method, apparatus and device, and a readable storage medium and the method comprises the following steps: obtaining an identifier of an interface testcase mapped with the identifier of the UI test case according to a preset mapping relation when an execution instruction for executing the UI test case is received; sending the identifier of the interface test case to a server to enable the server to execute the interface test case, and feeding back a first variable value corresponding to a first variable name of the interface test case; and obtaining a second variable value corresponding to a second variable name of the UI test case according to the first variable name and the first variable value of the interface test case, and taking the second variable name of the UI test case and the corresponding second variable value as test data. Full-process automation of UI test case execution is realized, so that the UI test efficiency, accuracy and maintainability are improved.

Description

Technical field [0001] The present invention relates to the field of artificial intelligence technology, in particular to a method, device, equipment and readable storage medium for generating UI test data. Background technique [0002] With the development of computer technology, more and more technologies (big data, distributed, blockchain, artificial intelligence, etc.) are applied in the financial field. The traditional financial industry is gradually transforming to Fintech. However, due to financial The industry's security and real-time requirements also place higher requirements on technology. [0003] After the application program is developed, it is necessary to perform UI (User Interface) testing on the application program in order to discover problems in time and modify and improve the application program according to the test results. The software development of some large-scale application service projects involves multiple external interfaces of third-party software ...

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/3684G06F11/3688
Inventor 骆春光王惠惠曾庆熙曾波晋晓峰李晶
Owner WEBANK (CHINA)
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