CN116185839A - Buried point test method and device, electronic equipment and storage medium - Google Patents

Buried point test method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116185839A
CN116185839A CN202211727255.9A CN202211727255A CN116185839A CN 116185839 A CN116185839 A CN 116185839A CN 202211727255 A CN202211727255 A CN 202211727255A CN 116185839 A CN116185839 A CN 116185839A
Authority
CN
China
Prior art keywords
data
point data
buried point
buried
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211727255.9A
Other languages
Chinese (zh)
Inventor
庞立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN202211727255.9A priority Critical patent/CN116185839A/en
Publication of CN116185839A publication Critical patent/CN116185839A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Abstract

The invention provides a buried point testing method, a buried point testing device, electronic equipment and a storage medium. The method comprises the following steps: acquiring source buried point data and target buried point data to be compared, wherein the source buried point data are reference buried point data which are sent by a first terminal and are used for testing a target page in a target application program, and the target buried point data are sent by a second terminal and are used for testing the target page in the target application program; comparing the source buried point data with the target buried point data to determine difference data between the target buried point data and the source buried point data; and displaying the difference data so that a user can test and verify the source buried point data and the target buried point data according to the difference data. The invention realizes the visualized verification of the buried point data, is convenient for a user to know the difference between the target buried point data and the source buried point data, and can improve the verification efficiency of the buried point data.

Description

