CN108399119A - Browse serves kernel engine data processing, automatic test method and apparatus - Google Patents

Browse serves kernel engine data processing, automatic test method and apparatus Download PDF

Info

Publication number
CN108399119A
CN108399119A CN201710065816.6A CN201710065816A CN108399119A CN 108399119 A CN108399119 A CN 108399119A CN 201710065816 A CN201710065816 A CN 201710065816A CN 108399119 A CN108399119 A CN 108399119A
Authority
CN
China
Prior art keywords
page elements
page
interface
tested application
browsing
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.)
Granted
Application number
CN201710065816.6A
Other languages
Chinese (zh)
Other versions
CN108399119B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of browsing serves kernel engine data treating method and apparatus, including:Increase page elements in browsing serves kernel engine and obtains interface;The page elements obtain the page elements that interface is used to record the webpage of load, page elements tissue is encapsulated as to the data of preset format, corresponding page elements data are provided to obtain request according to page elements, the page elements include the page info for including inside webpage control.A kind of method and apparatus of automatic test are further related to, need not can also be obtained page elements to using the third-party application of engine kernel to carry out additional signature again and non-aliased operation requirement, be tested.

Description

Browse serves kernel engine data processing, automatic test method and apparatus
Technical field
The present invention relates to field of computer technology, more particularly to a kind of browsing serves kernel engine data processing method and The method and apparatus of device, automatic test.
Background technology
With the development of computer technology, a large amount of client application publication, and support webview web page browsings, it is sending out Test detection is carried out before cloth using the function of web page browsing, debugging.
Current automation framework is identified less than HTML (hypertext markup language, HyperText Markup Language) page elements can only arrive control levels, the control levels that can the be recognized i.e. button of the interior non-form web page of application, Such as input frame, text box, webview controls etc., the element that current automation framework can not be inside automatic identification Webpage. Traditional test method can carry out javascript script injections on webview controls, can be to the page after injection The control that element is obtained and operated, but the program needs tested application to be signed again and non-aliased packing, works as offer The engine kernel of service is browsed by multiple third-party applications in use, in the web page browsing function of the tested application of test, is needed It does a large amount of third-party applications to sign again and non-aliased packing, heavy workload, utility ratio is low.
Invention content
Based on this, it is necessary in view of the above technical problems, provide a kind of browsing serves kernel engine data processing method and The method and apparatus of device, automatic test, need not be to using the third-party application of engine kernel to carry out additional signature again With non-aliased operation requirement, page elements can be also obtained, are tested.
A kind of browsing serves kernel engine data processing method, the method includes:
Increase page elements in browsing serves kernel engine and obtains interface;
The page elements obtain the page elements that interface is used to record the webpage of load, and page elements tissue is encapsulated as The data of preset format provide corresponding page elements data, the page elements packet to obtain request according to page elements Include the page info for including inside webpage control.
A kind of browsing serves kernel engine data processing unit, described device include:
Page elements obtain interface and increase module, and interface is obtained for increasing page elements in browsing serves kernel engine, The page elements obtain the page elements that interface is used to record the webpage of load, and page elements tissue is encapsulated as preset format Data, provide corresponding page elements data to obtain request according to page elements, the page elements include webpage control The page info for including inside part.
Above-mentioned browsing serves kernel engine data treating method and apparatus, by increasing the page in browsing serves kernel engine Element obtains interface, and page elements obtain the page elements that interface is used to record the webpage of load, page elements tissue is encapsulated For the data of preset format, corresponding page elements data are provided to obtain request according to page elements, page elements include The ability for obtaining page elements is placed in browsing serves kernel engine capabilities, makees by the page info for including inside webpage control It, need not be to using browsing serves kernel engine to carry out additional weight using APP to browse a part for serves kernel engine Signature and non-aliased operation require that the page info for including inside webpage control can be obtained, simple and convenient, are tested for application Convenience powerful support is provided.
A kind of method of automatic test, the method includes:
Test initiation command is received, automated test frame determines corresponding tested application, institute according to test initiation command It states and is tested using using the browsing serves kernel engine for including page elements acquisition interface, the page elements obtain interface and are used for Page elements tissue, is encapsulated as the data of preset format, the page elements include by the page elements for recording the webpage of load The page info for including inside webpage control;
The automated test frame sends Webpage to the tested application and opens request, so that the tested application Load corresponding Webpage;
The automated test frame sends page elements to the tested application and obtains request, so that the tested application Interface, which is obtained, by the page elements returns to target pages element corresponding with page elements acquisition request;
The automated test frame obtains test result according to the target pages element.
A kind of device of automatic test, described device include:
Test starting module, for receiving test initiation command, automated test frame is determined according to test initiation command Corresponding tested application, the tested application is using the browsing serves kernel engine for including page elements acquisition interface, the page Surface element obtains the page elements that interface is used to record the webpage of load, and page elements tissue is encapsulated as to the number of preset format According to the page elements include the page info for including inside webpage control;
Page load-on module to be measured sends Webpage to the tested application for the automated test frame and opens Request, so that the tested application loads corresponding Webpage;
Page elements acquisition module sends page elements to the tested application for the automated test frame and obtains Request, so that the tested application obtains interface by the page elements returns to target corresponding with page elements acquisition request Page elements;
Test result determining module obtains test knot for the automated test frame according to the target pages element Fruit.
The method and apparatus of above-mentioned automatic test, by receiving test initiation command, automated test frame is according to survey Experimental starting instruction determines corresponding tested application, tested using using including that the browsing serves kernel of page elements acquisition interface draws It holds up, page elements obtain the page elements that interface is used to record the webpage of load, and page elements tissue is encapsulated as preset format Data, page elements include the page info for including inside webpage control, and automated test frame sends net to tested application Page page open request, so that tested application loads corresponding Webpage, automated test frame is sent out to the tested application It send page elements to obtain to ask, so that tested corresponding with page elements acquisition request using returning by page elements acquisition interface Target pages element, automated test frame obtains test result, the browsing serves kernel of application according to target pages element Engine is supported to obtain the ability of page elements, is the part for browsing serves kernel engine, need not be to using in browsing service The again signature additional using APP progress of core engine and non-aliased operation requirement can obtain the page for including inside webpage control Face information, it is simple and convenient, the degree of automation of the displaying test of browsing serves kernel engine is improved, can effectively be solved existing There is the pressure of test resource, while daily test monitoring can be added to, find the quality problems of product ahead of time and ensures to test Coverage.
Description of the drawings
Fig. 1 is the application that serves kernel engine data processing method, the method for automatic test are browsed in one embodiment Environment map;
Fig. 2 is the internal structure chart of terminal in Fig. 1 in one embodiment;
Fig. 3 is the internal structure chart of terminal in Fig. 1 in another embodiment;
Fig. 4 is the flow chart that serves kernel engine data processing method is browsed in one embodiment;
Fig. 5 is the flow chart for being tested application in one embodiment and returning to target pages element;
Fig. 6 is that target pages element shows schematic diagram in one embodiment;
Fig. 7 is the flow chart for being tested application in one embodiment and being responded according to page elements operational order;
Fig. 8 is the flow chart of the method for automatic test in one embodiment;
Fig. 9 is the process schematic of automatic test in a specific embodiment;
Figure 10 is that serves kernel engine data processing unit structure diagram is browsed in one embodiment;
Figure 11 is that serves kernel engine data processing unit structure diagram is browsed in another embodiment;
Figure 12 is that serves kernel engine data processing unit structure diagram is browsed in further embodiment;
Figure 13 is that serves kernel engine data processing unit structure diagram is browsed in another embodiment;
Figure 14 is that serves kernel engine data processing unit structure diagram is browsed in another embodiment;
Figure 15 is that serves kernel engine data processing unit structure diagram is browsed in another embodiment;
Figure 16 is the structure diagram of the device of automatic test in one embodiment;
Figure 17 is the structure diagram of the device of automatic test in another embodiment.
Specific implementation mode
Fig. 1 is browsing serves kernel engine data processing method in one embodiment, the operation of the method for automatic test Applied environment figure.As shown in Figure 1, the application environment includes terminal 110 and server 120, wherein terminal 110, server 120 are logical Network is crossed to be communicated.
Terminal 110 can be smart mobile phone, tablet computer etc., and however, it is not limited to this.Terminal 110 installs third-party application, Wherein third-party application contains the browsing serves kernel engine of we's exploitation, and it includes page member to browse in serves kernel engine Element obtains interface, and terminal 110 can obtain web data from server 120 and load corresponding Webpage, and terminal 110 passes through certainly Dynamicization test frame can test third-party application, pass through the page elements of browsing serves kernel engine during the test The page elements of the webpage of the recordable load of interface are obtained, wherein page elements include the page info for including inside webpage control Page elements tissue is encapsulated as the data of preset format by element, to which the page elements sent according to automated test frame obtain Request is taken, corresponding page elements can be provided to automated test frame, it need not be to using the third-party application of engine kernel Additional signature again and non-aliased operation requirement are carried out, page elements can be also obtained, be tested.
In one embodiment, the internal structure of the terminal 110 in Fig. 1 is as shown in Fig. 2, the terminal 110 includes passing through to be Processor, graphics processing unit, storage medium, memory, network interface, display screen and the input equipment of bus of uniting connection.Its In, the storage medium of terminal 110 is stored with operating system, further includes browsing serves kernel engine data processing unit, the device For realizing a kind of browsing serves kernel engine data processing method suitable for terminal.The processor is calculated and is controlled for providing Ability processed supports the operation of entire terminal 110.Graphics processing unit in terminal 110 is at least providing painting for display interface Ability processed, the operation for inside saving as the browsing serves kernel engine data processing unit in storage medium provide environment, network interface For carrying out network communication with server 120.Display screen is defeated for receiving user for showing application interface etc., input equipment The order or data etc. entered.For the terminal 110 with touch screen, show that screen and input equipment can be touch screen.It is shown in Fig. 2 Structure do not constitute and it be applied to application scheme only with the block diagram of the relevant part-structure of application scheme On terminal restriction, specific terminal may include than more or fewer components as shown in the figure, or the certain components of combination, Or it is arranged with different components.
In one embodiment, the internal structure of the terminal 110 in Fig. 1 is as shown in figure 3, the terminal 110 includes passing through to be Processor, graphics processing unit, storage medium, memory, network interface, display screen and the input equipment of bus of uniting connection.Its In, the storage medium of terminal 110 is stored with operating system, further includes the device of automatic test, the device is for realizing one kind The method of automatic test suitable for terminal.The processor supports entire terminal 110 for providing calculating and control ability Operation.Drawing ability of the graphics processing unit at least providing display interface in terminal 110, inside saves as in storage medium The operation of the device of automatic test provides environment, and network interface is used to carry out network communication with server 120.Show that screen is used In display application interface etc., test result is such as shown, input equipment is for receiving order or data input by user etc..For band The terminal 110 of touch screen shows that screen and input equipment can be touch screen.Structure shown in Fig. 3, only with the application side The block diagram of the relevant part-structure of case, does not constitute the restriction for the terminal being applied thereon to application scheme, specific whole End may include either combining certain components than more or fewer components as shown in the figure or being arranged with different components.
In one embodiment, as shown in figure 4, a kind of browsing serves kernel engine data processing method is provided, to answer Come for the terminal in above application environment for example, including the following steps:
Step S210 increases page elements in browsing serves kernel engine and obtains interface.
Specifically, browsing serves kernel engine is used to provide core support for browsing service, can for android system or Browsing serves kernel engine in IOS systems.Page elements obtain interface be used for by page elements from browsing serves kernel engine The external world is obtained and be provided to, can be obtained to invoking page element with browsing serves kernel engine communication by preset communication mode Take interface.Preset communication mode can customize, such as adb (Android Debug Bridge debug bridge) order, daily record form Or the mode etc. of HTTP (HyperText Transfer Protocol, hypertext transfer protocol) requests, only it need to meet positive normal open Letter interaction.The page elements of open browsing service load web page browsing webview in kernel, to be serviced by browsing Core engine can obtain page elements.
Step S220, page elements obtain the page elements that interface is used to record the webpage of load, by page elements tissue The data of preset format are encapsulated as, corresponding page elements data, the page are provided to obtain request according to page elements Element includes the page info for including inside webpage control.
Specifically, when browsing serves kernel engine includes page elements acquisition interface, when carrying out web page browsing displaying, meeting Automatically web page contents are traversed, records the page elements of the webpage of load, and be packaged, page elements tissue is encapsulated For the data of preset format, specific preset format can be self-defined as needed, such as passes through unique mark corresponding with page elements Know the data that page elements tissue is encapsulated as to preset format.And corresponding required parameter in request can be obtained according to page elements Invoking page element obtains interface and is provided out corresponding page elements data.Wherein page elements include packet inside webpage control The page info contained, it is a webpage control that webview, which integrally embodies, and page info is the tool i.e. inside webpage control on webpage Body content information, including character information, pictorial information, video information, link information etc..
In the present embodiment, interface is obtained by increasing page elements in browsing serves kernel engine, page elements acquisition connects Page elements tissue, is encapsulated as the data of preset format, to according to page by the page elements of webpage of the mouth for recording load Surface element obtains request and provides corresponding page elements data, and page elements include the page info for including inside webpage control, By the ability for obtaining page elements be placed on browsing serves kernel engine capabilities in, as browsing serves kernel engine a part, It need not be to using signature and the non-aliased operation requirement again of browsing serves kernel engine carried out additionally using APP that can obtain The page info for including inside webpage control is taken, simple and convenient, the convenience for application test provides powerful support.
In one embodiment, method further includes:Increase page elements operate interface, the page in browsing serves kernel engine Element operation interface treats operation pages element and carries out corresponding action behaviour for positioning corresponding page elements to be operated Make.
Specifically, page elements operate interface, for being operated accordingly to specified page elements, operation includes a little The various user's operations such as hit, slide.Page elements operational order by carrying parameter calls corresponding page elements operation to connect Mouthful, different page elements operate interfaces can be provided according to the difference of class of operation and parameter.Page elements operate interface is fixed When the corresponding page elements to be operated in position, different localization methods can be used according to the difference of parameter, such as passage path positioning, led to Cross coordinate setting etc..It positions and successfully determines page elements to be operated, then treat the operation of operation pages element analog subscriber and carry out phase The motion action answered.The ability of page operation will be also placed in browsing serves kernel engine capabilities, as browsing serves kernel A part for engine need not carry out additional signature again and non-aliased to use browsing serves kernel engine using APP Operation require, so that it may specified motion action is carried out to specified page element, for it is subsequent test further increase flexibility ratio and Convenience.
In one embodiment, method further includes:Browsing serves kernel engine is packaged and generates Software Development Kit, it is soft Part development kit is used to provide browsing service to third-party application.
Specifically, the set of the developing instrument of Software Development Kit application software, browsing serves kernel engine is packaged Software Development Kit is generated, then third-party application developer can be developed by Software Development Kit and be realized by browsing clothes Core engine of being engaged in provides the third-party application of browsing service so that and the browsing service of third-party application can be completed simply and easily, And due to browsing serves kernel engine inside realize the acquisition to page elements and provide page elements obtain interface to Outer offer page elements so that third-party application need not be carried out when testing webpage page browsing function additional signature again and Non-aliased operation requirement, substantially increases the convenience of test.
In one embodiment, as shown in figure 5, method further includes:
Step S310 is tested application and receives page elements acquisition request, and tested application includes browsing serves kernel engine.
Specifically, page elements obtain request for obtaining page elements, the corresponding content of page elements, position can be obtained Deng.Page elements can be sent from the tested application of trend by automated test frame and obtain request, send page elements acquisition and ask The communication form that the form asked is obtained interface by page elements determines that page elements, which obtain request, can carry specific parameter or dynamic Make function, parameter or function of movement are used to limit the range etc. for the page elements for needing to obtain, and are taken as page elements obtain request Band nodal information, then only obtain the corresponding page elements of this nodal information.The corresponding function of movement of page elements attribute can be passed through Property content corresponding with function of movement is obtained, if function of movement includes getname (), indicates that the page elements returned include The titles of page elements.
Step S320 is tested application and obtains interface return target corresponding with page elements acquisition request by page elements Page elements.
Specifically, since tested application includes the browsing serves kernel engine described in above-described embodiment, serves kernel is browsed Engine includes that page elements obtain interface, and obtain interface so as to invoking page element obtains what request carried according to page elements Required parameter returns to corresponding target pages element, and each target pages element has corresponding unique mark, such as by unique Digital ID ID distinguishes different page elements, and each page elements have corresponded to different property contents, and property content includes position Set coordinate, particular content, width, height etc..The required parameter of request carrying can be obtained according to page elements or function of movement obtains The fixed property content of fetching.In a specific embodiment, each property parameters of the page elements of acquisition, such as Fig. 6 are shown It is shown.
In the present embodiment, request is obtained by sending page elements to tested application, is tested application due to including to include Page elements obtain the browsing serves kernel engine of interface, can facilitate acquisition page elements.
In one embodiment, it includes that test and debugging switchs to be tested application, after step S310, further includes:Judge test It debugs whether switch is opened, if opened, enters step S320, if test and debugging switch is closed, refuse return and page Surface element, which obtains, asks corresponding target pages element.
Specifically, test and debugging switch is closed for controlling the permission for obtaining page elements if test and debugging switchs, Explanation is released version, and the permission for obtaining page elements is closed, even if mesh can not be returned to by receiving if page elements obtain request Page elements are marked, ensure safety and the stability of released version.If test and debugging switch is opened, illustrate to be currently test Version can obtain request by page elements and return to corresponding target pages element.It is switched in test scene by test and debugging The free switching between non-test scene, it is simple and convenient.In one embodiment, it includes that page elements obtain interface to be tested application Serves kernel engine is browsed, it includes beta version and released version to be tested application, and user can obtain corresponding version according to demand Using download.In one embodiment, page elements obtain request and carry request authorization message, and request authorization message can be user Name, the authorization code etc. that obtains in advance after step S310, further include:It is asked according to request authorization message verification page elements acquisition It asks corresponding permission, if the verification passes, then enter step S320, if verification does not pass through, refuses return and page elements It obtains and asks corresponding target pages element.By asking authorization message, only to meeting user's back page element of permission, control Make safety and the stability of application.
In one embodiment, as shown in fig. 7, after step S320, further include:
Step S410 is tested application and receives page elements operational order, and page elements operational order carries page object face element Element.
Specifically, page elements operational order is the instruction operated accordingly to specified page elements, operation packet Include the various user's operations such as click, sliding.According to the difference of action type, the corresponding instruction type of page elements operational order Difference, if the corresponding page elements operational order of clicking operation is click, the corresponding page elements operational order of input word is type_text.Page elements operational order carries target pages element, and different pages can be distinguished by target pages component identification Surface element can also uniquely determine a target pages element by the position of page elements.Since different page elements operate The different page elements operate interface of instruction calls, can be according to the corresponding Parameter specifications of target pages element operation interface in the page Corresponding parameter is carried in element operation instruction, forms different page elements operational orders.
Step S420 calls corresponding page elements operate interface by page elements operational order, is returned to test frame Return the corresponding page response data of page elements operational order.
Specifically, being operated according to the corresponding instruction type of page elements operational order and the corresponding page elements of parameter call Interface, to obtain corresponding page response data, to test frame back page response data.In one embodiment, page Face response data and page elements data retransmit after can all encrypting to test frame, to ensure the safety of data transmission.
In the present embodiment, being grasped to the page in browsing serves kernel engine capabilities can be called by page elements operational order The ability of work, need not be to using signing and non-aliased operation using APP progress is additional for browsing serves kernel engine again It is required that, so that it may specified motion action is carried out to specified page element, it is simple and convenient.
In one embodiment, page elements obtain interface and page elements operate interface is adb forms interface, daily record shape Formula interface or HTTP request form interface.
Specifically, can be arranged as required to page elements obtain interface interface type, when page elements obtain interface and When page elements operate interface is adb form interfaces, page elements obtain request and page elements operational order is adb orders, Adb orders may include many kinds of parameters, and different adb orders are formed by different parameters, and parameter can be divided into function name parameter, Functional object parameter etc., if table 1 is the corresponding functional object parameter citing of the corresponding different function title of adb orders, such as Loadurl is function title, and the function of realization is to open specified link, and corresponding functional object parameter is url, indicates designated strands It connects.In a specific embodiment, adb orders are specially:adb shell am broadcast-a brady.test-- Es " function " " click " -- es " by " " xpath " -- es " extra " " // * [@id=" indexContain "]/div [6]/div [1] " is clicked when tested application receives this instruction by -- es " by " " xpath " -- es " extra " " // * [@id =" indexContain "] page elements under the respective paths that determine of/div [6]/div [1].Pass through various parameters in table 1 Combination, can form different adb orders.
Table 1
When page elements obtain interface and page elements operate interface is daily record form interface, it is tested application and receives daily record Form page elements obtain request or page elements operational order, and target pages element or page response data are write in tested application Enter default journal file, other application program obtains page object as automated test frame can preset journal file by reading Surface element or page response data.
When page elements obtain interface and page elements operate interface is HTTP request form interface, it is tested application and receives The page elements of HTTP request form obtain request or page elements operational order.
In the present embodiment, different forms may be selected in interface, flexibly and easily, can be obtained as needed using corresponding form Page elements operate page elements.
In one embodiment, as shown in figure 8, providing a kind of method of automatic test, including:
Step S510, receives test initiation command, and automated test frame determines corresponding quilt according to test initiation command Survey application, tested using using the browsing serves kernel engine for including page elements acquisition interface, page elements obtain interface and use In the page elements of the webpage of record load, page elements tissue is encapsulated as to the data of preset format, page elements include net The page info for including inside page control.
Specifically, test initiation command can be sent by terminal or by server to the automated test frame of terminal, Test initiation command may include the mark of application to be measured, so that it is determined that tested application, it can be instant messaging application, society to be tested application Hand over application, information sharing application etc. it is various provide browsing service include browse serves kernel engine application, and browse service in Core engine includes that page elements obtain interface, and tested application can browse serves kernel engine tool packet by download and be convenient to use Browse the service and page elements acquisition interface that serves kernel engine provides.Python is used in a specific embodiment Uiautomator automated test frames.In one embodiment, tested application is multiple, same by automated test frame When multiple tested applications are tested, realize the concurrency of test.
Browsing serves kernel engine is used to provide core support for the browsing service in application, can for android system or Browsing serves kernel engine in IOS systems.Page elements obtain interface be used for by page elements from browsing serves kernel engine The external world is obtained and be provided to, can be obtained to invoking page element with browsing serves kernel engine communication by preset communication mode Take interface.Preset communication mode can customize, such as adb orders, daily record form or HTTP request mode, only need to meet just Normal communication interaction.The page elements of open browsing service load web page browsing webview in kernel, to pass through browsing Serves kernel engine can obtain page elements.
Step S520, automated test frame opens request to tested application transmission Webpage, so that tested application adds Carry corresponding Webpage.
Specifically, recyclable implementation of test cases, during implementation of test cases by test scene and tested application into A news pages are such as opened in row interactive operation.Automated test frame sends Webpage to tested application and opens request, with So that tested application is loaded corresponding Webpage, when due to browsing serves kernel engine including that page elements obtain interface, is adding When carrying corresponding Webpage, web page contents can be traversed automatically, record the page elements of the webpage of load, and sealed Page elements tissue, is encapsulated as the data of preset format by dress, and specific preset format can be self-defined as needed, such as by with Page elements tissue is encapsulated as the data of preset format by the corresponding unique mark of page elements.And it can be obtained according to page elements Corresponding required parameter invoking page element obtains interface and is provided out corresponding page elements data in request.Wherein page member Element includes the page info for including inside webpage control, and it is a webpage control that webview, which integrally embodies, and page info is webpage Particular content information, including character information, pictorial information, video information, link information etc. inside upper i.e. webpage control.
Step S530, automated test frame send page elements to tested application and obtain request, so that tested application is logical It crosses page elements and obtains interface return target pages element corresponding with page elements acquisition request.
Specifically, page elements obtain request for obtaining page elements, the corresponding content of page elements, position can be obtained Deng.Page elements can be sent from the tested application of trend by automated test frame and obtain request, send page elements acquisition and ask The communication form that the form asked is obtained interface by page elements determines that page elements, which obtain request, can carry specific parameter or dynamic Make function, parameter or function of movement are used to limit the range etc. for the page elements for needing to obtain, and are taken as page elements obtain request Band nodal information, then only obtain the corresponding page elements of this nodal information.The corresponding function of movement of page elements attribute can be passed through Property content corresponding with function of movement is obtained, if function of movement includes getname (), indicates that the page elements returned include The titles of page elements.Function of movement may also include position of page element acquisition of information function, page elements name acquiring letter Number etc..
Step S540, automated test frame obtain test result according to target pages element.
Specifically, since tested application includes the browsing serves kernel engine described in above-described embodiment, serves kernel is browsed Engine includes that page elements obtain interface, is asked according to page elements acquisition to which tested application can call page elements to obtain interface The required parameter of carrying is asked to return to corresponding target pages element, each target pages element has corresponding unique mark, such as Distinguish different page elements by unique numerical identification ID, each page elements have corresponded to different property contents, in attribute Appearance includes position coordinates, particular content, width, height etc..The required parameter or dynamic that request carries can be obtained according to page elements Make function and obtains specified property content.Automated test frame is carried out according to target pages element and expected first test data Comparison obtains corresponding test result, the instruction that also can be accordingly operated to target pages element, further according to tested application The response data of return is compared to obtain corresponding test result with expected second test data.Can test result timely feedback It is timely feedbacked to test user, such as by mail, instant communication session window mode.
In the present embodiment, by receiving test initiation command, automated test frame is according to test initiation command determination pair The tested application answered, tested using using the browsing serves kernel engine for including page elements acquisition interface, page elements obtain Interface is used to record the page elements of the webpage of load, and page elements tissue is encapsulated as to the data of preset format, page elements Including the page info for including inside webpage control, automated test frame sends Webpage to tested application and opens request, So that tested application loads corresponding Webpage, automated test frame sends page elements acquisition to the tested application and asks It asks, so that tested application obtains interface by page elements returns to target pages element corresponding with page elements acquisition request, Automated test frame obtains test result according to target pages element, and the browsing serves kernel engine of application is supported to obtain the page The ability of element, be browse serves kernel engine a part, need not to use browsing serves kernel engine application APP into The additional signature again of row and non-aliased operation require that the page info for including inside webpage control can be obtained, simple and convenient, The degree of automation for improving the displaying test of browsing serves kernel engine, can effectively solve the pressure of existing test resource Power, while daily test monitoring can be added to, find the quality problems of product ahead of time and ensure the coverage of test.
In one embodiment, method further includes:Automated test frame sends page elements operation to tested application and refers to It enables, page elements operational order carries target pages element, so that tested application is called by page elements operational order and corresponded to Page elements operate interface, back page element operation instructs corresponding page response data.
Specifically, page elements operational order is the instruction operated accordingly to specified page elements, operation packet Include the various user's operations such as click, sliding.According to the difference of action type, the corresponding instruction type of page elements operational order Difference, if the corresponding page elements operational order of clicking operation is click, the corresponding page elements operational order of input word is type_text.Page elements operational order carries target pages element, and different pages can be distinguished by target pages component identification Surface element can also uniquely determine a target pages element by the position of page elements.Since different page elements operate The different page elements operate interface of instruction calls, can be according to the corresponding Parameter specifications of target pages element operation interface in the page Corresponding parameter is carried in element operation instruction, forms different page elements operational orders.Tested application is according to page elements The corresponding instruction type of operational order and the corresponding page elements operate interface of parameter call, to obtain corresponding page response Data, to test frame back page response data.In one embodiment, page response data and page elements data all may be used It is retransmited after encryption to test frame, to ensure the safety of data transmission.
In the present embodiment, being grasped to the page in browsing serves kernel engine capabilities can be called by page elements operational order The ability of work, need not be to using signing and non-aliased operation using APP progress is additional for browsing serves kernel engine again It is required that, so that it may specified motion action is carried out to specified page element, it is simple and convenient.Automated test frame is sent out to tested application Send page elements operational order, can analog subscriber to specified page element carry out motion action, to carry out automatic test, into One step improves the convenience of automatic test.
In one embodiment, step S540 includes:Automated test frame judges whether target pages element includes pre- Phase page elements, if including, test result is normal, and otherwise test result is improper.
Specifically, target pages element can be obtained, then target pages element and expected page elements can be compared, such as Fruit target pages element includes expected page elements, then test result is normal, and otherwise test result is improper, can be quick To test result.When tested application is multiple, different tested applications can correspond to different expection page elements, to obtain Different test results.
In one embodiment, step S540 includes:Automated test frame judges whether to open up according to page response data Show the expected page, if it is, test result is normal, otherwise test result is improper.
Specifically, page response data may include subpage links, to obtain corresponding subpage according to subpage links Face, if subpage frame is the expected page, test result is normal.Judge test result by page response data, further Increase the range of test scope.When tested application is multiple, different tested applications can correspond to the different expection pages, to Obtain different test results.
In one embodiment, page elements obtain interface and page elements operate interface is adb forms interface, daily record shape Formula interface or HTTP request form interface are that adb forms connect when the page elements obtain interface and page elements operate interface When mouth, automated test frame sends page elements acquisition request or the page by debugging bridge adb orders to the tested application Element operation instructs;When page elements obtain interface and page elements operate interface is daily record form interface, automatic test Frame sends daily record form page elements to tested application and obtains request or page elements operational order, so as to be tested application by institute It states target pages element or journal file is preset in the write-in of page response data, automated test frame is by reading the default day Will file acquisition target pages element or page response data;When page elements acquisition interface and page elements operate interface are When HTTP request form interface, the automated test frame sends page elements acquisition to tested application by HTTP request and asks It asks or page elements operational order.It can be arranged as required to the interface class that page elements obtain interface and page elements operate interface Different forms may be selected in type, interface, flexibly and easily, corresponding form can be used to obtain page elements or to the page as needed Element is operated.
In a specific embodiment, automatic test process schematic as shown in figure 9, automatic test process It is as follows:
1, automated test frame receives test initiation command, starts the cycle over implementation of test cases.
2, automated test frame according to test case to multiple applications to be tested, i.e., the first application, the second application and the Three applications send Webpage and open request respectively, open page request and carry page address, to tested application load pair The Webpage answered.Due to first application, second application and third using browsing serves kernel engine include the page member Element obtains interface, and page elements tissue is encapsulated as preset format by the page elements for the webpage that 3 applications of record load respectively Data, such as the first data, the second data and third data.
3, automated test frame sends page elements to the multiple application and obtains request respectively, and multiple applications pass through page Surface element obtain interface return with the corresponding target pages element of page elements acquisition request, such as first object page elements, the Two target pages elements and third target pages element.
4, automated test frame judge target pages element whether include with using corresponding expected page elements, if Including then test result is normal, and otherwise test result is improper.
5, multiple scene operations are executed to the page elements of return cycle, such as to page-tag, linking button page member Element executes clicking operation, states automated test frame and sends page elements operational order to tested application, page elements operation refers to It enables and carries target pages component identification, such as military classification links corresponding page elements and is identified as 105, then is operated in page elements Instruction carries 105.Tested application calls corresponding page elements operate interface, back page member by page elements operational order The corresponding page response data of plain operational order, page response data may include updated page elements.
6, automated test frame judges whether to show the expected page according to page response data, if it is, test knot Fruit is normal, and otherwise test result is improper.
7, test result is uploaded to user terminal in real time.
In one embodiment, as shown in Figure 10, a kind of browsing serves kernel engine data processing unit is provided, is wrapped It includes:
Page elements obtain interface and increase module 610, are connect for increasing page elements acquisition in browsing serves kernel engine Mouthful, page elements obtain the page elements that interface is used to record the webpage of load, and page elements tissue is encapsulated as preset format Data, provide corresponding page elements data to obtain request according to page elements, the page elements include webpage control The page info for including inside part.
In one embodiment, as shown in figure 11, device further includes:
Page elements operate interface increases module 620, is connect for increasing page elements operation in browsing serves kernel engine Mouthful, page elements operate interface is treated operation pages element and is carried out accordingly for positioning corresponding page elements to be operated Motion action.
In one embodiment, as shown in figure 12, device further includes:
Packetization module 630 is packaged generation Software Development Kit, the software development for that will browse serves kernel engine Kit is used to provide browsing service to third-party application.
In one embodiment, as shown in figure 13, device further includes:
Page elements obtain ask respond module 640, and receiving page elements for tested application obtains request, is tested application Including the browsing serves kernel engine, it is tested application and request pair is obtained with page elements by page elements acquisition interface return The target pages element answered.
In one embodiment, as shown in figure 14, device further includes:
Judgment module 650, if opened, enters page elements and obtains for judging whether test and debugging switch is opened Ask respond module 640 returns to target pages element corresponding with page elements acquisition request, if the test and debugging switchs It closes, then refuses to return to target pages element corresponding with page elements acquisition request.
In one embodiment, as shown in figure 15, device further includes:
Page elements operate respond module 660, and page elements operational order, page elements operation are received for tested application Instruction carries target pages element, corresponding page elements operate interface is called by page elements operational order, to test block Frame back page element operation instructs corresponding page response data.
In one embodiment, page elements obtain interface and page elements operate interface is adb forms interface, daily record shape Formula interface or HTTP request form interface.
In one embodiment, as shown in figure 16, a kind of device of automatic test is provided, device includes:
Test starting module 710, for receiving test initiation command, automated test frame is true according to test initiation command Fixed corresponding tested application, it is tested using using the browsing serves kernel engine for including page elements acquisition interface, page elements The page elements that interface is used to record the webpage of load are obtained, page elements tissue is encapsulated as to the data of preset format, the page Element includes the page info for including inside webpage control.
Page load-on module 720 to be measured sends Webpage to tested application for automated test frame and opens request, So that tested application loads corresponding Webpage.
Page elements acquisition module 730 sends page elements to tested application for automated test frame and obtains request, Target pages element corresponding with page elements acquisition request is returned so as to be tested application and obtain interface by the page elements.
Test result determining module 740 obtains test result for automated test frame according to target pages element.
In one embodiment, as shown in figure 17, device further includes:
Page elements operate test module 750, and page elements operation is sent to tested application for automated test frame It instructs, page elements operational order carries target pages element, so that tested application passes through page elements operational order calling pair The page elements operate interface answered, back page element operation instruct corresponding page response data.
In one embodiment, test result determining module 740 is additionally operable to automated test frame and judges page object face element Whether element includes expected page elements, if including, test result is normal, and otherwise test result is improper.
In one embodiment, test result determining module 740 is additionally operable to automated test frame and is rung according to the page Data are answered to judge whether to show the expected page, if it is, test result is normal, otherwise test result is improper.
In one embodiment, page elements obtain interface and page elements operate interface is adb forms interface, daily record shape Formula interface or HTTP request form interface, when page elements obtain interface and page elements operate interface is adb form interfaces, By debugging, bridge adb orders send page elements acquisition request to automated test frame to tested application or page elements operation refers to It enables.
When the page elements obtain interface and page elements operate interface is daily record form interface, automatic test frame Frame sends daily record form page elements to tested application and obtains request or page elements operational order, so that tested application will be described Journal file is preset in target pages element or the write-in of page response data, and automated test frame is by reading the default daily record File acquisition target pages element or page response data.
When page elements obtain interface and page elements operate interface is HTTP request form interface, automatic test frame Frame sends page elements to tested application by HTTP request and obtains request or page elements operational order.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, in the embodiment of the present invention, which can be stored in the storage medium of computer system, and by the computer system At least one processor executes, and includes the flow such as the embodiment of above-mentioned each method with realization.Wherein, the storage medium can be Magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (20)

