[go: up one dir, main page]

CN112256265A - H5 page stability test method, device and storage medium, electronic equipment - Google Patents

H5 page stability test method, device and storage medium, electronic equipment Download PDF

Info

Publication number
CN112256265A
CN112256265A CN202011098257.7A CN202011098257A CN112256265A CN 112256265 A CN112256265 A CN 112256265A CN 202011098257 A CN202011098257 A CN 202011098257A CN 112256265 A CN112256265 A CN 112256265A
Authority
CN
China
Prior art keywords
test
page
stability
subtasks
testing
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
CN202011098257.7A
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 Baijia Technology Group Co ltd
Original Assignee
Beijing Baijia Technology Group 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 Baijia Technology Group Co ltd filed Critical Beijing Baijia Technology Group Co ltd
Priority to CN202011098257.7A priority Critical patent/CN112256265A/en
Publication of CN112256265A publication Critical patent/CN112256265A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Testing Of Individual Semiconductor Devices (AREA)

Abstract

本发明公开了一种H5页面稳定性的测试方法、装置及存储介质、电子设备,其中,测试方法包括以下步骤:获取各测试终端的待测试应用和各待测试应用的H5页面对应的测试用例;根据各测试用例和各测试终端创建测试任务,其中,测试任务包括多个测试子任务;调用Jenkins集成工具,通过Jenkins集成工具向各测试终端下发测试任务;通过Jenkins集成工具控制各测试终端,按照设定顺序执行多个测试子任务;接收各测试终端回传的各测试子任务的测试结果。该测试方法可实现不同测试终端多个测试子任务的自动化执行,提升了H5页面稳定性的测试效率。

Figure 202011098257

The invention discloses a method, device, storage medium, and electronic equipment for testing the stability of H5 pages. The testing method includes the following steps: acquiring the applications to be tested of each test terminal and the test cases corresponding to the H5 pages of the applications to be tested. ;Create a test task according to each test case and each test terminal, wherein the test task includes multiple test subtasks; call the Jenkins integration tool, and issue the test task to each test terminal through the Jenkins integration tool; control each test terminal through the Jenkins integration tool , execute multiple test subtasks according to the set order; receive the test results of each test subtask returned by each test terminal. The test method can realize the automatic execution of multiple test subtasks of different test terminals, and improve the test efficiency of H5 page stability.

Figure 202011098257

Description

