Test case generation method and deice, equipment and storage medium
A test case generation and user technology, applied in the testing field, can solve problems such as wrong test cases and inability to execute, and achieve the effect of reducing the number of test cases, improving accuracy, and avoiding waste of resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 It is a flow chart of the test case generation method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of automatically generating test cases. The method can be executed by a test case generation device, which can be installed on a terminal. like figure 1 As shown, the method includes:
[0032] S101. Acquire user behavior data on a terminal, and perform denoising processing on the user behavior data.
[0033] Wherein, the application server can collect the user behavior data in the terminal installed with the application program, and the user behavior data includes: operation time, operation page and operation control, that is, which control is clicked on which page by the user at what time. The behavior of the user in the process from starting the application to exiting the application is a set of behaviors of the user, which can be expressed as a session (Session), each session is set with a unique identifier...
Embodiment 2
[0040] This embodiment provides an implementation manner of denoising processing on the basis of the foregoing embodiments. The denoising processing includes at least one of the following: continuous error point data filtering, invalid data filtering and loopback error point data filtering. Each will be described below.
[0041] (1) Data filtering of continuous error points
[0042] Continuous delay data filtering is mainly to filter repeated click noise. For example, if the user clicks "Back" twice in a row, the second click is a delay, and the second click operation needs to be filtered.
[0043] Continuous error point data filtering includes: reading each operation in the user behavior data in turn as the current operation; comparing the current operation with the previous operation; if the current operation is compared with the previous operation, the rest of the operation information is the same except for the operation time , it is determined that the current operation...
Embodiment 3
[0062] On the basis of the foregoing embodiments, this embodiment provides an implementation manner of generating a corresponding relationship between page jumps and user operations in S102. Figure 5 is a flow chart of the test case generation method provided by Embodiment 3 of the present invention, such as Figure 5 As shown, the method includes:
[0063] S501. Acquire user behavior data on a terminal, and perform denoising processing on the user behavior data.
[0064] S502. According to the denoised user behavior data, train a page prediction model.
[0065] like Image 6 As shown, a group of behaviors of user 1 and a group of behaviors of user 2, where user 1 performs operations a, b, and c in sequence on page A, operation c triggers a jump to page B, and performs operation d on page B , trigger jump to page C, execute operation e on page C, trigger jump to page D, user 2 is similar to this, no more details. Depend on Image 6 It can be seen that the page transfer i...
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