Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2017-04-12
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] The embodiment of the present application provides a test method and a recording tool to solve the current problem of inaccurate test results on the tested page

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A testing method and a recording tool
  • A testing method and a recording tool
  • A testing method and a recording tool

Examples

Experimental program
Comparison scheme
Effect test

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] ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a testing method and a recording tool. The recording tool is used for recoding the source of dynamic information in a recording mode; next, in a testing mode, every time when a tested page is tested, the recording tool is capable of obtaining the valid contents of the current dynamic information according to the source of the dynamic information in real time and testing the tested page by use of the obtained real-time valid contents of the dynamic information; as a result, the accuracy of testing the tested page can be improved.

Description

Technical field [0001] This application relates to the field of computer technology, in particular to a testing method and a recording tool for testing. Background technique [0002] The software testing process is an indispensable part of the software development process. Its purpose is to discover the defects lurking in the software and promote the improvement of software quality. As the complexity of software functions continues to increase, software testing techniques are also constantly evolving and progressing. [0003] Among various types of software automation testing technologies, user interface testing (UI testing) technology is a way of simulating the manual operation process of the user on the tested page, and automatically realizes the testing of the tested page by means of script execution. The test technology of the function operation of the system can achieve the purpose of testing the correctness of the function of the tested page. [0004] In order to improve the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 夏大伟
Owner ALIBABA GRP HLDG LTD