H5 page stability testing method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for testing H5 page stability, a storage medium and electronic equipment.
Background
The page stability is an important index of the H5 page. Because different machine types generally adopt different operating systems, each machine type has compatibility problems caused by the reasons of non-standard codes, imperfect system webview support and the like. At present, the compatibility among different models is generally processed by means of manual inspection. However, the method has the disadvantages of large workload, low testing efficiency and easy omission, so that the accuracy and the integrity of the test cannot be guaranteed.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, the invention aims to provide a method and a device for testing the stability of an H5 page, a storage medium and electronic equipment, so as to realize the automation of the stability test of the H5 page and improve the test efficiency.
In a first aspect, the invention provides a method for testing the stability of an H5 page, which comprises the following steps: acquiring to-be-tested applications of each test terminal and test cases corresponding to H5 pages of each to-be-tested application; creating a test task according to each test case and each test terminal, wherein the test task comprises a plurality of test subtasks; calling a Jenkins integration tool, and issuing the test tasks to each test terminal through the Jenkins integration tool; controlling each test terminal through the Jenkins integration tool, and executing the plurality of test subtasks according to a set sequence; and receiving the test result of each test subtask returned by each test terminal.
According to an embodiment of the invention, the method further comprises: creating pipeline information for each test subtask through the Jenkins integration tool; and controlling each test terminal to execute a corresponding test subtask according to the pipeline information of the pipeline.
According to an embodiment of the invention, the method further comprises: and analyzing each test result to obtain a stability analysis report of the H5 page of each application to be tested of each test terminal.
According to an embodiment of the invention, the method further comprises: and sending prompt information according to the stability analysis report of the H5 page to prompt a test result.
According to one embodiment of the invention, the prompt message is sent out by way of page display and/or mail.
According to an embodiment of the invention, the method further comprises: in the process of executing the test subtask by the test terminal, if abnormal information is detected, a solution corresponding to the abnormal information is obtained, and the abnormal information is processed according to the solution.
According to an embodiment of the present invention, the test content corresponding to the test case includes: whether the advertisement in the H5 page can be clicked normally, whether the H5 page can be switched normally, whether the H5 page can go to the next step, and whether the H5 page can be connected to one or more of the service pages corresponding to the advertisement.
In a second aspect, the present invention provides an apparatus for testing H5 page stability, including: the acquisition module is used for acquiring the applications to be tested of each test terminal and the test cases corresponding to the H5 pages of each application to be tested; the creating module is used for creating a test task according to each test case and each test terminal, wherein the test task comprises a plurality of test subtasks; the sending module is used for calling a Jenkins integration tool and issuing the test tasks to each test terminal through the Jenkins integration tool; the control module is used for controlling each test terminal through the Jenkins integration tool and executing the plurality of test subtasks according to a set sequence; and the receiving module is used for receiving the test result of each test subtask returned by each test terminal.
In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for testing H5 page stability described above.
In a fourth aspect, the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory, and when the computer program is executed by the processor, the computer program implements the method for testing the H5 page stability.
The method and the device for testing the stability of the H5 page, the storage medium and the electronic equipment can realize the automatic execution of a plurality of test subtasks of different test terminals, and improve the testing efficiency of the stability of the H5 page.
Drawings
FIG. 1 is a flowchart of a method for testing the page stability of H5 according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for testing the page stability of H5 according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for testing the page stability of H5 according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a method for testing the stability of the H5 page according to an embodiment of the present invention;
fig. 5 is a block diagram of a testing apparatus for H5 page stability according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a method and an apparatus for testing H5 page stability, a storage medium, and an electronic device according to an embodiment of the present invention with reference to the drawings.
Fig. 1 is a flowchart of a method for testing the stability of the H5 page according to the first embodiment of the present invention.
As shown in fig. 1, the method for testing the page stability of H5 includes the following steps:
and S1, acquiring the applications to be tested of each test terminal and the test cases corresponding to the H5 pages of each application to be tested.
The test terminals may be smart phones, tablet computers, and the like, and the operating systems installed in each test terminal include at least two types, for example, an Android system, an IOS system, and the like. The Application to be tested comprises various APPs (Application programs) installed by various testing terminals, and the APP versions installed by different terminal devices can be different. The test case is an automated test script for testing, and the test content corresponding to the test case may include: whether the advertisement in the H5 page can be clicked normally, whether the H5 page can be switched normally, whether the H5 page can go to the next step, and whether the H5 page can be connected to one or more of the service pages corresponding to the advertisement. Wherein the advertisement may include one or more of a promotional advertisement, a single page advertisement, a landing page, and a stay on single page.
Specifically, the cloud test platform may provide a port for communication connection with the terminal device, through which communication connection between the cloud test platform and the test terminal may be established, and then the cloud test platform may operate the test terminal through a script command, where the cloud test platform may implement communication connection with 50+ test terminals (i.e., more than 50 test terminals). For example, the test terminal interface can be directly opened through the cloud test platform, and the content displayed by the test terminal interface can be viewed. Wherein the script may include: the test terminal APP comprises a key script, a slide-up and slide-down script, a touch script, a praise script, a screenshot script, a reserved report script and the like, and particularly, the script can cover all interfaces on the test terminal APP.
And S2, creating a test task according to each test case and each test terminal, wherein the test task comprises a plurality of test subtasks.
Wherein, different test subtasks may correspond to different APPs.
And S3, calling a Jenkins integration tool, and issuing test tasks to each test terminal through the Jenkins integration tool.
Specifically, Jenkins can be used for communicating with each node through an HTTP (Hyper Text Transfer Protocol) Protocol, and each node can be connected with a test terminal through a wireless routing WIFI communication, a USB (Universal Serial Bus), a data line, a bluetooth communication, an NFC communication, an infrared communication or a zigbee communication. When the test case of the APP is to be executed, the cloud test platform can issue a corresponding test task to the test terminal through Jenkins.
And S4, controlling each test terminal through a Jenkins integration tool, and executing a plurality of test subtasks according to a set sequence.
Specifically, one test subtask can be issued at a time through the Jenkins integration tool, the issuing sequence can be a set sequence, and after the current test subtask is executed, the next test subtask can be issued to test the next to-be-tested APP.
And S5, receiving the test result of each test subtask returned by each test terminal.
In particular, the cloud testing platform may create a persistent integration service query interface that may be used to receive test results. In the process of executing the test subtask, the interface can be queried through polling the continuous integration service, and if the query is successful, the test result can be received so as to analyze the test result; if the query fails, polling continues.
Therefore, the testing method provided by the embodiment of the invention can ensure the coverage rate of the testing environment by accessing the cloud testing platform of various testing terminals, and can realize that the testing tasks corresponding to the same H5 page are issued to different testing terminals. By controlling the test terminal to run the corresponding test script and collecting the data of the key nodes, and further observing the test results of different test terminals, special adaptation is performed on incompatible test terminals, and the compatibility and stability of the test case can be ensured.
As an example, the testing method further comprises: creating pipeline information for each test subtask through a Jenkins integration tool; and controlling each test terminal to execute the corresponding test subtask according to the pipeline information.
Specifically, while a test task is issued to a test terminal by Jenkins, pipeline information of pipeline, that is, a task flow, can be created, including a task creation flow, a task starting flow, a task execution flow, a result collection flow and a result reporting flow, and the task flow is sequentially executed by pipeline scripts.
In an embodiment of the present invention, as shown in fig. 2, after receiving the test result, the test method may further include:
and S6, analyzing the test results to obtain a stability analysis report of the H5 page of each application to be tested of each test terminal.
In this embodiment, after the stability analysis report of the H5 page of each application to be tested of each test terminal is obtained, the test result may be reported to a corresponding storage medium, such as a cloud database, a log, or the like, for subsequent viewing.
In an embodiment of the present invention, as shown in fig. 2, after receiving the stability analysis report of the H5 page, the testing method may further include:
and S7, sending prompt information according to the stability analysis report of the H5 page to prompt the test result.
In this embodiment, the prompt message may be sent by way of a page show and/or email. Therefore, the stability analysis report of the H5 page can be conveniently and timely acquired by a tester.
As an example, in the process of executing the test subtask by the terminal device, if the abnormal information is detected, a solution corresponding to the abnormal information is obtained, and the abnormal information is processed according to the solution.
Specifically, in the process of executing the test subtask by the terminal device, if the abnormal information is detected, it may be determined whether the abnormal information occurs for the first time. If the abnormal information appears for the first time, the abnormal information can be reported first, so that a tester can put forward a corresponding solution according to the abnormal information, and upload the solution to a cloud test platform and store the solution. When the same information as the abnormal information is acquired again, the stored solution can be directly acquired, and the abnormal information is processed according to the solution. Therefore, the testing efficiency can be improved.
For the convenience of understanding, the method for testing the page stability of H5 according to the embodiment of the present invention is described below with reference to fig. 4:
step 1: uploading the test case and the application to be tested to a cloud test platform;
step 2: creating a test project by Jenkins;
and step 3: the method comprises the steps that Jenkins are used for initiating a test task, namely the test task is issued to each test terminal through a corresponding communication mode, such as wireless routing WIFI;
and 4, step 4: calling a task query port polling test task;
and 5: judging whether a test result is returned or not, analyzing the test result to obtain a test report when the test result is returned, and returning to the step 4 when the test result is not returned;
step 6: and reporting a test report.
In summary, the H5 page stability testing method provided by the embodiment of the invention can realize automatic execution of multiple testing subtasks of different testing terminals, and improves the testing efficiency of H5 page stability.
Fig. 5 is a block diagram of a testing apparatus for H5 page stability according to an embodiment of the present invention.
As shown in fig. 5, the testing apparatus 100 for H5 page stability includes: an acquisition module 110, a creation module 120, a transmission module 130, a control module 140, and a reception module 150.
The obtaining module 110 is configured to obtain applications to be tested of each test terminal and test cases corresponding to H5 pages of each application to be tested; the creating module 120 is configured to create a test task according to each test case and each test terminal, where the test task includes a plurality of test subtasks; the sending module 130 is used for calling a Jenkins integration tool and issuing a test task to each test terminal through the Jenkins integration tool; the control module 140 is configured to control each test terminal through a Jenkins integration tool, and execute a plurality of test subtasks according to a set sequence; the receiving module 150 is configured to receive the test result of each test subtask returned by each test terminal.
In this embodiment, the test content corresponding to the test case includes: whether the advertisement in the H5 page can be clicked normally, whether the H5 page can be switched normally, whether the H5 page can go to the next step, and whether the H5 page can be connected to one or more of the service pages corresponding to the advertisement. The communication mode between Jenkins integration tool and each test terminal includes one or more of wireless routing WIFI communication, USB communication, bluetooth communication, NFC communication, infrared communication and purple bee communication.
In one embodiment of the invention, the creation module 120 may also be used to create pipeline information for each test subtask through a Jenkins integration tool. The control module 140 may also be configured to control each test terminal to execute a corresponding test subtask according to pipeline information.
In an embodiment of the present invention, the testing apparatus 100 may further include an analysis module, configured to analyze each test result to obtain a stability analysis report of the H5 page of each application to be tested of each testing terminal.
In an embodiment of the present invention, the testing apparatus 100 may further include a prompting module, configured to send a prompting message according to the stability analysis report of the H5 page, so as to prompt the testing result.
The prompting module can send out prompting information in a page display and/or mail mode.
In one embodiment of the present invention, the H5 page stability testing apparatus 100 further includes a detection module and a processing module. In the process of executing the test subtask by the terminal device, if the detection module detects the abnormal information, the obtaining module 110 further obtains a solution corresponding to the abnormal information, and the processing module processes the abnormal information according to the solution.
It should be noted that, for other specific embodiments of the apparatus for testing page stability in H5 according to the embodiment of the present invention, reference may be made to the specific embodiment of the method for testing page stability in H5 according to the above embodiment of the present invention.
The H5 page stability testing device provided by the embodiment of the invention can realize automatic execution of a plurality of testing subtasks of different testing terminals, and improves the testing efficiency of H5 page stability.
Further, the present invention proposes a computer-readable storage medium.
In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the method for testing the H5 page stability of the above embodiment is implemented.
According to the computer-readable storage medium of the embodiment of the invention, when the computer program stored on the computer-readable storage medium is executed by the processor, the automatic execution of a plurality of test subtasks of different test terminals can be realized, and the test efficiency of the H5 page stability is improved.
Further, the invention provides an electronic device.
In this embodiment, the electronic device includes a memory, a processor, and a computer program stored on the memory, wherein the computer program, when executed by the processor, implements the H5 page stability testing method of the above embodiments.
According to the electronic equipment provided by the embodiment of the invention, when the computer program stored on the memory of the electronic equipment is executed by the processor, the automatic execution of a plurality of test subtasks of different test terminals can be realized, and the test efficiency of the H5 page stability is improved.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1.一种H5页面稳定性的测试方法,其特征在于,包括以下步骤:1. a test method for H5 page stability, is characterized in that, comprises the following steps: 获取各测试终端的待测试应用和各待测试应用的H5页面对应的测试用例;Obtain the application to be tested of each test terminal and the test case corresponding to the H5 page of each application to be tested; 根据各所述测试用例和各所述测试终端创建测试任务,其中,所述测试任务包括多个测试子任务;Create a test task according to each of the test cases and each of the test terminals, wherein the test task includes a plurality of test subtasks; 调用Jenkins集成工具,通过所述Jenkins集成工具向各所述测试终端下发所述测试任务;Invoke the Jenkins integration tool, and issue the test task to each of the test terminals through the Jenkins integration tool; 通过所述Jenkins集成工具控制各所述测试终端,按照设定顺序执行所述多个测试子任务;Control each of the test terminals through the Jenkins integration tool, and execute the plurality of test subtasks in a set order; 接收各所述测试终端回传的各所述测试子任务的测试结果。Receive the test results of each of the test subtasks returned by each of the test terminals. 2.如权利要求1所述的H5页面稳定性的测试方法,其特征在于,所述方法还包括:2. the test method of H5 page stability as claimed in claim 1, is characterized in that, described method also comprises: 通过所述Jenkins集成工具针对每个测试子任务创建pipeline流水线信息;Create pipeline information for each test subtask through the Jenkins integration tool; 控制各所述测试终端按照所述pipeline流水线信息执行对应的测试子任务。Control each of the test terminals to execute corresponding test subtasks according to the pipeline information. 3.如权利要求1或2所述的H5页面稳定性的测试方法,其特征在于,所述方法还包括:3. the test method of H5 page stability as claimed in claim 1 or 2, is characterized in that, described method also comprises: 对各所述测试结果进行分析,以得到各所述测试终端的各待测试应用的H5页面的稳定性分析报告。Each of the test results is analyzed to obtain a stability analysis report of the H5 page of each application to be tested of each of the test terminals. 4.如权利要求3所述的H5页面稳定性的测试方法,其特征在于,所述方法还包括:4. the test method of H5 page stability as claimed in claim 3, is characterized in that, described method also comprises: 根据所述H5页面的稳定性分析报告发出提示信息,以进行测试结果提示。Prompt information is issued according to the stability analysis report on the H5 page to prompt the test result. 5.如权利要求3所述的H5页面稳定性的测试方法,其特征在于,通过页面展示和/或邮件的方式发出所述提示信息。5. The method for testing the stability of an H5 page as claimed in claim 3, wherein the prompt information is sent out by means of page display and/or mail. 6.如权利要求1或2所述的H5页面稳定性的测试方法,其特征在于,所述方法还包括:6. the test method of H5 page stability as claimed in claim 1 or 2, is characterized in that, described method also comprises: 在所述终端设备执行测试子任务的过程中,如果检测到异常信息,则获取所述异常信息对应的解决方案,并根据所述解决方案对所述异常信息进行处理。In the process of executing the test subtask by the terminal device, if abnormal information is detected, a solution corresponding to the abnormal information is acquired, and the abnormal information is processed according to the solution. 7.如权利要求1所述的H5页面稳定性的测试方法,其特征在于,所述测试用例对应的测试内容包括:H5页面中广告是否可以正常点击、H5页面是否可以正常切换、H5页面是否可以进行到下一步、H5页面是否可以连接至广告对应的服务页面中的一个或多个。7. The method for testing H5 page stability as claimed in claim 1, wherein the test content corresponding to the test case comprises: whether the advertisement in the H5 page can be clicked normally, whether the H5 page can be switched normally, whether the H5 page can be normally switched. Can proceed to the next step, whether the H5 page can be connected to one or more of the service pages corresponding to the advertisement. 8.一种H5页面稳定性的测试装置,其特征在于,包括:8. a test device for H5 page stability, is characterized in that, comprises: 获取模块,用于获取各测试终端的待测试应用和各待测试应用的H5页面对应的测试用例;The acquisition module is used to acquire the application to be tested of each test terminal and the test case corresponding to the H5 page of each application to be tested; 创建模块,用于根据各所述测试用例和各所述测试终端创建测试任务,其中,所述测试任务包括多个测试子任务;A creation module is used to create a test task according to each of the test cases and each of the test terminals, wherein the test task includes a plurality of test subtasks; 发送模块,用于调用Jenkins集成工具,通过所述Jenkins集成工具向各所述测试终端下发所述测试任务;A sending module is used to call the Jenkins integration tool, and issue the test task to each of the test terminals through the Jenkins integration tool; 控制模块,用于通过所述Jenkins集成工具控制各所述测试终端,按照设定顺序执行所述多个测试子任务;a control module, configured to control each of the test terminals through the Jenkins integration tool, and execute the plurality of test subtasks in a set order; 接收模块,用于接收各所述测试终端回传的各所述测试子任务的测试结果。A receiving module, configured to receive the test results of each of the test subtasks returned by each of the test terminals. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时,实现如权利要求1-7中任一项所述的H5页面稳定性的测试方法。9. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the H5 page stability of any one of claims 1-7 is realized. testing method. 10.一种电子设备,包括存储器、处理器以及存储在所述存储器上的计算机程序,其特征在于,所述计算机程序被所述处理器执行时实现如权利要求1-7中任意一项所述的H5页面稳定性的测试方法。10. An electronic device, comprising a memory, a processor, and a computer program stored on the memory, wherein the computer program is executed by the processor to implement any one of claims 1-7. The test method for the stability of the H5 page described above.
CN202011098257.7A 2020-10-14 2020-10-14 H5 page stability test method, device and storage medium, electronic equipment Pending CN112256265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011098257.7A CN112256265A (en) 2020-10-14 2020-10-14 H5 page stability test method, device and storage medium, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011098257.7A CN112256265A (en) 2020-10-14 2020-10-14 H5 page stability test method, device and storage medium, electronic equipment

Publications (1)

Publication Number Publication Date
CN112256265A true CN112256265A (en) 2021-01-22

Family

ID=74243211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011098257.7A Pending CN112256265A (en) 2020-10-14 2020-10-14 H5 page stability test method, device and storage medium, electronic equipment

Country Status (1)

Country Link
CN (1) CN112256265A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656283A (en) * 2021-07-19 2021-11-16 厦门雅基软件有限公司 Project testing method and device, electronic equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324975A (en) * 2018-10-08 2019-02-12 四川长虹电器股份有限公司 A kind of continuous integrating method for surveying platform based on mobile cloud
CN109977027A (en) * 2019-04-04 2019-07-05 广州市百果园信息技术有限公司 A kind of method, apparatus of performance test, system, equipment and storage medium
CN110221857A (en) * 2019-06-18 2019-09-10 北京字节跳动网络技术有限公司 The problem of application program restorative procedure, device, electronic equipment and storage medium
US20190294535A1 (en) * 2018-03-23 2019-09-26 Sungard Availability Services, Lp Unified test automation system
CN110659198A (en) * 2018-06-28 2020-01-07 亿度慧达教育科技(北京)有限公司 Application program test case execution method and device and software test system
CN110688300A (en) * 2019-08-13 2020-01-14 平安科技(深圳)有限公司 Compatibility test method, device, equipment and storage medium
CN111078532A (en) * 2019-11-25 2020-04-28 北京云测信息技术有限公司 Terminal equipment testing method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190294535A1 (en) * 2018-03-23 2019-09-26 Sungard Availability Services, Lp Unified test automation system
CN110659198A (en) * 2018-06-28 2020-01-07 亿度慧达教育科技(北京)有限公司 Application program test case execution method and device and software test system
CN109324975A (en) * 2018-10-08 2019-02-12 四川长虹电器股份有限公司 A kind of continuous integrating method for surveying platform based on mobile cloud
CN109977027A (en) * 2019-04-04 2019-07-05 广州市百果园信息技术有限公司 A kind of method, apparatus of performance test, system, equipment and storage medium
CN110221857A (en) * 2019-06-18 2019-09-10 北京字节跳动网络技术有限公司 The problem of application program restorative procedure, device, electronic equipment and storage medium
CN110688300A (en) * 2019-08-13 2020-01-14 平安科技(深圳)有限公司 Compatibility test method, device, equipment and storage medium
CN111078532A (en) * 2019-11-25 2020-04-28 北京云测信息技术有限公司 Terminal equipment testing method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
如沐春风: "jenkins上有什么办法可以批量执行job", pages 1, Retrieved from the Internet <URL:《http://www.sirian369.com/article/2022/4/22/36.html》> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656283A (en) * 2021-07-19 2021-11-16 厦门雅基软件有限公司 Project testing method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN112486629B (en) Micro-service state detection method, micro-service state detection device, electronic equipment and storage medium
CN109361562B (en) Automatic testing method based on associated network equipment access
JP7079310B2 (en) Diagnostic analyzer related information aggregation method and aggregation system
CN112148887A (en) Equipment fault diagnosis method and device, storage medium and electronic equipment
CN110798380B (en) Data acquisition method, system, device, test equipment and test server
US20130304306A1 (en) Automotive Diagnostic Server
WO2017000424A1 (en) Protocol detection method and apparatus
CN113672441B (en) Method and device for testing intelligent equipment
CN111045921A (en) Automated interface testing method, device, computer equipment and storage medium
CN112740627A (en) Vehicle remote diagnosis method and system
CN110297767B (en) Automatic execution method, device, equipment and storage medium for test cases
CN112115051A (en) Page traversal detection method, device and equipment for application and readable storage medium
US20170168883A1 (en) System and method for testing configuration and operation of i/o devices
CN112115055A (en) A kind of multi-machine automatic testing method, device and computer equipment
CN109828920A (en) A kind of log analysis method, device and computer readable storage medium
CN112256265A (en) H5 page stability test method, device and storage medium, electronic equipment
CN116736823A (en) Cross-platform controller hardware-in-the-loop testing method, device and system
CN113469648A (en) Test flow control method, system, readable storage medium and control terminal
CN114064504A (en) Detection method, device, medium and computing equipment for full link pressure measurement data isolation
CN112882948A (en) Stability testing method, device and system for application and storage medium
CN112235145A (en) Flow state detection method and device
CN104699083B (en) Method and system for measuring electronic control unit (ECU)
CN116755949A (en) Method and device for positioning abnormal equipment in multi-equipment testing system and related products
CN111966394B (en) ETL-based data analysis method, device, equipment and storage medium
CN109039770B (en) A method, device and related equipment for refreshing server CMC

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210122