Buried point test method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for testing a buried point, an electronic device, and a storage medium.
Background
The application burial point is used for recording behavior events of the function page display of the application program and the clicking of the function control by a user in the application program of the mobile terminal, and usually, the application burial point is used for describing the occurrence of the user behavior more accurately with some necessary parameters. In the development process of the application program, the embedded point data needs to be verified to ensure the correctness of the functions of the application program.
In the prior art, two versions of buried point data can be compared through developed automatic verification scripts or all buried point data can be compared through a complex automatic test system. However, the comparison of the buried point data is performed in an automatic verification script mode, the comparison result cannot be visually checked, and further data analysis is needed, so that the efficiency of buried point data verification is low; by means of an automatic test system, the test process is complex, a complex buried data verification system needs to be built, a long time is required to be consumed for building the system, and the buried data verification efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a buried point testing method, a buried point testing device, electronic equipment and a storage medium, which are used for realizing visual verification of buried point data and improving the verification efficiency of the buried point data.
According to a first aspect of an embodiment of the present invention, there is provided a buried point testing method, including:
acquiring source buried point data and target buried point data to be compared, wherein the source buried point data are reference buried point data which are sent by a first terminal and are used for testing a target page in a target application program, and the target buried point data are sent by a second terminal and are used for testing the target page in the target application program;
comparing the source buried point data with the target buried point data to determine difference data between the target buried point data and the source buried point data;
and displaying the difference data so that a user can test and verify the source buried point data and the target buried point data according to the difference data.
According to a second aspect of the embodiment of the present invention, there is provided a buried point testing method, including:
acquiring embedded point data under a target page in a target application program through an embedded point tool package, and transmitting the embedded point data to a communication tool package;
and sending the embedded data to a computer terminal through the communication tool kit, wherein the embedded data is used for displaying at the computer terminal.
According to a third aspect of the embodiment of the present invention, there is provided a buried point testing apparatus, including:
the system comprises a comparison data acquisition module, a comparison data acquisition module and a comparison data acquisition module, wherein the comparison data acquisition module is used for acquiring source buried point data and target buried point data to be compared, the source buried point data are reference buried point data which are sent by a first terminal and are used for a target page in a target application program, and the target buried point data are sent by a second terminal and are used for the target page to be tested;
the data comparison module is used for comparing the source buried point data with the target buried point data and determining difference data between the target buried point data and the source buried point data;
and the difference data display module is used for displaying the difference data so that a user can test and verify the source buried point data and the target buried point data according to the difference data.
According to a fourth aspect of the embodiment of the present invention, there is provided a buried point testing apparatus, including:
the embedded point data acquisition module is used for acquiring embedded point data under a target page in a target application program through the embedded point tool kit and transmitting the embedded point data to the communication tool kit;
and the embedded data sending module is used for sending the embedded data to a computer terminal through the communication tool kit, and the embedded data is used for displaying at the computer terminal.
According to a fifth aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the buried point testing method according to the first or second aspect.
According to a sixth aspect of embodiments of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the buried point test method according to the first or second aspect.
According to the buried point testing method, the device, the electronic equipment and the storage medium, the source buried point data and the target buried point data to be compared are obtained, the source buried point data and the target buried point data are compared, difference data between the target buried point data and the source buried point data are determined, the difference data are displayed, the source buried point data are the reference buried point data sent by the first terminal, the target buried point data are the buried point data to be tested sent by the second terminal, the computer terminal can collect the source buried point data and the target buried point data in real time, the comparison is carried out, the difference data are displayed in real time, visual verification of the buried point data is achieved, a user can know the difference between the target buried point data and the source buried point data conveniently, and verification efficiency of the buried point data can be improved.
Drawings
FIG. 1 is a flow chart of a buried point testing method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of buried point data transmission performed by a terminal and a computer in an embodiment of the present invention;
FIG. 3 is an exemplary diagram of a presentation interface for difference data in an embodiment of the present invention;
FIG. 4 is a flow chart of a buried point testing method according to an embodiment of the present invention;
FIG. 5 is a flow chart of a buried point testing method according to an embodiment of the present invention;
FIG. 6 is a block diagram of a buried point testing apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a buried point testing apparatus according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a buried point testing method according to an embodiment of the present invention, where the buried point testing method is applied to a computer, and as shown in fig. 1, the buried point testing method includes:
step 110, acquiring source buried point data and target buried point data to be compared, wherein the source buried point data is reference buried point data, which is sent by a first terminal, of a target page in a target application program, and the target buried point data is to-be-tested buried point data, which is sent by a second terminal, of the target page in the target application program.
The embedded point comparison generally refers to comparing embedded point data under the same user behavior with the same target page in the target application program, or comparing embedded point data under the same page and the same user behavior with different versions of the target application program, so as to verify the accuracy and the integrity of the embedded point data. The first terminal and the second terminal are mobile terminals, for example, may be a hand, a tablet computer, etc., and the first terminal and the second terminal may be the same terminal or different terminals.
The source buried point data and the target buried point data can be buried point data operated by the same user on the same target page of two different versions of the target application program, buried point data generated by the same operation of the user on the same page of the same version of the target application program, or buried point data which need to be compared. The source buried data and the target buried data may be selected according to the specific test requirements of the tester.
The first terminal is in communication connection with the computer terminal, the first terminal can send the source buried point data acquired in real time to the computer terminal, and the computer terminal receives the source buried point data sent by the first terminal in real time; the second terminal is in communication connection with the computer terminal, the second terminal can send the target buried point data obtained in real time to the computer terminal, and the computer terminal receives the target buried point data sent by the second terminal in real time. The communication connection may be a data line connection, so that data transmission is relatively stable, and of course, other connection modes may also be adopted, for example, wireless network connection may also be adopted.
Fig. 2 is a schematic diagram of a terminal and a computer terminal for transmitting embedded point data in an embodiment of the present invention, as shown in fig. 2, the terminal may be a first terminal or a second terminal, where the terminal is in communication connection with the computer terminal, a target application program is installed in the terminal, a software development kit (Software Development Kit, SDK) for collecting embedded point data, that is, an embedded point tool kit (embedded point SDK), and a software development kit for transmitting embedded point data, that is, a communication tool kit (flip SDK), is integrated in the target application program; the computer end is provided with a corresponding flip desktop application, and the flip desktop application integrates a buried point plug-in application, namely a flip plug-in, and is used for receiving buried point data sent by a communication tool package in a terminal target application program. Wherein the flip is a desktop application platform for debugging applications provided by Facebook corporation (Facebook), on the basis of which developers can develop some visualized plug-in applications for checking and controlling mobile applications. A software development kit refers to a collection of program code that provides certain specific functions, and provides some concise, well-defined interface methods. The plug-in application is an application program with independent complete functions attached to a certain platform application, and can be installed and uninstalled at any time.
And 120, comparing the source buried point data with the target buried point data, and determining difference data between the target buried point data and the source buried point data.
The source buried point data and the target buried point data can comprise a plurality of pieces of data, and when the source buried point data and the target buried point data are compared, the comparison can be carried out according to the data identification of each piece of data, so as to obtain difference data between the target buried point data and the source buried point data. The difference data may be data that is included in the source buried point data but is not included in the target buried point data, or may be data that is not included in the source buried point data but is included in the target buried point data, or may be data that is different from the data that is included in the target buried point data.
And 130, displaying the difference data so that a user can test and verify the source buried point data and the target buried point data according to the difference data.
And displaying the difference data between the target buried point data and the source buried point data in the display interface, so that a user performs test verification on the source buried point data and the target buried point data according to the displayed difference data, wherein the user is a tester performing buried point test. When the difference data is displayed, different types of difference data can be displayed in a distinguishing mode, for example, different background colors can be used for displaying. Fig. 3 is an exemplary diagram of a display interface for differential data in an embodiment of the present invention, where, as shown in fig. 3, source buried data is displayed as one column, target buried data is displayed as another column, data in which target buried data is added with respect to source buried data may be indicated by "+" sign before data, data in which target buried data is reduced with respect to source buried data may be indicated by "-" sign before data, data in which target buried data is added with respect to source buried data, and data in which target buried data is reduced with respect to source buried data may be separately displayed by using different background colors, respectively.
According to the buried point testing method, the source buried point data and the target buried point data to be compared are obtained, the source buried point data and the target buried point data are compared, difference data between the target buried point data and the source buried point data are determined, the difference data are displayed, the source buried point data are the reference buried point data sent by the first terminal, the target buried point data are the buried point data to be tested sent by the second terminal, the computer terminal can collect the source buried point data and the target buried point data in real time, the comparison is carried out, the difference data are displayed in real time, visual verification of the buried point data is achieved, a user can conveniently know the difference between the target buried point data and the source buried point data, and verification efficiency of the buried point data can be improved.
On the basis of the above technical solution, the obtaining the source buried point data and the target buried point data to be compared includes: acquiring a source buried data identifier through a source buried data setting interface, and acquiring a target buried data identifier through a target buried data setting interface; and acquiring the source buried data corresponding to the source buried data identifier, and acquiring the target buried data corresponding to the target buried data identifier.
The method comprises the steps that a source embedded point data setting interface and a target embedded point data setting interface can be displayed in the flip desktop application of a computer end, a tester can input a source embedded point data identifier (the name of source embedded point data which needs to be compared) in the source embedded point data setting interface, and a target embedded point data identifier (the name of target embedded point data which needs to be compared) is input in the target embedded point data setting interface, so that the flip desktop application of the computer end obtains the source embedded point data identifier set by the tester through the source embedded point data setting interface and obtains the target embedded point data identifier set by the tester through the target embedded point data setting interface; furthermore, the flip desktop application at the computer end can acquire the source buried point data corresponding to the source buried point data identifier based on the source buried point data identifier, and acquire the target buried point data corresponding to the target buried point data identifier based on the target buried point data identifier. The source buried data identification can be conveniently set by a tester through the source buried data setting interface, and the target buried data identification can be conveniently set by the tester through the target buried data setting interface, so that the verification efficiency of the buried data can be further improved.
On the basis of the above technical solution, before the source buried data identifier is obtained through the source buried data setting interface and the target buried data identifier is obtained through the target buried data setting interface, the method further includes: and responding to the data comparison request, and displaying the source embedded point data setting interface and the target embedded point data setting interface.
The flip desktop application of the computer terminal is provided with a comparison button, when the comparison button is detected to be triggered, a data comparison request is determined to be received, a data comparison setting interface is displayed in response to the data comparison request, the data comparison setting interface can be displayed through a flip frame, and a source embedded point data setting interface and a target embedded point data setting interface are displayed in the data comparison setting interface. The source buried data setting interface and the target buried data setting interface are displayed based on the data comparison request of the tester, so that the tester can conveniently set the source buried data identifier and the target buried data identifier.
On the basis of the above technical solution, before the source buried point data and the target buried point data to be compared are obtained, the method further includes: receiving buried point data sent by the first terminal or the second terminal, and displaying the buried point data; responding to a pause receiving request of the buried point data, and displaying an identification setting interface of the buried point data; and acquiring the data identifier of the buried point data through the identifier setting interface, and correspondingly storing the data identifier and the buried point data.
After the first terminal or the second terminal is in communication connection with the computer terminal, the embedded point tool package collects embedded point data in the target page in the operation process of the target application program in the first terminal or the second terminal, the embedded point data are transmitted to the communication tool package, the embedded point data are transmitted to the computer terminal in real time through the communication tool package, the embedded point data are displayed in real time after the computer terminal receives the embedded point data transmitted by the communication tool package in the first terminal or the second terminal, the first terminal and the second terminal continuously transmit the acquired embedded point data to the computer terminal in real time in the operation process of the target application program, the computer terminal can display the received embedded point data in a list mode, and the displayed embedded point data can comprise data such as transmission time, embedded point type, page type, operation type, progress, thread and the like. After the tester determines that the collection of the buried point data to be compared is completed, the tester can click the pause receiving button (namely, the button for pausing the identification) on the flip desktop application, after the flip desktop application at the computer end detects that the pause receiving button is clicked, the identification setting interface of the buried point data is displayed, the tester can set the data identification for the currently recorded buried point data in the identification setting interface, namely, the currently recorded buried point data can be named, and the flip desktop application at the computer end obtains the data identification of the buried point data through the identification setting interface and correspondingly stores the data identification and the buried point data.
After the buried point data sent by the first terminal and the second terminal are received, the received buried point data can be displayed in real time, a tester can conveniently see the acquired buried point data in real time, a corresponding pause receiving instruction is given based on the displayed buried point data, a data identifier of the received buried point data is set, the data identifier and the buried point data are correspondingly stored, and the subsequent comparison of the buried point data is facilitated.
Fig. 4 is a flowchart of a buried point testing method according to an embodiment of the present invention, where the buried point testing method is applied to a first terminal or a second terminal, where the first terminal and the second terminal are mobile terminals, for example, may be a hand, a tablet computer, etc., and the first terminal and the second terminal may be the same terminal or different terminals. As shown in fig. 4, the buried point test method includes:
in step 410, the embedded point data under the target page in the target application program is obtained through the embedded point tool package, and the embedded point data is transferred to the communication tool package.
The embedded point tool package is used for collecting embedded point data in the target application program, and the communication tool package is used for sending the embedded point data collected by the embedded point tool package to the computer terminal.
The embedded point tool kit is integrated in the target application program of the terminal, the embedded point is carried out at the place where the business function needs to be embedded by the embedded point method provided by the embedded point tool kit, and the business point needing to be embedded generally comprises the display of the page (including the target page) of the target application program and the position corresponding to the click of the user, or the display of the UI component of the target application program and the position corresponding to the click of the user, and the embedded point method is defined as follows:
public static void writeActionLog(Context context,String pagetype,String actiontype,String cate,String...params)
as can be seen from the definition of the above-mentioned buried point method, the service point of the buried point may specify information such as a corresponding page type (pagetype), operation type (actiontype), and the like.
In the running process of the target page of the target application program in the terminal, a tester can operate the target page, and the embedded point tool kit can collect embedded point data in the target page through embedded points in the target page and transmit the embedded point data to the communication tool kit.
In one embodiment of the invention, the delivering the embedded data to a communication toolkit comprises: the embedded point data is transferred to the communication toolkit through the embedded point toolkit based on a communication interface between the embedded point toolkit and the communication toolkit.
After the embedded point tool package internally receives the data of the target application program service embedded point, the embedded point data is transmitted to the communication tool package through an interface method communicated with the communication tool package, and a communication interface between the embedded point tool package and the communication tool package can be defined as follows:
void onWriteLog(String type,String pagetype,String actiontype,String cate,String request,HashMap<String,Object>map,String[]params)
as is known from the definition of the communication interface described above, when the communication interface is defined, information such as the type (type), page type (pagetype), operation type (actiontype) and the like of the communication interface can be given.
Through setting up the communication interface between burial point toolkit and the communication toolkit, be convenient for burial point toolkit and the communication between the communication toolkit, be convenient for burial point toolkit will burial point data transfer to the communication toolkit.
And step 420, sending the embedded data to a computer terminal through the communication tool kit, wherein the embedded data is used for displaying on the computer terminal.
The communication tool package is a flip SDK used for communicating with a flip desktop application of a computer end, and a buried point plug-in is integrated in the flip desktop application and used for receiving buried point data sent by the communication tool package in a terminal target application program. After receiving the embedded point data sent by the embedded point tool kit, the communication tool kit sends the embedded point data to the flip desktop application at the computer end in real time, and the flip desktop application at the computer end can display the embedded point data in real time and compare the target embedded point data with the source embedded point data after acquiring the embedded point data (comprising the source embedded point data and the target embedded point data) to be compared. Wherein the flip is a desktop application platform for debugging applications provided by Facebook corporation (Facebook), on the basis of which developers can develop some visualized plug-in applications for checking and controlling mobile applications.
In one embodiment of the present invention, the sending, by the communication toolkit, the embedded data to a computer terminal includes: and encapsulating the embedded point data through the communication tool pack, and sending the encapsulated embedded point data to the computer terminal.
And the communication tool package integrated in the target application program of the terminal encapsulates the received embedded point data into a data entity communicated with the flip desktop application of the computer terminal, and then the encapsulated embedded point data is transmitted to the flip desktop application of the computer terminal in real time through a protocol communicated with the flip desktop application of the computer terminal by the communication tool package in the target application program of the terminal, and after the flip desktop application of the computer terminal receives the embedded point data sent by the communication tool package in the terminal, the embedded point data is displayed, so that a tester can conveniently see the acquired embedded point data in real time. The computer side can display the received buried point data in a list form, and the displayed buried point data can comprise data such as the sending time, the buried point type, the page type, the operation type, the process, the thread and the like of the buried point data.
According to the embedded point testing method, embedded point data under the target page in the target application program is obtained through the embedded point tool kit, the embedded point data are transmitted to the communication tool kit, the embedded point data are transmitted to the computer end through the communication tool kit, the computer end can display the received embedded point data in real time, visualization of the embedded point data is achieved, and verification efficiency of the embedded point data is improved.
Fig. 5 is a flowchart of a buried point testing method provided by an embodiment of the present invention, where the buried point testing method is applied to a terminal and a computer terminal to perform buried point testing, and the terminal may be a mobile terminal, for example, a mobile phone, a tablet computer, etc., and the terminal includes a first terminal and a second terminal, and the terminal and the computer terminal are in communication connection, for example, may be connected through a data line. As shown in fig. 5, the buried point test method includes:
step 510, a first terminal acquires first embedded point data under a target page in a target application program through an embedded point tool package, and transmits the first embedded point data to a communication tool package, and the first embedded point data is sent to a computer terminal through the communication tool package;
step 520, the computer receives the first buried point data sent by the first terminal, and displays the first buried point data;
step 530, the computer end responds to the pause receiving request of the first buried point data, displays an identification setting interface of the buried point data, acquires a first data identification of the first buried point data through the identification setting interface, and correspondingly stores the first data identification and the first buried point data;
step 540, the second terminal obtains second embedded point data under a target page in the target application program through the embedded point tool kit, and transmits the second embedded point data to the communication tool kit, and sends the second embedded point data to the computer terminal through the communication tool kit;
step 550, the computer end receives the second embedded point data sent by the second terminal and displays the second embedded point data;
step 560, the computer end responds to the pause receiving request of the second buried point data, displays the identification setting interface of the buried point data, acquires the second data identification of the second buried point data through the identification setting interface, and correspondingly stores the second data identification and the second buried point data;
step 570, the computer end responds to the data comparison request, displays the source buried data setting interface and the target buried data setting interface, acquires a source buried data identifier through the source buried data setting interface, acquires a target buried data identifier through the target buried data setting interface, and the source buried data identifier is a first data identifier and the target buried data identifier is a second data identifier;
step 580, the computer end obtains the source buried data corresponding to the source buried data identifier, and obtains the target buried data corresponding to the target buried data identifier;
and 590, comparing the source buried point data with the target buried point data, determining difference data between the target buried point data and the source buried point data, and displaying the difference data so that a user performs test verification on the source buried point data and the target buried point data according to the difference data.
The embodiment of the invention can provide a solution for conveniently and quickly visually comparing the embedded point data in the target application program in the function development and test stage of the target application program, the terminal is connected with the computer terminal, the embedded point data is acquired through the embedded point tool package integrated in the target application program, the embedded point data is transmitted to the computer terminal flip plug-in application through the interface provided by the communication tool package, the comparison and verification of the embedded point data are performed in real time and visually, the efficiency of verifying the embedded point data in the application development and test stage is improved, the defect that the embedded point data cannot be visually represented by using scripts to compare the embedded point data is overcome, the function implementation is relatively simple and convenient, a back-end service system is not needed, and compared with the complex embedded point verification scheme, the scheme of the embodiment of the invention is easier to access, popularize and use, and the data acquisition is used for reporting and outputting the comparison result in real time, thereby being beneficial to product managers and testers to verify the embedded point data in time.
Fig. 6 is a block diagram of a buried point testing apparatus according to an embodiment of the present invention, which is applied to a computer, as shown in fig. 6, and includes:
the comparison data acquisition module 610 is configured to acquire source buried point data and target buried point data to be compared, where the source buried point data is reference buried point data sent by a first terminal to a target page in a target application program, and the target buried point data is to-be-tested buried point data sent by a second terminal to the target page in the target application program;
a data comparison module 620, configured to compare the source buried point data and the target buried point data, and determine difference data between the target buried point data and the source buried point data;
the difference data display module 630 is configured to display the difference data, so that a user performs test verification on the source buried point data and the target buried point data according to the difference data.
Optionally, the comparison data acquisition module includes:
the data identifier acquisition unit is used for acquiring the source buried data identifier through the source buried data setting interface and acquiring the target buried data identifier through the target buried data setting interface;
and the comparison data acquisition unit is used for acquiring the source buried data corresponding to the source buried data identifier and acquiring the target buried data corresponding to the target buried data identifier.
Optionally, the apparatus further includes:
the data setting interface display module is used for responding to the data comparison request and displaying the source buried data setting interface and the target buried data setting interface.
Optionally, the apparatus further includes:
the embedded point data display module is used for receiving embedded point data sent by the first terminal or the second terminal and displaying the embedded point data;
the identification setting interface display module is used for responding to a pause receiving request of the buried point data and displaying an identification setting interface of the buried point data;
and the buried point data storage module is used for acquiring the data identification of the buried point data through the identification setting interface and correspondingly storing the data identification and the buried point data.
The buried point testing device provided by the embodiment of the invention is used for realizing each step of the buried point testing method provided by the embodiment of the invention, and specific implementation modes of each module of the device refer to corresponding steps, and are not repeated here.
According to the buried point testing device provided by the embodiment of the invention, the source buried point data and the target buried point data to be compared are obtained, the source buried point data and the target buried point data are compared, the difference data between the target buried point data and the source buried point data are determined, the difference data are displayed, and because the source buried point data are the reference buried point data sent by the first terminal and the target buried point data are the buried point data to be tested sent by the second terminal, the computer terminal can collect the source buried point data and the target buried point data in real time, and compare and display the difference data in real time, so that visual verification of the buried point data is realized, a tester can conveniently know the difference between the target buried point data and the source buried point data, and verification efficiency of the buried point data can be improved.
Fig. 7 is a block diagram of a buried point testing apparatus according to an embodiment of the present invention, which is applied to a first terminal or a second terminal, as shown in fig. 7, and includes:
the embedded point data acquisition module 710 is configured to acquire embedded point data under a target page in a target application program through an embedded point toolkit, and transmit the embedded point data to a communication toolkit;
and the embedded data sending module 720 is configured to send the embedded data to a computer terminal through the communication toolkit, where the embedded data is used for being displayed on the computer terminal.
Optionally, the buried data acquisition module includes:
and the data transmission unit is used for transmitting the embedded point data to the communication tool kit through the embedded point tool kit based on a communication interface between the embedded point tool kit and the communication tool kit.
Optionally, the embedded point data sending module is specifically configured to:
and encapsulating the embedded point data through the communication tool pack, and sending the encapsulated embedded point data to the computer terminal.
The buried point testing device provided by the embodiment of the invention is used for realizing each step of the buried point testing method provided by the embodiment of the invention, and specific implementation modes of each module of the device refer to corresponding steps, and are not repeated here.
According to the embedded point testing device provided by the embodiment of the invention, the embedded point data under the target page in the target application program is acquired through the embedded point tool kit, the embedded point data is transmitted to the communication tool kit, the embedded point data is transmitted to the computer terminal through the communication tool kit, the computer terminal can display the received embedded point data in real time, the visualization of the embedded point data is realized, and the verification efficiency of the embedded point data is improved.
Preferably, the embodiment of the present invention further provides an electronic device, where the electronic device may be a computer terminal, or may also be a first terminal or a second terminal, and the electronic device includes: the processor, the memory, store the computer program on the memory and can run on the processor, this computer program realizes each process of the above-mentioned buried point test method embodiment when being carried out by the processor, and can reach the same technical effect, in order to avoid repetition, will not be repeated here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the above-mentioned buried point test method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (11)

1. The buried point testing method is characterized by being applied to a computer end and comprising the following steps of:
acquiring source buried point data and target buried point data to be compared, wherein the source buried point data are reference buried point data which are sent by a first terminal and are used for testing a target page in a target application program, and the target buried point data are sent by a second terminal and are used for testing the target page in the target application program;
comparing the source buried point data with the target buried point data to determine difference data between the target buried point data and the source buried point data;
and displaying the difference data so that a user can test and verify the source buried point data and the target buried point data according to the difference data.
2. The method of claim 1, wherein the obtaining the source buried point data and the target buried point data to be compared comprises:
acquiring a source buried data identifier through a source buried data setting interface, and acquiring a target buried data identifier through a target buried data setting interface;
and acquiring the source buried data corresponding to the source buried data identifier, and acquiring the target buried data corresponding to the target buried data identifier.
3. The method of claim 2, further comprising, prior to said obtaining the source buried data identifier via the source buried data setting interface and obtaining the target buried data identifier via the target buried data setting interface:
and responding to the data comparison request, and displaying the source embedded point data setting interface and the target embedded point data setting interface.
4. A method according to any one of claims 1-3, further comprising, prior to said obtaining the source buried point data and the target buried point data to be aligned:
receiving buried point data sent by the first terminal or the second terminal, and displaying the buried point data;
responding to a pause receiving request of the buried point data, and displaying an identification setting interface of the buried point data;
and acquiring the data identifier of the buried point data through the identifier setting interface, and correspondingly storing the data identifier and the buried point data.
5. The buried point testing method is characterized by being applied to a first terminal or a second terminal and comprising the following steps of:
acquiring embedded point data under a target page in a target application program through an embedded point tool package, and transmitting the embedded point data to a communication tool package;
and sending the embedded data to a computer terminal through the communication tool kit, wherein the embedded data is used for displaying at the computer terminal.
6. The method of claim 5, wherein said transferring the embedded data to a communication toolkit comprises:
the embedded point data is transferred to the communication toolkit through the embedded point toolkit based on a communication interface between the embedded point toolkit and the communication toolkit.
7. The method of claim 5, wherein the sending the embedded data to a computer via the communication toolkit comprises:
and encapsulating the embedded point data through the communication tool pack, and sending the encapsulated embedded point data to the computer terminal.
8. The buried point testing device is characterized by being applied to a computer end and comprising:
the system comprises a comparison data acquisition module, a comparison data acquisition module and a comparison data acquisition module, wherein the comparison data acquisition module is used for acquiring source buried point data and target buried point data to be compared, the source buried point data are reference buried point data which are sent by a first terminal and are used for a target page in a target application program, and the target buried point data are sent by a second terminal and are used for the target page to be tested;
the data comparison module is used for comparing the source buried point data with the target buried point data and determining difference data between the target buried point data and the source buried point data;
and the difference data display module is used for displaying the difference data so that a user can test and verify the source buried point data and the target buried point data according to the difference data.
9. A buried point testing apparatus, applied to a first terminal or a second terminal, comprising:
the embedded point data acquisition module is used for acquiring embedded point data under a target page in a target application program through the embedded point tool kit and transmitting the embedded point data to the communication tool kit;
and the embedded data sending module is used for sending the embedded data to a computer terminal through the communication tool kit, and the embedded data is used for displaying at the computer terminal.
10. An electronic device, comprising: a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the buried point test method according to any one of claims 1 to 4 or the steps of the buried point test method according to any one of claims 5 to 7.
11. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the buried point test method according to any one of claims 1 to 4 or the steps of the buried point test method according to any one of claims 5 to 7.
CN202211727255.9A 2022-12-30 2022-12-30 Buried point test method and device, electronic equipment and storage medium Pending CN116185839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211727255.9A CN116185839A (en) 2022-12-30 2022-12-30 Buried point test method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211727255.9A CN116185839A (en) 2022-12-30 2022-12-30 Buried point test method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116185839A true CN116185839A (en) 2023-05-30

