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

Machine learning-based automatic application interface test method and test system

A technology of application program interface and test method, which is applied in the field of electrical data processing, can solve problems such as manpower consumption, low test efficiency, and inability to simulate material resources, and achieve the effects of saving labor costs, reducing image marking costs, and saving financial costs

Active Publication Date: 2018-01-19
上海巍擎信息技术有限责任公司
View PDF9 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide a machine learning-based automated application program interface testing method and test system to solve the problems of prior art application program interface testing that consumes manpower and material resources, cannot simulate user operation steps, and has low test efficiency.

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
  • Machine learning-based automatic application interface test method and test system
  • Machine learning-based automatic application interface test method and test system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Such as figure 1 Shown is a flow chart of a machine learning-based automated application program interface testing method shown in an exemplary embodiment of the present invention, and the testing method includes the following steps:

[0024] Step S101, when it is determined that the acquired UI interface of the application program to be tested appears for the first time, convert the UI interface into a picture.

[0025] In the embodiment of the present invention, the application program interface is usually expressed by a UI interface, and the application program to be tested can be scanned by a preset automatic scanning tool during testing. Preferably, the automatic scanning tool is an automatic scanning tool made by Python, such as using Python to write test logic on the open source testing tool Appium to test the application programs of Andorid and IOS. It can be understood that the application program to be tested includes but is not limited to: mobile terminal ap...

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 machine learning-based automatic application interface test method and test system. The test method comprises the steps of converting a UI into a picture when it is judged that the obtained UI of a to-be-tested application occurs for the first time; inputting the obtained picture to a preset UI classifier to obtain a type of the UI, wherein the UI classifier is a UI classifier based on a GAN (Generative Adversarial Networks) and a CNN (Convolutional Neural Nework); according to the type of the UI, obtaining a corresponding test outline script from a preset test outlinescript library; matching the test outline script with a layout of the UI to obtain a test script corresponding to the UI; and testing the UI through the test script. The picture tagging cost can be effectively reduced; and the test scene validity and the test efficiency are greatly improved.

Description

technical field [0001] The invention belongs to the field of electrical data processing, and in particular relates to a machine learning-based automatic application program interface testing method and testing system. Background technique [0002] Applications often determine their usefulness and security through testing of their interfaces. The existing technology usually uses manual and automated testing methods when testing the application program interface: artificially means that people test the application program interface, which will consume a lot of labor costs; automated testing is to test each type of application program Write corresponding test scripts to realize automated testing of the application program interface through test scripts, but writing test scripts for each type of application not only consumes labor costs, but also consumes material resources. In addition, the traversal tools for automated testing generally use depth-first or breadth-first logic ...

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/36G06N3/04G06N3/08
Inventor 陈家林黄宗纬蒋鑫
Owner 上海巍擎信息技术有限责任公司
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