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

Test method, device and computer equipment for h5 pages in application programs

A technology of application programs and testing methods, applied in the computer field, can solve the problems of incomplete H5 page data interaction and inaccurate test data.

Active Publication Date: 2020-11-24
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the test environment is not tested in the real application Webview (network view), it is necessary to additionally process the operations in the H5 page, for example, login in the H5 page, etc., making the data interaction in the H5 page not complete enough, resulting in The test data is not accurate enough

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test method, device and computer equipment for h5 pages in application programs
  • Test method, device and computer equipment for h5 pages in application programs
  • Test method, device and computer equipment for h5 pages in application programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0040] The testing method of H5 (the 5th generation HTML (HyperText MarkupLanguage, hypertext markup language)) page in the application provided in the embodiment of the present application can be applied to such as figure 1 In the application scenario shown. Wherein, the test terminal 102 is connected to the mobile terminal 104 through a USB (Universal Serial Bus, Universal Serial Bus) interface and a data line. An application program is installed in the mobile terminal 104, and an H5 page can be run in the application program. A test tool is installed in the test termi...

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

PUM

No PUM Login to View More

Abstract

A test method and apparatus for an H5 page in an application, and a computer device. The method comprises: obtaining an H5 page under test, and generating a test command corresponding to the H5 page under test (302); sending the test command to a mobile terminal (104), such that an application run by the mobile terminal (104) tests, according to the test command, the H5 page under test, and records, by using a Webview kernel, corresponding test data (304); receiving the test data returned by the mobile terminal (104) (306); converting the test data to generate a.har file (308); and analyzing the.har file to generate a test report corresponding to the H5 page under test (310). Using the method effectively improves accuracy of testing of an H5 page in an application.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a testing method, device and computer equipment for an H5 page in an application program. Background technique [0002] With the increase of applications in mobile terminals, more and more H5 pages appear in the applications. Before the application is released, the testing of the H5 pages in the application has also become an important work. In the traditional way, the tester simulates the H5 page in the application in the browser of the test terminal for testing. Since the test environment is not tested in the real application Webview (network view), it is necessary to additionally process the operations in the H5 page, for example, login in the H5 page, etc., making the data interaction in the H5 page not complete enough, resulting in The test data is not accurate enough. Contents of the invention [0003] Based on this, it is necessary to address the above tec...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3696
Inventor 徐国诚刘慧众丁叶丹虹
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN