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

Automatic testing method based on windows underlying API (Application Program Interface) without service network

An automated testing and service network technology, applied in the field of client UI automated testing, can solve problems such as inability to obtain test results, increase in software code size, large time costs and labor costs, etc., to improve test execution efficiency, save time and cost, The effect of reducing human dependence

Pending Publication Date: 2022-03-04
南京万得资讯科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Embedding test stubs in software development provides an effective guarantee for automated testing, so existing automated testing methods rely on pre-embedded test stubs
Embedding test stubs in the software development process will not only increase the size of the software code itself, but also reduce the efficiency of software development to a certain extent.
[0003] Existing mainstream automated testing tools have two test prerequisites when performing client UI automated testing: the first test premise is that the overall test process needs to rely on the support of the service network, otherwise the background data cannot be obtained, and correctness cannot be obtained. test results
The client UI automation test is usually tested in a non-production environment (for example: test station environment), and the process of building the test station and synchronizing the test data with the master station data requires a lot of time and labor costs, and the test station Data maintenance is also relatively cumbersome
Without the support of background services, UI automation testing cannot be performed to ensure the stability of the client front-end UI

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
  • Automatic testing method based on windows underlying API (Application Program Interface) without service network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Below in conjunction with specific embodiment, further illustrate the present invention. It should be understood that these examples are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the teachings of the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms also fall within the scope defined by the appended claims of the present application.

[0029] The present invention provides an automated testing method for implementing bytecode implantation based on the underlying API functions of the system. The present invention does not need to modify the source code of the target program, and can realize automated testing, which reduces the cost of automated development and improves testing efficiency. The code is non-invasive. Different from other hook technologies, the u...

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 an automatic testing method based on a Windows underlying API without a service network. The automatic testing method is used for realizing client UI automatic testing based on the Windows underlying API in an environment without the service network. The core of the invention lies in that the dependence of a real service network environment on the UI automatic test of the client is eliminated, and the support of a test server is not needed (a test service deployment step is omitted). In the technical scheme provided by the invention, all operation behaviors of the client based on the Windows underlying API can be regarded as calling of the underlying API. The TestTool tool set can achieve the effect of simulating a server network by intercepting and tampering messages and communication contents, background data needing to be tested by testers are returned, the MOCK test effect is achieved, and therefore the stability and robustness of UI interface display of a client side are guaranteed.

Description

technical field [0001] The invention relates to a client UI automation test method, in particular to a test method based on intercepting Windows underlying APIs to implement client UI automation test in a serverless network environment. Background technique [0002] In the era of rapid development of the software testing industry, automation technology has become the core skill of the testing industry. Automated testing has many advantages, such as: improving test execution efficiency, saving time and cost, thus freeing manpower to do more important work; reusable, reducing dependence on humans, and greatly reducing the workload of compatibility testing. At present, there are some very mature and stable open source automated testing tools used to implement mainstream client UI automated testing, such as UI Automator, Selenium, AutoIT, WinRunner, etc. These mainstream automated testing tools need to embed test stubs in advance in software development. When UI automation test...

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/3688G06F11/3692
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