Supercharge Your Innovation With Domain-Expert AI Agents!

Testing method and 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: 2014-11-12
ALIBABA GRP HLDG LTD
View PDF5 Cites 2 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
  • Testing method and recording tool
  • Testing method and recording tool
  • Testing method and recording tool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Such as figure 1 As shown, the process of the recording tool recording the source of dynamic information in the page under test in its recording mode in the first embodiment mainly includes the following steps:

[0034] Step 101: The recording tool determines a target operation object that generates dynamic information on the page under test.

[0035] In the solution of step 101, the recording tool can scan the user's operation track and the processing process of the tested page, and determine the target operation object that generates dynamic information on the tested page. For example, on the order page of a shopping website, the target operation object for generating an order number is the order number control. In addition to the target action object of the "element" type of the page control, other content that may contain dynamic information can also be the target action object. E.g:

[0036] The following types of objects in the page under test may also be targe...

Embodiment 2

[0071] Such as figure 2 As shown, it is a schematic diagram of the recording tool in the second embodiment of the present application using the source of the dynamic information recorded in the first embodiment to obtain the dynamic information in real time and test the page under test, which mainly includes the following contents:

[0072] Step 201: The recording tool judges whether there is a source of recorded dynamic information, and if so, executes step 202; otherwise, it means that dynamic information does not need to be used in this testing process.

[0073] The recording tool can judge whether there is a source of the recorded dynamic information by judging 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 valid content of the dynamic information on the page under test at the current moment according to the source of the recorded dynamic information.

[0075] Taking the c...

Embodiment 3

[0087] Such as image 3 As shown, Embodiment 3 of the present application also provides a recording tool capable of performing the steps of Embodiment 1 and Real-time 2. The recording tool mainly includes two parts, one part is a recording module 11, which is used in recording mode according to dynamic information. The generation process records the source of the dynamic information; the other part is the test module 12, which is used to determine the effective content of the dynamic information in the page under test at the current moment according to the source of the recorded dynamic information in the test mode, and utilize The determined valid content of the 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] A data type determining subm...

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] The present 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 hidden in the software and promote the improvement of software quality. As the complexity of software functions continues to increase, the software testing technology is also constantly developing and improving. [0003] Among various types of software automation testing technologies, user interface testing (UI testing) technology is a method that simulates the user's manual operation process on the tested page and automatically implements the testing of the tested page in the form of script execution. The testing technology of functional operation can achieve the purpose of testing the correctness of the function of the tested page. [0004] In order to impr...

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
IPC IPC(8): G06F11/36
Inventor 夏大伟
Owner ALIBABA GRP HLDG LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More