Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Pictorial gallery data correctness test method and device

A testing method and testing device technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as inability to obtain data values, coordinate nodes to be obtained values ​​cannot be obtained directly through firebug, etc. Achieve the effects of good usability, high degree of automation and wide applicability

Active Publication Date: 2018-04-03
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the mouse positioning event is not added to the Echarts chart to be tested, the coordinate node of the value to be obtained cannot be obtained directly through firebug
In addition, the Echarts chart element is a dynamic element, so selenium cannot obtain the data value displayed by the current mouse

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
  • Pictorial gallery data correctness test method and device
  • Pictorial gallery data correctness test method and device
  • Pictorial gallery data correctness test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Exemplary implementations of the present invention are described below in conjunction with the accompanying drawings, which include various details of the implementations of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0023] figure 1 is a schematic diagram of the main steps of the method for testing the accuracy of chart library data according to the embodiment of the present invention. Such as figure 1 As shown, the method of the embodiment of the present invention may mainly include the following steps A to E.

[0024] Step A: Access the display page of the chart library,...

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 provides pictorial gallery data correctness test method and device with good feasibility and wide applicability. The pictorial gallery data correctness test method comprises the following steps of: accessing a pictorial gallery display page and positioning request information of pictorial gallery graph data by utilizing a network package capture tool; sending a simulation request toa web server according to the request information, receiving a response message sent by the web server and analyzing the response message to obtain source data information of a pictorial gallery graph; obtaining to-be-displayed data corresponding to the pictorial gallery graph from a client; carrying out data cleaning on the source data information by referring to a format of the to-be-displayed data so as to obtained cleaned source data; comparing the cleaned source data and the to-be-displayed data, and when the source data and the to-be-displayed data are consistent, sending prompt information which indicates that pictorial gallery data correctness test passes.

Description

technical field [0001] The invention relates to the technical field of computers and software thereof, in particular to a method for testing the accuracy of chart library data and a testing device. Background technique [0002] With the advent of the era of big data, in order to make better use of data resources, data visualization has become one of the important choices. Echarts is a pure Javascript chart library, compatible with most current browsers, and can provide intuitive, vivid, interactive and highly customizable data visualization charts. [0003] At present, the webdriver template of the automatic testing tool selenium can be used to test the accuracy of the data value displayed in the Echarts chart. The specific process of this prior art solution is: first artificially use the mouse to locate the data value shown in the chart to obtain the coordinate node where the current mouse is located (for example: use firebug to obtain); then use selenium to simulate the m...

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
CPCG06F11/3688
Inventor 周雪梅
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products