UI automatic test method and device, electronic equipment and storage medium
A technology of automated testing and test scripts, which is applied in the field of electronic equipment and storage media, devices, and UI automated testing methods, and can solve the problems of low operating efficiency of UI automated testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] Embodiment 1 of the present invention provides a UI automation testing method. figure 1 It is a schematic flow diagram of the UI automation testing method in Embodiment 1 of the present invention, as figure 1 As shown, the UI automation testing method of Embodiment 1 of the present invention includes the following steps:
[0022] S101: After the use case is added, a plurality of test scripts of the use case are formed.
[0023] In Embodiment 1 of the present invention, a use case refers to a test case, including test steps, test data and expected results. For example, a use case for testing web page login, the test steps include: (1) Enter a legal username and password (test / Admin@1234) on the login page, click Login, and the expected result of successful login is displayed; (2) Enter an error on the login page Username and password (test / 1234), click Login, and the expected result is login failure. Among them, the parameters that need to be filled in, such as test / A...
Embodiment 2
[0058] Corresponding to Embodiment 1 of the present invention, Embodiment 2 of the present invention provides a UI automated testing device. figure 2 It is a schematic structural diagram of the UI automated testing device in Embodiment 1 of the present invention, such as figure 2 As shown, the UI automation testing device according to Embodiment 2 of the present invention includes a test script forming module 20 , a classification module 21 , an execution task forming module 22 and a scheduling module 23 .
[0059] Specifically, the test script forming module 20, after the use case is added, is used to form a plurality of test scripts of the use case;
[0060] The classification module 21 is used to classify the plurality of test scripts according to the business management module, classify the test scripts belonging to the same business management module into one category, and obtain at least two types of test scripts;
[0061] The execution task forming module 22 is used ...
Embodiment 3
[0065] An embodiment of the present invention also provides an electronic device, which may include a processor and a memory, where the processor and the memory may be connected through a bus or in other ways.
[0066] The processor may be a central processing unit (Central Processing Unit, CPU). The processor can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate array (Field-Programmable Gate Array, FPGA) or other Chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.
[0067] As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions / module (for example,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com