1. a kind of browsing serves kernel engine data processing method, the method includes:
Increase page elements in browsing serves kernel engine and obtains interface;
The page elements obtain the page elements that interface is used to record the webpage of load, and page elements tissue is encapsulated as presetting The data of format provide corresponding page elements data to obtain request according to page elements, and the page elements include net The page info for including inside page control.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Increase page elements operate interface in browsing serves kernel engine;
The page elements operate interface for positioning corresponding page elements to be operated, and to the page elements to be operated into The corresponding motion action of row.
3. method according to claim 1 or 2, which is characterized in that the method further includes:
The browsing serves kernel engine is packaged and generates Software Development Kit, the Software Development Kit is used for third Fang Yingyong provides browsing service.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
Tested application receives page elements and obtains request, and the tested application includes the browsing serves kernel engine;
It is tested application and obtains interface return target pages element corresponding with page elements acquisition request by the page elements.
5. according to the method described in claim 4, it is characterized in that, the tested application include test and debugging switch, the quilt It surveys after the step of application receives page elements acquisition request, further includes:
Judge whether the test and debugging switch is opened, if opened, passes through the page elements into the tested application It obtains interface and returns to the step of obtaining request corresponding target pages element with page elements;
If the test and debugging switch is closed, refuse to return to target pages element corresponding with page elements acquisition request.
6. according to the method described in claim 4, it is characterized in that, the tested application obtains interface by the page elements After returning to the step of obtaining request corresponding target pages element with page elements, further include:
Tested application receives page elements operational order, and the page elements operational order carries the target pages element;
Corresponding page elements operate interface is called by the page elements operational order, the page is returned to test frame Element operation instructs corresponding page response data.
7. according to the method described in claim 2, it is characterized in that, the page elements obtain interface and page elements operation connects Mouth is debugging bridge adb forms interface, daily record form interface or HTTP request form interface.
8. a kind of method of automatic test, the method includes:
Test initiation command is received, automated test frame determines corresponding tested application, the quilt according to test initiation command It surveys using using the browsing serves kernel engine for including page elements acquisition interface, the page elements obtain interface for recording Page elements tissue, is encapsulated as the data of preset format by the page elements of the webpage of load, and the page elements include webpage The page info for including inside control;
The automated test frame sends Webpage to the tested application and opens request, so that the tested application load Corresponding Webpage;
The automated test frame sends page elements to the tested application and obtains request, so that the tested application passes through The page elements obtain interface and return to target pages element corresponding with page elements acquisition request;
The automated test frame obtains test result according to the target pages element.
9. according to the method described in claim 8, it is characterized in that, the method further includes:
The automated test frame sends page elements operational order to tested application, and the page elements operational order carries The target pages element, so that the tested application calls corresponding page elements to grasp by the page elements operational order Make interface, returns to the corresponding page response data of the page elements operational order.
10. according to the method described in claim 8, it is characterized in that, the automated test frame is according to the target pages Element obtains the step of test result and includes:
The automated test frame judges whether the target pages element includes that expected page elements are surveyed if including Test result is normal, and otherwise test result is improper.
11. according to the method described in claim 9, it is characterized in that, the automated test frame is according to the target pages Element obtains the step of test result and includes:
The automated test frame judges whether to show the expected page according to the page response data, if it is, test As a result it is normal, otherwise test result is improper.
12. according to the method described in claim 8, it is characterized in that, the page elements obtain interface and page elements operation Interface is debugging bridge adb forms interface, daily record form interface or HTTP request form interface, when the page When surface element acquisition interface and page elements operate interface are adb form interfaces, the automated test frame passes through adb orders Page elements, which are sent, to the tested application obtains request or page elements operational order;
When the page elements obtain interface and page elements operate interface is daily record form interface, the automatic test frame Frame sends daily record form page elements to the tested application and obtains request or page elements operational order, so that described be tested is answered Journal file is preset with by the target pages element or the write-in of page response data, the automated test frame passes through reading The default journal file obtains target pages element or page response data;
When the page elements obtain interface and page elements operate interface is HTTP request form interface, the automation is surveyed It tries frame and page elements acquisition request or page elements operational order is sent to the tested application by HTTP request.
13. a kind of browsing serves kernel engine data processing unit, which is characterized in that described device includes:
Page elements obtain interface and increase module, and interface is obtained for increasing page elements in browsing serves kernel engine, described Page elements obtain the page elements that interface is used to record the webpage of load, and page elements tissue is encapsulated as to the number of preset format According to obtain the corresponding page elements data of request offer according to page elements, the page elements include in webpage control The page info that portion includes.
14. device according to claim 13, which is characterized in that described device further includes:
Page elements operate interface increases module, described for increasing page elements operate interface in browsing serves kernel engine Page elements operate interface carries out the page elements to be operated corresponding for positioning corresponding page elements to be operated Motion action.
15. the device according to claim 13 or 14, which is characterized in that described device further includes:
Packetization module generates Software Development Kit, the software development work for the browsing serves kernel engine to be packaged Tool packet to third-party application for providing browsing service.
16. device according to claim 15, which is characterized in that described device further includes:
Page elements obtain ask respond module, and receiving page elements for tested application obtains request, the tested application packet The browsing serves kernel engine is included, is tested and is asked with page elements acquisition using by page elements acquisition interface return Corresponding target pages element.
17. device according to claim 16, which is characterized in that described device further includes:
Page elements operate respond module, receive page elements operational order for tested application, the page elements operation refers to It enables and carries the target pages element, corresponding page elements operate interface is called by the page elements operational order, to Test frame returns to the corresponding page response data of the page elements operational order.
18. a kind of device of automatic test, which is characterized in that described device includes:
Test starting module, for receiving test initiation command, automated test frame is determined according to test initiation command and is corresponded to Tested application, it includes browsing serves kernel engine that page elements obtain interface that the tested application, which is used, and the page is first Element obtains the page elements that interface is used to record the webpage of load, and page elements tissue is encapsulated as to the data of preset format, institute It includes the page info for including inside webpage control to state page elements;
Page load-on module to be measured sends Webpage opening to the tested application for the automated test frame and asks It asks, so that the tested application loads corresponding Webpage;
Page elements acquisition module sends page elements acquisition to the tested application for the automated test frame and asks It asks, so that the tested application obtains interface by the page elements returns to page object corresponding with page elements acquisition request Surface element;
Test result determining module obtains test result for the automated test frame according to the target pages element.
19. device according to claim 18, which is characterized in that described device further includes:
Page elements operate test module, and sending page elements operation to tested application for the automated test frame refers to It enables, the page elements operational order carries the target pages element, so that the tested application passes through the page elements Operational order calls corresponding page elements operate interface, returns to the corresponding page response number of the page elements operational order According to.
20. device according to claim 18, which is characterized in that the page elements obtain interface and page elements operation Interface is debugging bridge adb forms interface, daily record form interface or HTTP request form interface, when the page When surface element acquisition interface and page elements operate interface are adb form interfaces, the automated test frame passes through adb orders Page elements, which are sent, to the tested application obtains request or page elements operational order;
When the page elements obtain interface and page elements operate interface is daily record form interface, the automatic test frame Frame sends daily record form page elements to the tested application and obtains request or page elements operational order, so that described be tested is answered Journal file is preset with by the target pages element or the write-in of page response data, the automated test frame passes through reading The default journal file obtains target pages element or page response data;
When the page elements obtain interface and page elements operate interface is HTTP request form interface, the automation is surveyed It tries frame and page elements acquisition request or page elements operational order is sent to the tested application by HTTP request.
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 true CN108399119A (en) 2018-08-14
CN108399119B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491890A (en) * 2018-10-16 2019-03-19 深圳壹账通智能科技有限公司 The interface scans method and terminal device of application program
CN109828903A (en) * 2018-12-14 2019-05-31 中国平安人寿保险股份有限公司 Automated testing method, device, computer installation and storage medium
CN110875858A (en) * 2018-08-31 2020-03-10 北京京东尚科信息技术有限公司 Application test data capturing method, system, equipment and storage medium
CN110908909A (en) * 2019-11-21 2020-03-24 望海康信(北京)科技股份公司 Automatic testing method and 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
CN112650682A (en) * 2020-12-28 2021-04-13 广州品唯软件有限公司 Page test processing method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050261879A1 (en) * 2004-05-21 2005-11-24 Sandeep Shrivastava Diagnostic context
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
CN105095067A (en) * 2014-05-21 2015-11-25 北京奇虎科技有限公司 User interface element object identification and automatic test method and apparatus
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050261879A1 (en) * 2004-05-21 2005-11-24 Sandeep Shrivastava Diagnostic context
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
CN105095067A (en) * 2014-05-21 2015-11-25 北京奇虎科技有限公司 User interface element object identification and automatic test method and apparatus
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110875858A (en) * 2018-08-31 2020-03-10 北京京东尚科信息技术有限公司 Application test data capturing method, system, equipment and storage medium
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
CN109828903A (en) * 2018-12-14 2019-05-31 中国平安人寿保险股份有限公司 Automated testing method, device, computer installation and storage medium
CN109828903B (en) * 2018-12-14 2022-03-08 中国平安人寿保险股份有限公司 Automatic testing method and device, computer device and storage medium
CN110908909A (en) * 2019-11-21 2020-03-24 望海康信(北京)科技股份公司 Automatic testing method and device, storage medium and equipment
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
CN112650682A (en) * 2020-12-28 2021-04-13 广州品唯软件有限公司 Page test processing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN108399119B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN108399119A (en) Browse serves kernel engine data processing, automatic test method and apparatus
CN103927253B (en) Multiple browser compatibility testing method and system
US11399090B2 (en) Page control for history pages of browsed data
CN106503134B (en) Browser jumps to the method for data synchronization and device of application program
CN105955888B (en) Page debugging preview method and system
CN107678937A (en) Page compatibility detection method, device, server and medium
CN109254910B (en) Application program testing method and device, electronic equipment and storage medium
US20030164850A1 (en) Recording user interaction with an application
CN104899016B (en) Allocating stack Relation acquisition method and device
CN103902057B (en) Webpage input method and device for mobile terminal device
CN102147744B (en) Method and system for loading program
CN106412015B (en) A kind of data publication method, equipment and system
CN104216698B (en) A kind of registration web page method and relevant apparatus
CN108228288A (en) A kind of component system and its call method and device
CN106897216A (en) The method and apparatus of test software
CN102073670B (en) Method, equipment and system for debugging online webpage template
CN106878361A (en) A kind of adjustment method of the terminal applies page, device and client
CN104506941B (en) The processing method and processing device of key-press event in intelligent television
CN109684571A (en) A kind of collecting method and device, storage medium
CN110381026B (en) Business service packaging and accessing system, method and device for rich client
CN105740144A (en) Automated testing method and system for Android mobile Terminal
CN106357719A (en) Page-based incident correlation for network applications
CN104301175A (en) WEB service system simulation monitoring method based on browser
CN106156189A (en) A kind of label generating method and device, information getting method and device
CN104572710B (en) The processing method and processing device of webpage information

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