Automated testing method, device, computer device and storage medium
An automated testing and computer device technology, applied in the testing field, can solve the problems of high input cost, poor output effect, whole-process background logic coverage and less database verification, etc., so as to improve testing efficiency, reduce testing cost, and improve testing efficiency. quality effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] refer to figure 1 As shown, it is a schematic diagram of the application environment architecture of the automated testing method provided by Embodiment 1 of the present invention.
[0028] The automated testing method of the present invention is applied in an environment including a computer device 1 and at least one terminal device 2, and the computer device 1 and at least one terminal device 2 establish a communication connection through a network. In this embodiment, the computer device 1 may be a server or a personal computer, wherein the server may be a single server, a server cluster, or a cloud server.
[0029] The terminal device 2 is, but not limited to, electronic devices such as servers, smart phones, tablet computers, laptop computers, and desktop computers.
[0030]In one embodiment, the computer device 1 and the at least one terminal device 2 can establish a communication connection through wired (such as USB (Universal Serial Bus, Universal Serial Bus) ...
Embodiment 2
[0033] see figure 2 As shown, it is a flow chart of the automated testing method provided by Embodiment 2 of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0034] Step S1. When a test operation instruction is received, locate the element to be tested in the user interface of the application program under test, and generate a corresponding test instruction according to the element to be tested, and execute the test instruction to pre-execute the element to be tested. The operation is set to perform UI automation test on the user interface, and output the verification result of the user interface.
[0035] The application program to be tested can be installed in different electronic devices, and the electronic devices can include, but are not limited to, terminal devices such as smart phones, tablet computers, notebook computers, and desktop computers. The UI automation test ...
Embodiment 3
[0066] see image 3 , is a structural diagram of a preferred embodiment of the automatic testing device of the present invention.
[0067] In some embodiments, the automated testing device 10 runs on a computer device. The automated testing device 10 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the automated testing device 10 can be stored in the memory of the computer device, and executed by the at least one processor, so as to realize the automated testing function.
[0068] In this embodiment, the automated testing device 10 can be divided into multiple functional modules according to the functions it performs. refer to image 3 As shown, the functional modules may include: a UI automation test module 101 , an interface test module 102 , a log information acquisition module 103 , a database verification module 104 , and a test report generation module 105 . The module referred to in the pre...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



