A testing method and a recording tool
A test method and tool technology, applied in the computer field, can solve problems such as inaccurate test results, and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] Such as figure 1 As shown, in the recording mode of the recording tool in the first embodiment, the process of recording the source of dynamic information in the tested page mainly includes the following steps:
[0034] Step 101: The recording tool determines the target operation object that generates dynamic information in the tested page.
[0035] In the solution of step 101, the recording tool can scan the user's operation trajectory and the processing process of the tested page, and determine the target operation object that generates dynamic information in the tested page. For example, on the order page of a shopping website, the target operation object for generating an order number is an order number control. In addition to the target operation object of the page control "element" type, other content that may contain dynamic information can also be the target operation object. E.g:
[0036] The following types of objects on the tested page may also become target opera...
Embodiment 2
[0071] Such as figure 2 As shown, this is a schematic diagram of the recording tool in the second embodiment of the application using the source of the dynamic information recorded in the first embodiment to obtain the dynamic information in real time and test the tested page, which mainly includes the following content:
[0072] Step 201: The recording tool judges whether there is a source of the recorded dynamic information, if so, execute step 202, otherwise, it means that the dynamic information does not need to be used in this test process.
[0073] The recording tool can determine whether there is a source of recorded dynamic information by determining whether the code of the json structure in step 104 of the first embodiment is stored locally.
[0074] Step 202: The recording tool determines the effective content of the dynamic information in the tested page at the current moment according to the source of the recorded dynamic information.
[0075] Taking the code of the json s...
Embodiment 3
[0087] Such as image 3 As shown, the third embodiment of the present application also provides a recording tool that can perform the steps of the first embodiment and the real-time second. The recording tool mainly includes two parts, one part is the recording module 11, which is used for recording according to the dynamic information in the recording mode. The generation process records the source of dynamic information; the other part is the test module 12, which is used to determine the effective content of the dynamic information in the tested page at the current moment according to the source of the recorded dynamic information in the test mode, and use The effective content of the determined dynamic information is tested on the tested page.
[0088] Preferably, the recording module 11 includes:
[0089] The object determination sub-module 101 is used to determine the target operation object that generates dynamic information in the tested page in the recording mode;
[0090] ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


