Recording and playback test method and related device
A test method and technology for testing software, applied in the direction of software testing/debugging, etc., can solve problems such as affecting test progress, inconsistency, playback failure, etc., to reduce the probability of playback failure, improve test reliability, and ensure the effect of consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] see figure 1 , which is a flow chart of a recording and playback testing method provided in an embodiment of the present application. This method is used to test software.
[0072] Such as figure 1 As shown, the recording playback test method provided in the embodiment of the present application includes:
[0073] Step 101: Obtain the operation sequence recorded when the software under test is manually operated.
[0074] It should be noted that, in this embodiment, the operation sequence records multiple operations determined in execution order, and a screenshot of the operation interface corresponding to each operation. As an example, a software tester performs n operations in sequence, which are sequentially recorded as: operation 1, operation 2, ... operation n in the sequence of operations. Where n is an integer greater than or equal to 2. Operation 1, operation 2, ... the operation interface screenshots corresponding to operation n are the operation interface ...
Embodiment 2
[0097] see figure 2 , which is a flow chart of another recording and playback testing method provided in the embodiment of the present application.
[0098] Such as figure 2 As shown, the recording playback test method provided in this embodiment includes:
[0099] Step 201: Obtain the operation sequence recorded when the software under test is manually operated.
[0100] In this embodiment, the implementation manner of step 201 is the same as the implementation manner of step 101 in the foregoing embodiments. For related descriptions about step 201, reference may be made to the foregoing embodiments, and details are not repeated here.
[0101] Step 202: Classify the triggered controls in the screenshot of the operation interface to obtain the classification information of the triggered controls; and / or identify the text information of the triggered controls to obtain the identified Text information of the triggered control; and / or, performing image feature recognition o...
Embodiment 3
[0143] see image 3 , which is a flow chart of another recording and playback testing method provided in the embodiment of the present application.
[0144] Such as image 3 As shown, the recording playback test method provided in this embodiment includes:
[0145] Step 301: Obtain the operation sequence recorded when the software under test is manually operated.
[0146] Step 302: Obtain the semantic information of the triggered control by using the screenshot of the operation interface.
[0147] Step 303: Obtain a screenshot of the first response interface corresponding to the operation.
[0148] The screenshot of the first response interface refers to the screenshot of the response effect presented by the software under test after the triggered control on the screenshot of the operation interface of the software under test is triggered by the operation corresponding to the screenshot of the operation interface during recording.
[0149] Step 304: Mark at least one refer...
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