Family

ID=86439565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211727255.9A Pending CN116185839A (en) 2022-12-30 2022-12-30 Buried point test method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116185839A (en)

Similar Documents

Publication Publication Date Title
CN111459794B (en) Communication network testing method, device, computer equipment and storage medium
CN109302522B (en) Test method, test device, computer system, and computer medium
TWI569021B (en) Systems, methods, computer-readable storage medium, and thermal imaging system for obtaining and maintaining maintenance recordes
CN104461903B (en) The method and apparatus of test client based on browser
CN106649107B (en) Automatic testing method and device for stability of android system
CN105338110A (en) Remote debugging method, platform and server
CN106776294B (en) Automatic android mobile phone testing method and system
CN105120483B (en) Automatic testing method and system for compatibility of smart card and mobile terminal
CN104123519A (en) System for automatically detecting electronic products through two-dimension codes and method thereof
WO2009116694A1 (en) Terminal device and server for remote diagnosis for communication terminal and method thereof
CN106872879B (en) Hardware wireless debugging method and device, communication chip and electronic equipment
CN102798833B (en) Automatic test system and method for diagnosis instrument
CN105511977A (en) Vehicle-mounted navigation system testing method and device
CN113448854A (en) Regression testing method and device
KR101982504B1 (en) Vehicle to everything communication conforming device
KR20140046121A (en) System and method for testing application
KR101792864B1 (en) System and Method for verifying application
US20090082009A1 (en) Mobile communication device for measuring, analyzing, and comparing wireless service provider qos
KR101898427B1 (en) Vehicle to everything communication conforming program
CN111083018B (en) Production detection method and device for wireless equipment
CN116185839A (en) Buried point test method and device, electronic equipment and storage medium
CN109062190B (en) Real vehicle testing system of hybrid vehicle controller and application method thereof
CN112866312A (en) Script generation method, remote operation method and related equipment
CN116506007A (en) Optical module firmware testing system and method
CN114166265A (en) Ground test method and system for satellite, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination