CN108399119B - Method and device for data processing and automatic testing of browsing service kernel engine - Google Patents

Method and device for data processing and automatic testing of browsing service kernel engine Download PDF

Info

Publication number
CN108399119B
CN108399119B CN201710065816.6A CN201710065816A CN108399119B CN 108399119 B CN108399119 B CN 108399119B CN 201710065816 A CN201710065816 A CN 201710065816A CN 108399119 B CN108399119 B CN 108399119B
Authority
CN
China
Prior art keywords
page element
page
application
interface
tested
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.)
Active
Application number
CN201710065816.6A
Other languages
Chinese (zh)
Other versions
CN108399119A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710065816.6A priority Critical patent/CN108399119B/en
Publication of CN108399119A publication Critical patent/CN108399119A/en
Application granted granted Critical
Publication of CN108399119B publication Critical patent/CN108399119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The invention relates to a method and a device for processing data of a browsing service kernel engine, which comprises the following steps: adding a page element acquisition interface in a browsing service kernel engine; the page element acquisition interface is used for recording page elements of the loaded webpage and organizing and packaging the page elements into data in a preset format, so that corresponding page element data are provided according to a page element acquisition request, and the page elements comprise page information contained in the webpage control. The method and the device for automatic testing can acquire the page elements for testing without additional re-signing and non-confusing operation requirements on the third-party application using the engine kernel.

Description

Method and device for data processing and automatic testing of browsing service kernel engine
Technical Field
The invention relates to the technical field of computers, in particular to a browsing service kernel engine data processing method and device and an automatic testing method and device.
Background
With the development of computer technology, a large number of client applications are published, web browsing of webview is supported, and before publishing, the function of web browsing of applications needs to be tested and detected, and faults are eliminated.
The current automation framework cannot identify HTML (HyperText Markup Language) page elements, only can reach the control level, the identifiable control level is the button which is not in the form of a webpage in the application, such as an input box, a text box, a webview control and the like, and the current automation framework cannot automatically identify the elements in the webpage page. According to the traditional testing method, javascript scripting language injection can be performed on the webview control, and page elements can be acquired and operated after the javascript language injection, but according to the scheme, re-signing and non-confusion packing are required to be performed on the application to be tested, when an engine kernel providing browsing service is used by a plurality of third-party applications, a large number of third-party application re-signing and non-confusion packing are required to be performed when the webpage browsing function of the application to be tested is tested, the workload is large, and the practical rate is low.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for processing data of a browsing service kernel engine, and a method and an apparatus for automated testing, which are directed to the above technical problems, and can acquire page elements for testing without performing additional re-signing and non-confusing operation requirements on a third-party application using the engine kernel.
A browsing service kernel engine data processing method, the method comprising:
adding a page element acquisition interface in a browsing service kernel engine;
the page element acquisition interface is used for recording page elements of the loaded webpage and organizing and packaging the page elements into data in a preset format, so that corresponding page element data are provided according to a page element acquisition request, and the page elements comprise page information contained in the webpage control.
A browsing services core engine data processing apparatus, the apparatus comprising:
the page element acquisition interface adding module is used for adding a page element acquisition interface in a browsing service kernel engine, wherein the page element acquisition interface is used for recording page elements of a loaded webpage and organizing and packaging the page elements into data in a preset format, so that corresponding page element data is provided according to a page element acquisition request, and the page elements comprise page information contained in a webpage control.
According to the browsing service kernel engine data processing method and device, the page element acquisition interface is added to the browsing service kernel engine and used for recording the page elements of the loaded webpage, the page elements are organized and packaged into the data in the preset format, so that the corresponding page element data are provided according to the page element acquisition request, the page elements comprise the page information contained in the webpage control, the capacity of acquiring the page elements is placed in the browsing service kernel engine capacity and used as a part of the browsing service kernel engine, the page information contained in the webpage control can be acquired without carrying out additional re-signing and non-confusion operation requirements on the application APP using the browsing service kernel engine, simplicity and convenience are achieved, and strong support is provided for the convenience of application testing.
A method of automated testing, the method comprising:
receiving a test starting instruction, and determining a corresponding application to be tested by an automatic test frame according to the test starting instruction, wherein the application to be tested adopts a browsing service kernel engine comprising a page element acquisition interface, the page element acquisition interface is used for recording page elements of a loaded webpage and organizing and packaging the page elements into data in a preset format, and the page elements comprise page information contained in a webpage control;
the automatic test framework sends a webpage opening request to the tested application so as to enable the tested application to load a corresponding webpage;
the automatic test framework sends a page element acquisition request to the application to be tested so that the application to be tested returns a target page element corresponding to the page element acquisition request through the page element acquisition interface;
and the automatic test framework obtains a test result according to the target page element.
An apparatus for automated testing, the apparatus comprising:
the test starting module is used for receiving a test starting instruction, the automatic test framework determines a corresponding tested application according to the test starting instruction, the tested application adopts a browsing service kernel engine comprising a page element acquisition interface, the page element acquisition interface is used for recording page elements of a loaded webpage and organizing and packaging the page elements into data in a preset format, and the page elements comprise page information contained in a webpage control;
the page loading module to be tested is used for sending a webpage opening request to the application to be tested by the automatic test framework so as to load the corresponding webpage to the application to be tested;
the page element acquisition module is used for sending a page element acquisition request to the application to be tested by the automatic test framework so as to enable the application to be tested to return a target page element corresponding to the page element acquisition request through the page element acquisition interface;
and the test result determining module is used for obtaining a test result by the automatic test framework according to the target page element.
The automatic testing method and the device determine the corresponding application to be tested according to the test starting instruction by receiving the test starting instruction, the application to be tested adopts a browsing service kernel engine comprising a page element acquisition interface, the page element acquisition interface is used for recording the page elements of the loaded webpage and organizing and packaging the page elements into data in a preset format, the page elements comprise page information contained in a webpage control, the automatic testing frame sends a webpage opening request to the application to be tested so that the application to be tested loads the corresponding webpage, the automatic testing frame sends a page element acquisition request to the application to be tested so that the application to be tested returns a target page element corresponding to the page element acquisition request through the page element acquisition interface, and the automatic testing frame obtains a testing result according to the target page element, the browsing service kernel engine supports the capability of acquiring page elements, is a part of the browsing service kernel engine, can acquire page information contained in a webpage control without carrying out extra heavy signature and non-confusion operation requirements on an application APP using the browsing service kernel engine, is simple and convenient, improves the automation degree of scene testing of the browsing service kernel engine, can effectively solve the pressure of the existing testing resources, can be added to daily testing monitoring, finds the quality problem of products in advance and ensures the coverage of testing.
Drawings
FIG. 1 is a diagram of an application environment of a method for data processing and automated testing of a browsing service kernel engine in one embodiment;
FIG. 2 is a diagram illustrating an internal structure of the terminal of FIG. 1 according to one embodiment;
fig. 3 is an internal structural view of the terminal of fig. 1 in another embodiment;
FIG. 4 is a flow diagram of a method for browsing services kernel engine data processing in one embodiment;
FIG. 5 is a flow diagram that illustrates the return of a target page element by a tested application in one embodiment;
FIG. 6 is a diagram illustrating a destination page element in one embodiment;
FIG. 7 is a flow diagram that illustrates the response of a tested application to a page element operation instruction, under an embodiment;
FIG. 8 is a flow diagram of a method for automated testing in one embodiment;
FIG. 9 is a schematic diagram of an automated testing process in one embodiment;
FIG. 10 is a block diagram of a browsing services kernel engine data processing apparatus in one embodiment;
FIG. 11 is a block diagram of a browsing service kernel engine data processing apparatus according to another embodiment;
FIG. 12 is a block diagram showing a data processing apparatus of a kernel engine for a browsing service in a further embodiment;
FIG. 13 is a block diagram of a browsing service kernel engine data processing apparatus in yet another embodiment;
FIG. 14 is a block diagram of a browsing service kernel engine data processing apparatus according to another embodiment;
FIG. 15 is a block diagram of a browsing service kernel engine data processing apparatus in yet another embodiment;
FIG. 16 is a block diagram showing the structure of an apparatus for automated testing in one embodiment;
fig. 17 is a block diagram showing the structure of an apparatus for automated testing in another embodiment.
Detailed Description
Fig. 1 is a diagram of an application environment in which a data processing method and an automation test method of a browsing service kernel engine are operated in one embodiment. As shown in fig. 1, the application environment includes a terminal 110 and a server 120, wherein the terminal 110 and the server 120 communicate via a network.
The terminal 110 may be, but is not limited to, a smart phone, a tablet computer, and the like. The terminal 110 installs a third-party application, wherein the third-party application comprises a browsing service kernel engine developed by the present person, the browsing service kernel engine comprises a page element acquisition interface, the terminal 110 can acquire web page data from the server 120 and load a corresponding web page, the terminal 110 can test the third-party application through an automatic test framework, and can record the page elements of the loaded web page through the page element acquisition interface of the browsing service kernel engine in the test process, wherein the page elements comprise page pheromones contained in a web page control, the page elements are organized and packaged into data in a preset format, so that the corresponding page elements can be provided for the automatic test framework according to a page element acquisition request sent by the automatic test framework without performing additional re-signing and non-confusion operation requirements on the third-party application using the engine kernel, and the page elements can be acquired for testing.
In one embodiment, the internal structure of the terminal 110 in fig. 1 is as shown in fig. 2, and the terminal 110 includes a processor, a graphic processing unit, a storage medium, a memory, a network interface, a display screen, and an input device, which are connected through a system bus. The storage medium of the terminal 110 stores an operating system, and further includes a browsing service kernel engine data processing device, which is used to implement a browsing service kernel engine data processing method suitable for the terminal. The processor is used to provide computational and control capabilities that support the operation of the entire terminal 110. The graphic processing unit in the terminal 110 is configured to provide at least a rendering capability of a display interface, the memory provides an environment for the operation of the browsing service kernel engine data processing apparatus in the storage medium, and the network interface is configured to perform network communication with the server 120. The display screen is used for displaying an application interface and the like, and the input device is used for receiving commands or data and the like input by a user. For a terminal 110 with a touch screen, the display screen and input device may be a touch screen. The structure shown in fig. 2 is a block diagram of only a part of the structure related to the present application, and does not constitute a limitation of the terminal to which the present application is applied, and a specific terminal may include more or less components than those shown in the drawing, or combine some components, or have a different arrangement of components.
In one embodiment, the internal structure of the terminal 110 in fig. 1 is as shown in fig. 3, and the terminal 110 includes a processor, a graphic processing unit, a storage medium, a memory, a network interface, a display screen, and an input device, which are connected through a system bus. The storage medium of the terminal 110 stores an operating system, and further includes an automatic testing apparatus, which is used to implement an automatic testing method for the terminal. The processor is used to provide computational and control capabilities that support the operation of the entire terminal 110. The graphic processing unit in the terminal 110 is configured to provide at least a drawing capability of a display interface, the memory provides an environment for operating the automated testing apparatus in the storage medium, and the network interface is configured to perform network communication with the server 120. The display screen is used for displaying an application interface and the like, such as displaying a test result, and the input device is used for receiving commands or data input by a user. For a terminal 110 with a touch screen, the display screen and input device may be a touch screen. The structure shown in fig. 3 is a block diagram of only a part of the structure related to the present application, and does not constitute a limitation of the terminal to which the present application is applied, and a specific terminal may include more or less components than those shown in the drawing, or combine some components, or have a different arrangement of components.
In one embodiment, as shown in fig. 4, there is provided a browsing service kernel engine data processing method, which is exemplified by being applied to a terminal in the application environment, and includes the following steps:
step S210, adding a page element obtaining interface in the browsing service kernel engine.
Specifically, the browsing service kernel engine is used for providing core support for the browsing service, and may be a browsing service kernel engine on an Android system or an IOS system. The page element acquisition interface is used for acquiring the page elements from the browsing service kernel engine and providing the page elements to the outside, and can be communicated with the browsing service kernel engine through a preset communication mode so as to call the page element acquisition interface. The preset communication mode can be customized, such as an adb (Android Debug Bridge) command, a log mode or an HTTP (HyperText Transfer Protocol) request mode, and only needs to satisfy normal communication interaction. And opening a browsing service in the kernel to load the page elements of the web browsing webview, so that the page elements can be acquired by a browsing service kernel engine.
Step S220, the page element obtaining interface is configured to record page elements of the loaded web page, and organize and package the page elements into data in a preset format, so as to provide corresponding page element data according to the page element obtaining request, where the page elements include page information included in the web page control.
Specifically, when the browsing service kernel engine includes a page element acquisition interface, when a webpage browsing display is performed, the browsing service kernel engine automatically traverses the webpage content, records the loaded webpage elements of the webpage, packages the webpage elements, and organizes and packages the page elements into data in a preset format, where the specific preset format can be defined by user as needed, for example, the page elements are organized and packaged into data in the preset format through unique identifiers corresponding to the page elements. And the corresponding page element data can be provided outwards by calling the page element acquisition interface according to the corresponding request parameters in the page element acquisition request. The webpage elements comprise webpage information contained in a webpage control, the webview is integrally embodied as the webpage control, and the webpage information is specific content information on a webpage, namely inside the webpage control and comprises character information, picture information, video information, link information and the like.
In the embodiment, the page element acquisition interface is added to the browsing service kernel engine and used for recording the page elements of the loaded webpage, and the page elements are organized and packaged into data in a preset format, so that corresponding page element data are provided according to the page element acquisition request, the page elements comprise page information contained in the webpage control, the capability of acquiring the page elements is placed in the browsing service kernel engine capability and used as a part of the browsing service kernel engine, the page information contained in the webpage control can be acquired without performing additional re-signing and non-confusion operation requirements on an application APP using the browsing service kernel engine, the method is simple and convenient, and strong support is provided for convenience of application testing.
In one embodiment, the method further comprises: and adding a page element operation interface in the browsing service kernel engine, wherein the page element operation interface is used for positioning the corresponding page element to be operated and carrying out corresponding action operation on the page element to be operated.
Specifically, the page element operation interface is used for performing corresponding operations on the specified page elements, where the operations include various user operations such as clicking and sliding. And calling the corresponding page element operation interface through the page element operation instruction carrying the parameters, and providing different page element operation interfaces according to different operation types and parameters. When the page element operation interface positions the corresponding page element to be operated, different positioning methods can be adopted according to different parameters, such as path positioning, coordinate positioning and the like. And if the positioning is successful and the page element to be operated is determined, carrying out corresponding action operation on the page element to be operated by simulating user operation. The capability of page operation is also put in the capability of the browsing service kernel engine and is used as a part of the browsing service kernel engine, so that the specified action operation can be performed on the specified page element without performing additional re-signing and non-confusion operation requirements on the application APP using the browsing service kernel engine, and the flexibility and the convenience are further increased for subsequent tests.
In one embodiment, the method further comprises: and packaging the browsing service kernel engine to generate a software development kit, wherein the software development kit is used for providing browsing service for the third-party application.
Specifically, a software development kit is generated by packaging a browsing service kernel engine, and a third-party application developer can develop and realize a third-party application providing a browsing service through the browsing service kernel engine through the software development kit, so that the browsing service of the third-party application can be completed simply and conveniently.
In one embodiment, as shown in fig. 5, the method further comprises:
step S310, the tested application receives the page element acquisition request, and the tested application comprises a browsing service kernel engine.
Specifically, the page element obtaining request is used to obtain the page element, and may obtain the content, the position, and the like corresponding to the page element. The method comprises the steps that a page element acquisition request can be automatically sent to a tested application through an automatic testing framework, the form of sending the page element acquisition request is determined by the communication form of a page element acquisition interface, the page element acquisition request can carry specific parameters or action functions, the parameters or the action functions are used for limiting the range of the page elements needing to be acquired, and the like, and if the page element acquisition request carries node information, only the page elements corresponding to the node information are acquired. The attribute content corresponding to the action function may be obtained through the action function corresponding to the attribute of the page element, where, for example, the action function includes getname (), which indicates that the returned page element includes the name of the page element.
In step S320, the application under test returns the target page element corresponding to the page element obtaining request through the page element obtaining interface.
Specifically, since the application to be tested includes the browsing service kernel engine described in the above embodiment, the browsing service kernel engine includes the page element obtaining interface, so that the page element obtaining interface can be called to return the corresponding target page element according to the request parameter carried by the page element obtaining request, each target page element has a corresponding unique identifier, for example, different page elements are distinguished by unique digital identifier ID, each page element corresponds to different attribute contents, and the attribute contents include position coordinates, specific contents, width, height, and the like. And acquiring the specified attribute content according to the request parameters or action functions carried by the page element acquisition request. In a specific embodiment, the attribute parameters of the obtained page elements are shown as shown in fig. 6.
In this embodiment, the page element acquisition request is sent to the application to be tested, and the application to be tested includes the browsing service kernel engine including the page element acquisition interface, so that the page element can be conveniently acquired.
In one embodiment, the application under test includes a test debug switch, and after step S310, the method further includes: and judging whether the test debugging switch is turned on, if so, entering the step S320, and if so, refusing to return the target page element corresponding to the page element acquisition request.
Specifically, the test debug switch is used for controlling the permission for acquiring the page element, if the test debug switch is closed, the page element is indicated to be the release version, the permission for acquiring the page element is closed, even if a page element acquisition request is received, the target page element cannot be returned, and the safety and the stability of the release version are ensured. If the test debugging switch is turned on, the test version is indicated, and the corresponding target page element can be returned through the page element acquisition request. The test debugging switch is used for freely switching between a test scene and a non-test scene, and the method is simple and convenient. In one embodiment, the application to be tested comprises a browsing service kernel engine of a page element acquisition interface, the application to be tested comprises a test version and a release version, and a user can acquire application downloads of corresponding versions according to requirements. In an embodiment, the page element obtaining request carries request authorization information, where the request authorization information may be a user name, an authorization code obtained in advance, and the like, and after step S310, the method further includes: and verifying the authority corresponding to the page element acquisition request according to the request authorization information, if the authority passes the verification, entering step S320, and if the authority does not pass the verification, refusing to return the target page element corresponding to the page element acquisition request. And by requesting the authorization information, only returning page elements to the users meeting the authority, and controlling the safety and stability of the application.
In one embodiment, as shown in fig. 7, after step S320, the method further includes:
step S410, the application to be tested receives a page element operation instruction, and the page element operation instruction carries a target page element.
Specifically, the page element operation instruction is an instruction for performing corresponding operation on the specified page element, and the operation includes various user operations such as clicking and sliding. And if the page element operation instruction corresponding to the click operation is click, the page element operation instruction corresponding to the input characters is type _ text. The page element operation instruction carries a target page element, different page elements can be distinguished through target page element identification, and one target page element can be uniquely determined through the position of the page element. Different page element operation interfaces are called by different page element operation instructions, so that corresponding parameters can be carried in the page element operation instructions according to parameter specifications corresponding to the target page element operation interface, and different page element operation instructions are formed.
Step S420, call the corresponding page element operation interface through the page element operation instruction, and return page response data corresponding to the page element operation instruction to the test frame.
Specifically, the corresponding page element operation interface is called according to the instruction type and the parameter corresponding to the page element operation instruction, so that the corresponding page response data is obtained, and the page response data is returned to the test frame. In one embodiment, both the page response data and the page element data can be encrypted and then sent to the test framework to ensure the security of data transmission.
In the embodiment, the capability of page operation in the browsing service kernel engine capability can be called through the page element operation instruction, and the specified action operation can be performed on the specified page element without performing additional re-signing and non-confusing operation requirements on the application APP using the browsing service kernel engine, so that the operation is simple and convenient.
In one embodiment, the page element obtaining interface and the page element operating interface are adb-form interfaces, log-form interfaces or HTTP request-form interfaces.
Specifically, the interface type of the page element obtaining interface may be set as required, when the page element obtaining interface and the page element operating interface are adb type interfaces, the page element obtaining request and the page element operating instruction are adb commands, the adb commands may include multiple parameters, different adb commands are formed through different parameters, the parameters may be divided into function name parameters, function object parameters, and the like, for example, table 1 shows function object parameters corresponding to different function names corresponding to the adb commands, for example, loadurl is a function name, the function to be achieved is to open a designated link, and the corresponding function object parameters are url, which indicates the designated link. In a specific embodiment, the adb command is specifically: the method includes the steps of (1) testing adb shell am broadcast-a broadcast. test-es "function", "click" - "es" by "," xpath "-" es "extra", "// (@ id ═ indexContain" ]/div [6]/div [1] ", and when the tested application receives the instruction, clicking page elements under corresponding paths determined by" es "by", "xpath" - "es" extra ","// (@ id ═ indexContain "]/div [6]/div [1 ]. Different adb commands may be formed by combinations of the various parameters in table 1.
TABLE 1
Figure BDA0001221062290000101
When the page element acquisition interface and the page element operation interface are log-form interfaces, the tested application receives a log-form page element acquisition request or a page element operation instruction, the tested application writes a target page element or page response data into a preset log file, and other application programs, such as an automatic test framework, can acquire the target page element or page response data by reading the preset log file.
When the page element acquisition interface and the page element operation interface are in the form of HTTP request interfaces, the application to be tested receives a page element acquisition request or a page element operation instruction in the form of HTTP request.
In this embodiment, the interface can select different forms, and is flexible and convenient, and can acquire page elements or operate page elements in a corresponding form as required.
In one embodiment, as shown in fig. 8, there is provided a method of automated testing, comprising:
step S510, receiving a test start instruction, determining, by the automated testing framework, a corresponding application to be tested according to the test start instruction, where the application to be tested employs a browsing service kernel engine including a page element acquisition interface, the page element acquisition interface is used to record page elements of a loaded web page, and organize and package the page elements into data in a preset format, where the page elements include page information included in a web page control.
Specifically, a test start instruction may be sent to an automated test framework of the terminal through the terminal or through the server, where the test start instruction may include an identifier of an application to be tested, so as to determine the application to be tested, the application to be tested may provide various browsing services including an application of a browsing service kernel engine, such as an instant messaging application, a social application, and an information sharing application, and the browsing service kernel engine includes a page element acquisition interface, and the application to be tested may conveniently use the service provided by the browsing service kernel engine and the page element acquisition interface by downloading a browsing service kernel engine toolkit. In one particular embodiment, a python uiautomator automated testing framework is employed. In one embodiment, the number of the applications to be tested is multiple, and the multiple applications to be tested are tested simultaneously through an automatic testing framework, so that the test parallelism is realized.
The browsing service kernel engine is used for providing core support for browsing services in the application, and can be a browsing service kernel engine on an Android system or an IOS system. The page element acquisition interface is used for acquiring the page elements from the browsing service kernel engine and providing the page elements to the outside, and can be communicated with the browsing service kernel engine through a preset communication mode so as to call the page element acquisition interface. The preset communication mode can be customized, such as an adb command, a log mode or an HTTP request mode, and only normal communication interaction needs to be met. And opening a browsing service in the kernel to load the page elements of the web browsing webview, so that the page elements can be acquired by a browsing service kernel engine.
Step S520, the automated testing framework sends a webpage opening request to the application to be tested, so that the application to be tested loads the corresponding webpage.
Specifically, the test case can be executed circularly, and interactive operation is performed with the application to be tested according to the test scene in the process of executing the test case, for example, a news page is opened. The method comprises the steps that an automatic test frame sends a webpage opening request to a tested application so that the tested application loads a corresponding webpage, when a browsing service kernel engine comprises a webpage element acquisition interface, webpage content can be automatically traversed when the corresponding webpage is loaded, page elements of the loaded webpage are recorded and packaged, and the page elements are organized and packaged into data in a preset format, wherein the specific preset format can be defined by user according to needs, for example, the page elements are organized and packaged into the data in the preset format through unique identification corresponding to the page elements. And the corresponding page element data can be provided outwards by calling the page element acquisition interface according to the corresponding request parameters in the page element acquisition request. The webpage elements comprise webpage information contained in a webpage control, the webview is integrally embodied as the webpage control, and the webpage information is specific content information on a webpage, namely inside the webpage control and comprises character information, picture information, video information, link information and the like.
Step S530, the automated testing framework sends a page element obtaining request to the application under test, so that the application under test returns a target page element corresponding to the page element obtaining request through the page element obtaining interface.
Specifically, the page element obtaining request is used to obtain the page element, and may obtain the content, the position, and the like corresponding to the page element. The method comprises the steps that a page element acquisition request can be automatically sent to a tested application through an automatic testing framework, the form of sending the page element acquisition request is determined by the communication form of a page element acquisition interface, the page element acquisition request can carry specific parameters or action functions, the parameters or the action functions are used for limiting the range of the page elements needing to be acquired, and the like, and if the page element acquisition request carries node information, only the page elements corresponding to the node information are acquired. The attribute content corresponding to the action function may be obtained through the action function corresponding to the attribute of the page element, where, for example, the action function includes getname (), which indicates that the returned page element includes the name of the page element. The action function may further include a page element position information obtaining function, a page element name obtaining function, and the like.
And step S540, the automatic testing frame obtains a testing result according to the target page element.
Specifically, the tested application includes the browsing service kernel engine described in the above embodiment, and the browsing service kernel engine includes a page element obtaining interface, so that the tested application can call the page element obtaining interface to return the corresponding target page element according to the request parameter carried in the page element obtaining request, each target page element has a corresponding unique identifier, for example, different page elements are distinguished by a unique digital identifier ID, each page element corresponds to different attribute contents, and the attribute contents include position coordinates, specific contents, width, height, and the like. And acquiring the specified attribute content according to the request parameters or action functions carried by the page element acquisition request. The automatic testing frame compares the target page element with the expected first testing data to obtain a corresponding testing result, also can carry out a corresponding operation instruction on the target page element, and then compares the response data returned by the tested application with the expected second testing data to obtain a corresponding testing result. The test result can be timely fed back to the test user, such as through mails, instant messaging conversation windows and the like.
In this embodiment, by receiving a test start instruction, an automated test frame determines a corresponding application under test according to the test start instruction, the application under test employs a browsing service kernel engine including a page element obtaining interface, the page element obtaining interface is used to record page elements of a loaded web page, the page elements are organized and encapsulated into data in a preset format, the page elements include page information contained in a web page control, the automated test frame sends a web page open request to the application under test so that the application under test loads the corresponding web page, the automated test frame sends a page element obtaining request to the application under test so that the application under test returns a target page element corresponding to the page element obtaining request through the page element obtaining interface, the automated test frame obtains a test result according to the target page element, and the browsing service kernel engine of the application supports a capability of obtaining the page element, the method is a part of the browsing service kernel engine, the page information contained in the webpage control can be obtained without carrying out extra heavy signature and non-confusion operation requirements on the application APP using the browsing service kernel engine, the method is simple and convenient, the automation degree of scene testing of the browsing service kernel engine is improved, the pressure of the existing testing resources can be effectively solved, meanwhile, the daily testing monitoring can be added, the quality problem of the product can be found in advance, and the coverage of the testing can be ensured.
In one embodiment, the method further comprises: and the automatic test framework sends a page element operation instruction to the application to be tested, wherein the page element operation instruction carries the target page element, so that the application to be tested calls the corresponding page element operation interface through the page element operation instruction and returns page response data corresponding to the page element operation instruction.
Specifically, the page element operation instruction is an instruction for performing corresponding operation on the specified page element, and the operation includes various user operations such as clicking and sliding. And if the page element operation instruction corresponding to the click operation is click, the page element operation instruction corresponding to the input characters is type _ text. The page element operation instruction carries a target page element, different page elements can be distinguished through target page element identification, and one target page element can be uniquely determined through the position of the page element. Different page element operation interfaces are called by different page element operation instructions, so that corresponding parameters can be carried in the page element operation instructions according to parameter specifications corresponding to the target page element operation interface, and different page element operation instructions are formed. And the application to be tested calls the corresponding page element operation interface according to the instruction type and the parameters corresponding to the page element operation instruction, so that corresponding page response data is obtained, and the page response data is returned to the test frame. In one embodiment, both the page response data and the page element data can be encrypted and then sent to the test framework to ensure the security of data transmission.
In the embodiment, the capability of page operation in the browsing service kernel engine capability can be called through the page element operation instruction, and the specified action operation can be performed on the specified page element without performing additional re-signing and non-confusing operation requirements on the application APP using the browsing service kernel engine, so that the operation is simple and convenient. The automatic testing framework sends the page element operation instruction to the application to be tested, and can simulate the action operation of a user on the specified page element, so that the automatic testing is carried out, and the convenience of the automatic testing is further improved.
In one embodiment, step S540 includes: and the automatic test framework judges whether the target page element comprises an expected page element, if so, the test result is normal, otherwise, the test result is abnormal.
Specifically, the target page element can be obtained by comparing the target page element with the expected page element, if the target page element includes the expected page element, the test result is normal, otherwise, the test result is abnormal, and the test result can be quickly obtained. When the application under test is multiple, different applications under test can correspond to different expected page elements, so that different test results can be obtained.
In one embodiment, step S540 includes: and the automatic test framework judges whether the expected page is displayed or not according to the page response data, if so, the test result is normal, otherwise, the test result is abnormal.
Specifically, the page response data may include a sub-page link, so that the corresponding sub-page is obtained according to the sub-page link, and if the sub-page is an expected page, the test result is normal. And judging a test result through the page response data, and further increasing the test range. When the application to be tested is multiple, different applications to be tested can correspond to different expected pages, so that different test results can be obtained.
In one embodiment, the page element acquisition interface and the page element operation interface are adb type interfaces, log type interfaces or HTTP request type interfaces, and when the page element acquisition interface and the page element operation interface are adb type interfaces, the automated testing framework sends a page element acquisition request or a page element operation instruction to the application to be tested through a debug bridge adb command; when the page element acquisition interface and the page element operation interface are log-form interfaces, the automatic test frame sends a log-form page element acquisition request or a page element operation instruction to the application to be tested so that the application to be tested writes the target page element or page response data into a preset log file, and the automatic test frame acquires the target page element or page response data by reading the preset log file; and when the page element acquisition interface and the page element operation interface are in the form of HTTP request interfaces, the automatic test framework sends a page element acquisition request or a page element operation instruction to the application to be tested through the HTTP request. The interface types of the page element acquisition interface and the page element operation interface can be set as required, the interfaces can be selected in different forms, flexibility and convenience are achieved, and the corresponding forms can be used for acquiring the page elements or operating the page elements as required.
In a specific embodiment, a schematic process diagram of the automated testing is shown in fig. 9, and the automated testing process is as follows:
1. and the automatic test framework receives the test starting instruction and starts to circularly execute the test case.
2. The automatic testing framework respectively sends webpage opening requests to a plurality of applications to be tested, namely a first application, a second application and a third application according to the test cases, and the webpage opening requests carry webpage addresses, so that the corresponding webpage is loaded by the applications to be tested. The browsing service kernel engine used by the first application, the second application and the third application comprises a page element acquisition interface, records page elements of a webpage loaded by the 3 applications respectively, and organizes and packages the page elements into data in a preset format, such as first data, second data and third data.
3. The automated testing framework respectively sends page element acquisition requests to the plurality of applications, and the plurality of applications return target page elements corresponding to the page element acquisition requests through the page element acquisition interfaces, such as a first target page element, a second target page element and a third target page element.
4. And the automatic test framework judges whether the target page element comprises an expected page element corresponding to the application, if so, the test result is normal, otherwise, the test result is abnormal.
5. And circularly executing a plurality of scene operations on the returned page elements, for example, executing click operations on page elements such as page tags and link buttons, sending a page element operation instruction to the application to be tested by the automatic test framework, wherein the page element operation instruction carries a target page element identifier, and if the page element identifier corresponding to the military category link is 105, the page element operation instruction carries 105. And the tested application calls the corresponding page element operation interface through the page element operation instruction and returns page response data corresponding to the page element operation instruction, wherein the page response data can comprise the updated page elements.
6. And the automatic test framework judges whether the expected page is displayed or not according to the page response data, if so, the test result is normal, otherwise, the test result is abnormal.
7. And uploading the test result to the user terminal in real time.
In one embodiment, as shown in fig. 10, there is provided a browsing service kernel engine data processing apparatus, including:
the page element obtaining interface adding module 610 is configured to add a page element obtaining interface in the browsing service kernel engine, where the page element obtaining interface is used to record page elements of a loaded web page, and organize and package the page elements into data in a preset format, so as to provide corresponding page element data according to a page element obtaining request, where the page element includes page information included in a web page control.
In one embodiment, as shown in fig. 11, the apparatus further comprises:
the page element operation interface adding module 620 is configured to add a page element operation interface to the browsing service kernel engine, where the page element operation interface is configured to locate a corresponding page element to be operated and perform corresponding action operation on the page element to be operated.
In one embodiment, as shown in fig. 12, the apparatus further comprises:
and a packaging module 630, configured to package the browsing service kernel engine to generate a software development kit, where the software development kit is used to provide a browsing service for a third-party application.
In one embodiment, as shown in fig. 13, the apparatus further comprises:
and the page element obtaining request responding module 640 is configured to receive a page element obtaining request by the application to be tested, where the application to be tested includes the browsing service kernel engine, and the application to be tested returns a target page element corresponding to the page element obtaining request through the page element obtaining interface.
In one embodiment, as shown in fig. 14, the apparatus further comprises:
the determining module 650 is configured to determine whether the test debug switch is turned on, if the test debug switch is turned on, enter the page element obtaining request responding module 640 to return the target page element corresponding to the page element obtaining request, and if the test debug switch is turned off, refuse to return the target page element corresponding to the page element obtaining request.
In one embodiment, as shown in fig. 15, the apparatus further comprises:
the page element operation response module 660 is configured to receive a page element operation instruction by the application to be tested, where the page element operation instruction carries a target page element, call a corresponding page element operation interface through the page element operation instruction, and return page response data corresponding to the page element operation instruction to the test framework.
In one embodiment, the page element obtaining interface and the page element operating interface are adb-form interfaces, log-form interfaces or HTTP request-form interfaces.
In one embodiment, as shown in fig. 16, there is provided an apparatus for automated testing, the apparatus comprising:
the test starting module 710 is configured to receive a test starting instruction, determine, by the automated test framework, a corresponding application to be tested according to the test starting instruction, where the application to be tested employs a browsing service kernel engine including a page element obtaining interface, the page element obtaining interface is configured to record page elements of a loaded webpage, and organize and package the page elements into data in a preset format, where the page elements include page information included in a webpage control.
The page loading module 720 is configured to send a webpage opening request to the application to be tested by the automated testing framework, so that the application to be tested loads the corresponding webpage.
The page element obtaining module 730 is configured to send a page element obtaining request to the application under test by the automated testing framework, so that the application under test returns a target page element corresponding to the page element obtaining request through the page element obtaining interface.
And the test result determining module 740 is configured to obtain a test result according to the target page element by the automated test framework.
In one embodiment, as shown in fig. 17, the apparatus further comprises:
the page element operation testing module 750 is configured to send a page element operation instruction to the application under test by the automated testing framework, where the page element operation instruction carries a target page element, so that the application under test calls a corresponding page element operation interface through the page element operation instruction and returns page response data corresponding to the page element operation instruction.
In one embodiment, the test result determining module 740 is further configured to determine whether the target page element includes an expected page element by the automated testing framework, and if so, the test result is normal, otherwise, the test result is abnormal.
In one embodiment, the test result determining module 740 is further configured to determine, by the automated testing framework, whether to display the expected page according to the page response data, if so, the test result is normal, otherwise, the test result is abnormal.
In one embodiment, the page element acquisition interface and the page element operation interface are adb type interfaces, log type interfaces or HTTP request type interfaces, and when the page element acquisition interface and the page element operation interface are adb type interfaces, the automated testing framework sends a page element acquisition request or a page element operation instruction to the application under test through a debug bridge adb command.
When the page element acquisition interface and the page element operation interface are log-form interfaces, the automatic test framework sends a log-form page element acquisition request or a page element operation instruction to the application to be tested so that the application to be tested writes the target page element or page response data into a preset log file, and the automatic test framework acquires the target page element or page response data by reading the preset log file.
When the page element acquisition interface and the page element operation interface are in the form of HTTP request interfaces, the automatic test framework sends a page element acquisition request or a page element operation instruction to the application to be tested through the HTTP request.
It will be understood by those skilled in the art that all or part of the processes in the methods of the embodiments described above may be implemented by hardware related to instructions of a computer program, which may be stored in a computer readable storage medium, for example, in the storage medium of a computer system, and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (22)

1. A browsing service kernel engine data processing method, the method comprising:
adding a page element acquisition interface in a browsing service kernel engine;
the page element acquisition interface is used for recording page elements of the loaded webpage and organizing and packaging the page elements into data in a preset format, so that corresponding page element data are provided according to a page element acquisition request, and the page elements comprise page information contained in a webpage control;
packaging the browsing service kernel engine to generate a software development kit, wherein the software development kit is used for providing browsing service for third-party application;
receiving a page element acquisition request by a tested application, wherein the tested application comprises the browsing service kernel engine;
and the tested application returns a target page element corresponding to the page element acquisition request through the page element acquisition interface.
2. The method of claim 1, further comprising:
adding a page element operation interface in a browsing service kernel engine;
the page element operation interface is used for positioning the corresponding page element to be operated and carrying out corresponding action operation on the page element to be operated.
3. The method according to claim 1 or 2, wherein the page element obtaining request is used for obtaining content or position corresponding to a page element.
4. The method of claim 1, wherein the page element get request is automatically sent to the application under test through an automated test framework.
5. The method of claim 1, wherein the application under test comprises a test debug switch, and after the step of receiving the page element get request, the method further comprises:
judging whether the test debugging switch is started, if so, returning a target page element corresponding to the page element acquisition request by the tested application through the page element acquisition interface;
and if the test debugging switch is closed, refusing to return the target page element corresponding to the page element acquisition request.
6. The method according to claim 1, wherein after the step of returning the target page element corresponding to the page element obtaining request by the application under test through the page element obtaining interface, the method further comprises:
the method comprises the steps that a tested application receives a page element operation instruction, and the page element operation instruction carries a target page element;
and calling a corresponding page element operation interface through the page element operation instruction, and returning page response data corresponding to the page element operation instruction to the test frame.
7. The method of claim 2, wherein the page element obtaining interface and the page element operating interface are debug bridge adb form interfaces, log form interfaces, or hypertext transfer protocol (HTTP) request form interfaces.
8. A method of automated testing, the method comprising:
receiving a test starting instruction, and determining a corresponding application to be tested by an automatic test frame according to the test starting instruction, wherein the application to be tested adopts a browsing service kernel engine comprising a page element acquisition interface, the page element acquisition interface is used for recording page elements of a loaded webpage and organizing and packaging the page elements into data in a preset format, and the page elements comprise page information contained in a webpage control;
the automatic test framework sends a webpage opening request to the tested application so as to enable the tested application to load a corresponding webpage;
the automatic test framework sends a page element acquisition request to the application to be tested so that the application to be tested returns a target page element corresponding to the page element acquisition request through the page element acquisition interface;
and the automatic test framework obtains a test result according to the target page element.
9. The method of claim 8, further comprising:
and the automatic test framework sends a page element operation instruction to the tested application, wherein the page element operation instruction carries the target page element, so that the tested application calls a corresponding page element operation interface through the page element operation instruction and returns page response data corresponding to the page element operation instruction.
10. The method of claim 8, wherein the step of the automated test framework obtaining test results from the target page elements comprises:
and the automatic test framework judges whether the target page elements comprise expected page elements, if so, the test result is normal, otherwise, the test result is abnormal.
11. The method of claim 9, wherein the step of the automated test framework obtaining test results from the target page elements comprises:
and the automatic test framework judges whether an expected page is displayed or not according to the page response data, if so, the test result is normal, otherwise, the test result is abnormal.
12. The method according to claim 8, wherein the page element obtaining interface and the page element operating interface are debug bridge adb type interfaces, log type interfaces or hypertext transfer protocol (HTTP) request type interfaces, and when the page element obtaining interface and the page element operating interface are adb type interfaces, the automated testing framework sends a page element obtaining request or a page element operating instruction to the tested application through an adb command;
when the page element acquisition interface and the page element operation interface are log-form interfaces, the automatic test frame sends a log-form page element acquisition request or a page element operation instruction to the application to be tested so that the application to be tested writes the target page element or page response data into a preset log file, and the automatic test frame acquires the target page element or page response data by reading the preset log file;
and when the page element acquisition interface and the page element operation interface are in HTTP request form, the automatic test framework sends a page element acquisition request or a page element operation instruction to the application to be tested through an HTTP request.
13. A browsing services core engine data processing apparatus, the apparatus comprising:
the page element acquisition interface adding module is used for adding a page element acquisition interface in a browsing service kernel engine, wherein the page element acquisition interface is used for recording page elements of a loaded webpage and organizing and packaging the page elements into data in a preset format, so that corresponding page element data is provided according to a page element acquisition request, and the page elements comprise page information contained in a webpage control;
the packaging module is used for packaging the browsing service kernel engine to generate a software development kit, and the software development kit is used for providing browsing service for third-party application;
and the page element acquisition request response module is used for receiving a page element acquisition request by the application to be tested, the application to be tested comprises the browsing service kernel engine, and the application to be tested returns a target page element corresponding to the page element acquisition request through the page element acquisition interface.
14. The apparatus of claim 13, further comprising:
the page element operation interface adding module is used for adding a page element operation interface in the browsing service kernel engine, and the page element operation interface is used for positioning the corresponding page element to be operated and carrying out corresponding action operation on the page element to be operated.
15. The apparatus according to claim 13 or 14, wherein the page element obtaining request is used to obtain content or position corresponding to a page element.
16. The apparatus of claim 13, wherein the page element get request is automatically sent to the application under test through an automated testing framework.
17. The apparatus of claim 13, further comprising:
and the page element operation response module is used for receiving a page element operation instruction by the application to be tested, wherein the page element operation instruction carries the target page element, calls a corresponding page element operation interface through the page element operation instruction, and returns page response data corresponding to the page element operation instruction to the test frame.
18. An apparatus for automated testing, the apparatus comprising:
the test starting module is used for receiving a test starting instruction, the automatic test framework determines a corresponding tested application according to the test starting instruction, the tested application adopts a browsing service kernel engine comprising a page element acquisition interface, the page element acquisition interface is used for recording page elements of a loaded webpage and organizing and packaging the page elements into data in a preset format, and the page elements comprise page information contained in a webpage control;
the page loading module to be tested is used for sending a webpage opening request to the application to be tested by the automatic test framework so as to load the corresponding webpage to the application to be tested;
the page element acquisition module is used for sending a page element acquisition request to the application to be tested by the automatic test framework so as to enable the application to be tested to return a target page element corresponding to the page element acquisition request through the page element acquisition interface;
and the test result determining module is used for obtaining a test result by the automatic test framework according to the target page element.
19. The apparatus of claim 18, further comprising:
and the page element operation testing module is used for sending a page element operation instruction to the tested application by the automatic testing framework, wherein the page element operation instruction carries the target page element, so that the tested application calls a corresponding page element operation interface through the page element operation instruction and returns page response data corresponding to the page element operation instruction.
20. The apparatus of claim 18, wherein the page element obtaining interface and the page element operating interface are debug bridge adb type interfaces, log type interfaces or hypertext transfer protocol (HTTP) request type interfaces, and when the page element obtaining interface and the page element operating interface are adb type interfaces, the automated testing framework sends a page element obtaining request or a page element operating instruction to the application under test through an adb command;
when the page element acquisition interface and the page element operation interface are log-form interfaces, the automatic test frame sends a log-form page element acquisition request or a page element operation instruction to the application to be tested so that the application to be tested writes the target page element or page response data into a preset log file, and the automatic test frame acquires the target page element or page response data by reading the preset log file;
and when the page element acquisition interface and the page element operation interface are in HTTP request form, the automatic test framework sends a page element acquisition request or a page element operation instruction to the application to be tested through an HTTP request.
21. A terminal comprising a memory and a processor, the memory having stored therein computer-readable instructions which, when executed by the processor, cause the processor to perform the steps of the method of any one of claims 1 to 12.
22. A computer readable storage medium having computer readable instructions stored thereon, which when executed by a processor implement the steps of the method of any one of claims 1-12.
CN201710065816.6A 2017-02-06 2017-02-06 Method and device for data processing and automatic testing of browsing service kernel engine Active CN108399119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710065816.6A CN108399119B (en) 2017-02-06 2017-02-06 Method and device for data processing and automatic testing of browsing service kernel engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710065816.6A CN108399119B (en) 2017-02-06 2017-02-06 Method and device for data processing and automatic testing of browsing service kernel engine

Publications (2)

Publication Number Publication Date
CN108399119A CN108399119A (en) 2018-08-14
CN108399119B true CN108399119B (en) 2021-05-25

Family

ID=63093963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710065816.6A Active CN108399119B (en) 2017-02-06 2017-02-06 Method and device for data processing and automatic testing of browsing service kernel engine

Country Status (1)

Country Link
CN (1) CN108399119B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110875858B (en) * 2018-08-31 2023-06-27 北京京东尚科信息技术有限公司 Application test data grabbing method, system, equipment and storage medium
CN109491890A (en) * 2018-10-16 2019-03-19 深圳壹账通智能科技有限公司 The interface scans method and terminal device of application program
CN109828903B (en) * 2018-12-14 2022-03-08 中国平安人寿保险股份有限公司 Automatic testing method and device, computer device and storage medium
CN110908909B (en) * 2019-11-21 2023-09-22 望海康信(北京)科技股份公司 Automatic test method, device, storage medium and equipment
CN112149033A (en) * 2020-09-14 2020-12-29 京东数字科技控股股份有限公司 Method and device for acquiring H5 page control, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654861A (en) * 2011-03-01 2012-09-05 腾讯科技(深圳)有限公司 Method and system for calculating webpage extraction accuracy
CN104699604A (en) * 2015-02-28 2015-06-10 百度在线网络技术(北京)有限公司 Method and device for testing Android application on basis of customized rendering engine
CN104731598A (en) * 2012-05-07 2015-06-24 北京奇虎科技有限公司 Method and device for providing web browsing based on Webkit kernel
CN105095449A (en) * 2015-07-27 2015-11-25 福州盈展信息技术有限公司 Method for converting HTML webpage to mobile terminal page
CN105740338A (en) * 2016-01-25 2016-07-06 江苏国泰新点软件有限公司 Data processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7359831B2 (en) * 2004-05-21 2008-04-15 Bea Systems, Inc. Diagnostic context
CN105095067A (en) * 2014-05-21 2015-11-25 北京奇虎科技有限公司 User interface element object identification and automatic test method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654861A (en) * 2011-03-01 2012-09-05 腾讯科技(深圳)有限公司 Method and system for calculating webpage extraction accuracy
CN104731598A (en) * 2012-05-07 2015-06-24 北京奇虎科技有限公司 Method and device for providing web browsing based on Webkit kernel
CN104699604A (en) * 2015-02-28 2015-06-10 百度在线网络技术(北京)有限公司 Method and device for testing Android application on basis of customized rendering engine
CN105095449A (en) * 2015-07-27 2015-11-25 福州盈展信息技术有限公司 Method for converting HTML webpage to mobile terminal page
CN105740338A (en) * 2016-01-25 2016-07-06 江苏国泰新点软件有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN108399119A (en) 2018-08-14

Similar Documents

Publication Publication Date Title
CN108399119B (en) Method and device for data processing and automatic testing of browsing service kernel engine
JP6740373B2 (en) Page component dynamic layout
CN108595329B (en) Application testing method and device and computer storage medium
US20190327287A1 (en) Data acquisition method and device
US20090082008A1 (en) Mobile Phone Code Debugging Method and Apparatus
CN104301175A (en) WEB service system simulation monitoring method based on browser
CN113868126A (en) Application debugging method, device and storage medium of equipment
CN111694550A (en) Page display control method, device and system
CN106681767B (en) Light application adding method and device
CN108319474B (en) Page information generation method, device and equipment
CN111898053A (en) Page browsing method, device, equipment and computer readable storage medium
CN113296653B (en) Simulation interaction model construction method, interaction method and related equipment
CN111736740A (en) Picture hot area generation method, device and equipment and storage medium
CN106815037B (en) Application function execution method and device
CN108509228B (en) Page loading method, terminal equipment and computer readable storage medium
CN111679828B (en) Data processing method and device, electronic equipment and storage medium
CN112650689A (en) Test method, test device, electronic equipment and storage medium
CN111767109A (en) H5 page display method and device based on terminal application and readable storage medium
CN109324822B (en) PWA (public warning assistant) item detection method, computer-readable storage medium and terminal device
CN113835803A (en) Application theme display method and device
CN110708270B (en) Abnormal link detection method and device
RU2595763C2 (en) Method and apparatus for managing load on basis of android browser
CN112433778A (en) Mobile equipment page display method and device, electronic equipment and storage medium
CN117170823B (en) Method and device for executing operation in batch container and electronic equipment
CN116049020B (en) Automatic test method, device and equipment for software products and readable storage medium

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
GR01 Patent grant
GR01 Patent grant