CN108536594A - Page test method, device and storage device - Google Patents
Page test method, device and storage device Download PDFInfo
- Publication number
- CN108536594A CN108536594A CN201810284789.6A CN201810284789A CN108536594A CN 108536594 A CN108536594 A CN 108536594A CN 201810284789 A CN201810284789 A CN 201810284789A CN 108536594 A CN108536594 A CN 108536594A
- Authority
- CN
- China
- Prior art keywords
- page
- test
- instruction
- browser kernel
- kernel
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
An embodiment of the present invention provides a kind of page test method, device and storage devices, wherein page test method includes:Receive the page test instruction of computer end broadcast;Generate test script corresponding with page test instruction;The test script is injected in the page view of customizing browser kernel, test operation is carried out to the test page of the page view displaying of the customizing browser kernel using the test script;Test report is generated, and the test report is sent to the computer end.The embodiment of the present invention can carry out automatic test to the page that customizing browser kernel obtains, and save human cost, improve testing efficiency.
Description
Technical field
The present embodiments relate to Internet technical fields, and in particular to a kind of page test method, device and storage are set
It is standby.
Background technology
Android (Android) system is one and half open source operating systems, is mainly used for mobile device, by Google (Google)
With the exploitation of open handheld device alliance and leader.The primary browser kernel of Android system is in safety and performance, and there are one
The defect for determining degree, to avoid these defects, developer from developing some other browser kernels, such as X5 kernels, with
Substitute the primary browser kernel of Android system.X5 kernels are provided using the page view (WebView) of kernel for application program
Web page display ability, WebView are the controls for showing webpage in application program in Android system.
Current existing page automatic test scheme, is designed for primary browser kernel, can only be to using
The page of the application program of primary browser kernel carries out automatic test, for not using the application of primary browser kernel
The page of program, then it is helpless.I.e. current page automatic test scheme, the page that primary browser kernel can only be obtained
Face is tested, and the page that can not be obtained to non-protogenous browser kernel is tested, and is obtained to non-protogenous browser kernel
The page generally requires manually to be tested, and testing cost is high, testing efficiency is low.
Invention content
An embodiment of the present invention provides a kind of page test method, device and storage devices, can be in customizing browser
The page that core obtains carries out automatic test.
Page test method provided in an embodiment of the present invention, including:
Receive the page test instruction of computer end broadcast;
Generate test script corresponding with page test instruction;
The test script is injected in the page view of customizing browser kernel, using the test script to described fixed
The test page of the page view displaying of browser kernel processed carries out test operation;
Test report is generated, and the test report is sent to the computer end.
Page test device provided in an embodiment of the present invention, including:
Receiving unit, the page for receiving computer end broadcast test instruction;
Generation unit, for generating test script corresponding with page test instruction;
Test cell, for injecting the test script in the page view of customizing browser kernel, using described fixed
The test script of the page view displaying of browser kernel processed carries out test operation to the test page;
Reporting unit is sent to the computer end for generating test report, and by the test report.
The embodiment of the present invention additionally provides a kind of storage device, and the storage device is for storing a plurality of instruction, the finger
It enables and is suitable for being loaded by processor and being executed such as page test method provided in an embodiment of the present invention.
In the embodiment of the present invention, instruction is tested in the page for receiving computer end broadcast, can generate and be tested with the page
Corresponding test script is instructed, the test script is injected in the page view of customizing browser kernel, utilizes the test
Script carries out test operation to the test page of the page view displaying of the customizing browser kernel, ultimately produces test report
It accuses, and the test report is sent to the computer end.I.e. in the embodiment of the present invention, pass through the page of customizing browser kernel
The script injectability of view, injects test script in the page view of customizing browser kernel, to be held using test script
The corresponding test instruction of row, realizes corresponding test operation, to realize the page that customizing browser kernel is obtained certainly
Dynamicization is tested, and is saved human cost, is improved testing efficiency.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the schematic diagram of a scenario for the page test system that the embodiment of the present invention is provided.
Fig. 2 a are the flow diagrams for the page test method that the embodiment of the present invention is provided.
Fig. 2 b are another flow diagrams for the page test method that the embodiment of the present invention is provided.
Fig. 3 a are the another flow diagrams for the page test method that the embodiment of the present invention is provided.
Fig. 3 b are the another flow diagrams for the page test method that the embodiment of the present invention is provided.
Fig. 4 is the structural schematic diagram for the page test device that the embodiment of the present invention is provided.
Fig. 5 is another structural schematic diagram for the page test device that the embodiment of the present invention is provided.
Fig. 6 is the structural schematic diagram for the mobile device that the embodiment of the present invention is provided.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application will be with reference to by the step performed by one or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is executed by computer, this paper institutes
The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern
Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable
Or in addition change the running of the computer in a manner of known to the tester of this field.The data structure that the data are maintained
For the provider location of the memory, there is the specific feature defined in the data format.But the application principle is with above-mentioned text
Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step as described below and behaviour
Also it may be implemented in hardware.
Term as used herein " module " can regard the software object to be executed in the arithmetic system as.It is as described herein
Different components, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And device as described herein and side
Method can be implemented in the form of software, can also be implemented on hardware certainly, within the application protection domain.
Term " first ", " second " and " third " in the application etc. is for distinguishing different objects, rather than for retouching
State particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that cover and non-exclusive include.
Such as contain the step of process, method, system, product or the equipment of series of steps or module is not limited to list or
Module, but some embodiments further include the steps that do not list or module or some embodiments further include for these processes,
Method, product or equipment intrinsic other steps or module.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, Fig. 1 is the schematic diagram of a scenario of the page test system of the embodiment of the present invention, which tests system
Include page test device, page test device can specifically be integrated in mobile device (such as:Mobile phone) in.Specifically in this hair
In bright embodiment, it can be switched to customizing browser kernel from primary browser kernel in advance by the system kernel of mobile device,
Customizing browser kernel is for example:X5 kernels, when needing the page obtained to customizing browser kernel to test, tester
It can be tested and be instructed by computer end broadcast page, mobile device can receive the page test instruction of computer end broadcast, then
Generation test script corresponding with page test instruction (such as:Java script), the test script of generation is noted
Enter the page view of customizing browser kernel, customizing browser kernel shows test page using page view, utilizes the survey
This carries out test operation to the test page of the page view displaying of customizing browser kernel for training, and the test operation is for example, obtain
Certain page elements in test page are taken, to certain test elements analog subscribers operation etc., after the completion of test, generates and surveys
Examination report, and the test report is sent to the computer end.
In addition, can also include the page (web) server and research and development management (Research& in page test system
Development Management, RDM) server, page server is used for during the test, default according to mobile device
Browser kernel processed asks sum operation, to letters such as the customizing browser kernel feedback test page, operation return value, Obj States
Breath, RDM servers are used to provide the installation kit of customizing browser kernel to mobile device.
It should be noted that the schematic diagram of a scenario of page test system shown in FIG. 1 is only an example, the present invention is real
The page test system and scene for applying example description are the not structures in order to more clearly illustrate the technical solution of the embodiment of the present invention
In pairs in the restriction of technical solution provided in an embodiment of the present invention, those of ordinary skill in the art are it is found that as the page tests system
The appearance of the differentiation and new business platform of system, the technical solution of the embodiment of the present invention are equally applicable for similar technical problem.
It will be described in detail respectively below.
The present embodiment will describe page test method provided in an embodiment of the present invention, the page from the angle of page test device
Face test device can be an automated test frame, which can externally provide a series of tests with answering
With Program Interfaces (Application Programming Interface, API), which can collect
At in a mobile device, as shown in Figure 2 a, the page test method of the present embodiment includes the following steps:
Step 201, the page test instruction for receiving computer end broadcast.
Computer end, also known as personal computer (Personal Computer, PC) are held, and can be controlled and be grasped by tester
Make.
In the specific implementation, before executing step 201, tester can debug bridge in computer end installation Android in advance
Then computer end and mobile device are established connection (for example, data line connects by (Android Debug Bridge, adb) tool
Connect, Wireless Fidelity WI-FI connections), call adb tools to broadcast various surveys to mobile device by command prompt (cmd.exe)
Examination instruction.
Tester can be pre-designed test case according to testing requirement, and test case includes that a series of test is appointed
Business (i.e. test instruction), and all test assignments are put into test assignment queue, when test, execute successively.
Before testing begins, tester can send Android installation kit (Android by computer end to mobile device
Package, apk) installation instruction, to indicate that mobile device installs customizing browser kernel, mobile device receives the installation and refers to
It, can (installation kit for the various browser kernels developed can be stored in RDM by developer from RDM servers after order
In server) obtain customizing browser kernel installation kit, then use the locally-installed kernel of host mode, or use three
Square secret sharing, it is locally-installed to the progress of customizing browser kernel, i.e., customizing browser kernel is integrated to automatic test frame
System kernel after installation is complete, is switched to customizing browser kernel by frame from primary browser kernel.
Customizing browser kernel, such as X5 kernels, X5 kernels are that a set of of QQ browsers team offer is based on Android systems
Page view (WebView) solution of system, can be substituted for the primary browser kernel of android system, be a kind of insert
The kernel of part, the defects of capable of solving the problems, such as safety, performance caused by the primary browser kernel of android system, currently,
X5 kernels have been widely used to be carried in application programs, the present embodiment such as wechat, mobile phone qq, QQ space, Jingdone district, Tencent's videos
And application program, can be Android application programs, the system of mobile device is Android system.
In Android system, can exist WebView as standalone insertization, WebView can be removed from system layer,
Logic with standalone upgrade and load.It, can be only by updating WebView during the WebView uses of Android system
The form of installation kit is updated upgrading to the browser kernel built in system.
After handover success, mobile device can be by default interface of expanding (for example, Software Development Kit sdk is opened up
Open up interface) feed back switching state to computer end.For example, true can be returned to by switching successfully, handover failure can return to false.
If the state of mobile device feedback is successfully, start to execute test process, the adb works that tester passes through installation in computer end
Have to mobile device and broadcasts various test instructions.Mobile device can register an on-air monitor, to monitor and receive computer
The various tests instruction of end broadcast.
Since the page of application program to be obtained to customizing browser kernel is tested, then firstly the need of passing through customization
Browser kernel obtains test page, i.e., further comprising the steps of before receiving the page test instruction of computer end broadcast:
Receive the access test instruction of computer end broadcast;
By the customizing browser kernel test page is obtained from page server.
I.e. after tester knows that customizing browser kernel is installed successfully, tester can pass through in computer end
The broadcast of adb tools accesses test instruction, and to indicate that mobile device obtains test page using customizing browser kernel, which surveys
May include the uniform resource locator (Uniform Resource Locator, URL) of the test page in examination instruction, it is mobile
Equipment receives the access test instruction of computer end broadcast, is carried according in access test instruction using customizing browser kernel
URL obtain corresponding test page from web page server.The test page that customizing browser kernel is obtained from web page server,
Usually hypertext markup language (HyperText Markup Language, HTML) file of the test page, customization browsing
Device kernel can parse the html file, and to generate the test page, the test page of generation can be by customizing browser
The page view of kernel carries out rendering displaying.
After obtaining test page, tester can be tested by adb tool broadcast pages in computer end and be instructed, and be moved
Dynamic equipment receives the page test instruction of computer end broadcast.
In the present embodiment, using system broadcasts as the entrance of testing scheme, it can be corresponded to avoid automated test frame
The strong dependence being packaged with program, even if application program is version on line, as long as application program is integrated with default expansion interface, you can
Pass through browser kernel used in the default expansion interface dynamic update application program.When application version occur upgrading or
When person changes, without repacking, it is only necessary to which primary browser kernel is updated to the customizing browser kernel of plug-in unit, you can
It realizes automation kernel quality monitoring, the problems such as application program is numerous, and application version update rhythm is inconsistent can be solved.
Step 202 generates test script corresponding with page test instruction.
In the present embodiment, when mobile device receives the test instruction of computer end transmission, instruction type can be carried out
Judge, if it is test instruction is accessed, then the test page is obtained from page server by customizing browser kernel, if
It is page test instruction, then generates test script corresponding with page test instruction.
In the specific implementation, page test instruction may include page elements acquisition instruction and page elements operational order,
Page elements, such as the input frame of the page, button, scroll bar, control etc..Page elements acquisition instruction, such as:What lookup was specified
Page elements obtain page elements list etc.;Page elements operational order, such as:Word is inputted in input frame, button is clicked,
Obtain page focus, switching focus etc..
Instruction is tested for the different pages, different test scripts can be generated, the generation of test script can call foot
This generator realizes that script generator is for example:JavaScript script generators, Active Server Pages (Active Server
Pages, ASP) script generator, structured query language (Structured Query Language, SQL) script generator
Deng by different test scripts, different test operations may be implemented.
Step 203 injects the test script in the page view of customizing browser kernel, utilizes the test script
Test operation is carried out to the test page of the page view displaying of customizing browser kernel.
Test script injects after test page, can execute correspondence to test page according to the method that test script provides
Automatic test operation.
For example, after the corresponding test script of page elements acquisition instruction is injected test page, the test script meeting
Automatically the test page shown from the page view of customizing browser kernel obtains specified page elements.Specific acquisition methods
It can carry in test script, for example, can be obtained according to element property, element property is for example:Content of text text
Content attributes, class name class name attributes, mark ID attributes, extensible markup language path language Xpath attributes etc..
Specifically, test script can traverse each page elements of test page, judge each attribute of element, if
The page elements have with any one in properties:Text content attributes, class name attributes, ID attributes,
Xpath attributes then record the element, subsequently into next page elements, for not having any one above-mentioned category
Property page elements, then skip, until all page elements judge to finish.It, can be with by above-mentioned page elements acquisition instruction
Specified page elements are obtained, page elements list can also be obtained.
For another example, after the corresponding test script of page elements operational order is injected test page, the test script
It can be operated automatically to specified page elements analog subscriber, to test the function of specified page elements.The user simulated
Operation includes but not limited to:The clicking operation of analog subscriber, the input operation of analog subscriber, analog subscriber obtain page focus
Operation, analog subscriber switching page focus etc..
After the test script injection test page of generation, a series of automatic test behaviour can be carried out to test page
Make, thus, test process of the invention, in mobile device side, not needing user excessively intervenes, and saves human cost.
Mobile device can execute each test assignment in test assignment queue successively, until having executed test assignment
All test assignments in queue.
During test, customizing browser kernel can be handed over using the API externally provided with page server
Mutually, such as send page access request, page operation request, page jump request, log on request etc., page server can root
According to the request of customizing browser kernel, the corresponding page, operation return value, Obj State etc. are provided to customizing browser kernel,
Mobile device can judge the execution state of corresponding requests according to the information that page server returns, and will execute state recording and exist
In daily record.
Step 204 generates test report, and the test report is sent to the computer end.
Specifically, mobile device can generate test report according to the daily record of record, or daily record is directly output to finger
Determine in file, forms test report, tester is by checking that test report would know that the test case of the page.
In a specific embodiment, the page test method that mobile device executes can also be as shown in Figure 2 b, specifically such as
Under:
Mobile device by system kernel after primary browser kernel is switched to the customizing browser kernel, it is mobile
Equipment can initialize the page view of customizing browser kernel, then register on-air monitor, when listening to computer
When the test instruction that end is sent, the type of test instruction can be judged, if test instruction is to access test instruction, by described
Customizing browser kernel obtains test page from page server;It tests and instructs if it is the page, then generate corresponding test foot
This, the test script of generation is injected in the page view of customizing browser kernel, using the test script to the customization
The test page of the page view displaying of browser kernel carries out test operation.During test, customizing browser kernel
The API that externally provides can be utilized to be interacted with page server, for example, send page access request, page operation is asked,
Page jump request, log on request etc., page server can be according to the requests of customizing browser kernel, into customizing browser
Core provides the corresponding page, operation return value, Obj State etc., and mobile device can be sentenced according to the information that page server returns
The execution state of disconnected corresponding requests, and state recording will be executed in daily record, automatic test is finally exported according to the daily record of record
As a result.
In the present embodiment, instruction is tested in the page for receiving computer end broadcast, can generate and test instruction with the page
The test script is injected in the page view of customizing browser kernel, utilizes the test script by corresponding test script
Test operation is carried out to the test page of the page view displaying of the customizing browser kernel, ultimately produces test report, and
The test report is sent to the computer end.I.e. in the present embodiment, pass through the foot of the page view of customizing browser kernel
This injectability injects test script in the page view of customizing browser kernel, corresponding test is executed using test script
Instruction, realizes corresponding test operation, to realize the automatic test of the page obtained to customizing browser kernel, saves
Human cost, improves testing efficiency, can effectively monitor product quality, convenient for finding product problem in time.
The method of above-described embodiment description, the present embodiment will be described in further detail, as shown in Figure 3a, the present embodiment
Page test method include the following steps:
System kernel is switched to customizing browser kernel by step 301 from primary browser kernel.
Tester can send Android installation kit (Android Package, apk) to mobile device by computer end and pacify
Dress instruction, to indicate that mobile device installs customizing browser kernel, after mobile device receives the installation instruction, Ke Yicong
RDM servers (installation kit for the various browser kernels developed can be stored in RDM servers by developer) obtain
Then the installation kit of customizing browser kernel uses the mode of the locally-installed kernel of host, or uses tripartite's secret sharing, right
Customizing browser kernel carry out it is locally-installed, i.e., customizing browser kernel is integrated to automated test frame, installation is complete it
Afterwards, system kernel is switched to customizing browser kernel from primary browser kernel.
Customizing browser kernel, such as X5 kernels, X5 kernels are that a set of of QQ browsers team offer is based on Android systems
The WebView solutions of system can be substituted for the primary browser kernel of android system, be a kind of kernel of plug-in unit,
The defects of capable of solving the problems, such as safety, performance caused by the primary browser kernel of android system, currently, X5 kernels are
It is widely used in application programs such as wechat, mobile phone qq, QQ space, Jingdone district, Tencent's videos, the application journey mentioned by the present embodiment
Sequence can be Android application programs, and the system of mobile device is Android system.
In Android system, can exist WebView as standalone insertization, WebView can be removed from system layer,
Logic with standalone upgrade and load.It, can be only by updating WebView during the WebView uses of Android system
The form of installation kit is updated upgrading to the browser kernel built in system.
Step 302, registration on-air monitor.
After handover success, mobile device can be by default interface of expanding (for example, Software Development Kit sdk is opened up
Open up interface) feed back switching state to computer end.For example, true can be returned to by switching successfully, handover failure can return to false.
If the state of mobile device feedback is successfully, start to execute test process, tester can pass through adb tools in computer end
Various test instructions are broadcasted to mobile device.Mobile device can register an on-air monitor, to monitor and receive computer end
The various tests instruction of broadcast.
Step 303, the access test instruction for receiving computer end broadcast.
Access test instruction is used to indicate mobile device and obtains test page using customizing browser kernel, which surveys
May include the uniform resource locator (Uniform Resource Locator, URL) of the test page in examination instruction, it is mobile
Equipment receives the access test instruction of computer end broadcast, is carried according in access test instruction using customizing browser kernel
URL obtain corresponding test page from web page server.The test page that customizing browser kernel is obtained from web page server,
Usually hypertext markup language (HyperText Markup Language, HTML) file of the test page, customization browsing
Device kernel can parse the html file, and to generate the test page, the test page of generation can be by customizing browser
The page view of kernel carries out rendering displaying.
Step 304 obtains test page by the customizing browser kernel from page server.
Step 305, the page elements acquisition instruction for receiving computer end broadcast.
Page elements, such as the input frame of the page, button, scroll bar, control etc..Page elements acquisition instruction, such as:It looks into
Specified page elements are looked for, page elements list etc. is obtained.
Step 306 generates test script corresponding with the page elements acquisition instruction.
The generation of test script can call script generator to realize, script generator is for example:JavaScript scripts are given birth to
It grows up to be a useful person, Active Server Pages (Active Server Pages, ASP) script generator, structured query language
(Structured Query Language, SQL) script generator etc..
Step 307, the page that test script corresponding with the page elements acquisition instruction is injected to customizing browser kernel
In the view of face, using test script corresponding with the page elements acquisition instruction, from the page view of customizing browser kernel
The test page of displaying obtains specified page elements.
For example, after the corresponding test script of page elements acquisition instruction is injected test page, the test script meeting
Automatically the test page shown from the page view of customizing browser kernel obtains specified page elements.Specific acquisition methods
It can carry in test script, for example, can be obtained according to element property, element property is for example:Content of text text
Content attributes, class name class name attributes, mark ID attributes, extensible markup language path language Xpath attributes etc..
Specifically, test script can traverse each page elements of test page, judge each attribute of element, if
The page elements have with any one in properties:Text content attributes, class name attributes, ID attributes,
Xpath attributes then record the element, subsequently into next page elements, for not having any one above-mentioned category
Property page elements, then skip, until all page elements judge to finish.It, can be with by above-mentioned page elements acquisition instruction
Specified page elements are obtained, page elements list can also be obtained.
Step 308, the page elements operational order for receiving computer end broadcast.
Page elements operational order, such as:Word is inputted in input frame, button is clicked, and page focus is obtained, and switches focus
Deng.
Step 309 generates test script corresponding with the page elements operational order.
Step 310, the page that test script corresponding with the page elements operational order is injected to customizing browser kernel
In the view of face, using test script corresponding with the page elements operational order, to the page view of customizing browser kernel
The specified page elements analog subscriber operation of displaying.
For example, after the corresponding test script of page elements operational order is injected test page, the test script meeting
Automatically it is operated to specified page elements analog subscriber, to test the function of specified page elements.The user behaviour simulated
Work includes but not limited to:The clicking operation of analog subscriber, the input operation of analog subscriber, analog subscriber obtain the behaviour of page focus
Make, analog subscriber switches page focus etc..
In a specific example, such as login page that test page is application program, analog subscriber operation can be with
In the log-in interface of application program, the correct and wrong user name of analog subscriber input, password, then click Button Login respectively
See whether can to log in and whether wrong prompt etc..
During test, customizing browser kernel can be handed over using the API externally provided with page server
Mutually, such as send page access request, page operation request, page jump request, log on request etc., page server can root
According to the request of customizing browser kernel, the corresponding page, operation return value, Obj State etc. are provided to customizing browser kernel,
Mobile device can judge the execution state of corresponding requests according to the information that page server returns, and will execute state recording and exist
In daily record.
Step 311 generates test report, and the test report is sent to the computer end.
Specifically, mobile device can generate test report according to the daily record of record, or daily record is directly output to finger
Determine in file, forms test report, tester is by checking that test report would know that the test case of the page.
In the present embodiment, instruction is tested in the page for receiving computer end broadcast, can generate and test instruction with the page
The test script is injected the page view of customizing browser kernel, utilizes the test script pair by corresponding test script
The test page of the page view displaying of customizing browser kernel carries out test operation, ultimately produces test report, and will be described
Test report is sent to the computer end.I.e. in the present embodiment, injected by the script of the page view of customizing browser kernel
Ability injects test script in the page view of customizing browser kernel, and corresponding test is executed using test script and is referred to
It enables, realizes corresponding test operation, to realize the automatic test of the page obtained to customizing browser kernel, save
Human cost improves testing efficiency, can effectively monitor product quality, convenient for finding product problem in time.
The above slave mobile device side describes page test method provided in an embodiment of the present invention, below in conjunction with computer
End, describes page test method provided in an embodiment of the present invention, please refers to Fig. 3 b, specific as follows:
Tester can control mobile device in computer end and install customizing browser kernel, mobile after installation is complete
System kernel is switched to customizing browser kernel by equipment side from primary browser kernel, to call customizing browser kernel;At
After work(calls, tester instructs in computer end on-air testing, and the test instruction includes accessing test instruction, page elements
Acquisition instruction, page elements operational order, and execute any other test script etc..
Mobile device can instruct test and carry out type judgement, be tested if it is accessing after receiving test instruction
Instruction then obtains test page by the customizing browser kernel from page server, and it is fixed that the test page of acquisition is passed through
The page view of browser kernel processed is shown;If it is page elements acquisition instruction, page elements operational order, then generate
Corresponding test script, and by the page view of the test script of generation injection customizing browser kernel, to utilize test script
Corresponding operation is carried out to the test page of the page view displaying of customizing browser kernel, such as:It is obtained when by page elements
After instructing corresponding test script injection test page, which can be automatically from the page view of customizing browser kernel
The test page of displaying obtains specified page elements, and specific acquisition methods can carry in test script, for example, can be with
It is obtained according to element property, element property is for example:Content of text text content attributes, class name class name attributes, mark
Know ID attributes, extensible markup language path language Xpath attributes etc.;Such as:When by the corresponding survey of page elements operational order
After training this injection test page, which can operate to specified page elements analog subscriber automatically, with test
The function of specified page elements.The user's operation simulated includes but not limited to:The clicking operation of analog subscriber, analog subscriber
Input operation, analog subscriber obtain the operation of page focus, analog subscriber switching page focus etc.;If it is execute other
Other test scripts, then is directly injected the page view of customizing browser kernel by meaning test script;During test, move
Dynamic equipment can record test log, and after the test is ended, mobile device can generate test report according to the test log of record
It accuses, and test report is sent to computer end.
In order to preferably implement above method, the embodiment of the present invention also provides a kind of page test device, as shown in figure 4,
The device of the present embodiment includes receiving unit 401, generation unit 402, test cell 403 and reporting unit 404, as follows:
Receiving unit 401, the page for receiving computer end broadcast test instruction;
Generation unit 402, for generating test script corresponding with page test instruction;
Test cell 403, for injecting the test script in the page view of customizing browser kernel, using described
Test script carries out test operation to the test page of the page view displaying of the customizing browser kernel;
Reporting unit 404 is sent to the computer end for generating test report, and by the test report.
In one embodiment, as shown in figure 5, described device further includes:
Switch unit 405, for system kernel to be switched to the customizing browser kernel from primary browser kernel.
In one embodiment, the receiving unit 401 is additionally operable to, and receives the access test instruction of the computer end broadcast;
Described device further includes:
Acquiring unit 406, for obtaining the test page from page server by the customizing browser kernel.
In one embodiment, the page test instruction includes page elements acquisition instruction;
The test cell 403 is specifically used for, using with the corresponding test script of page test instruction, from described fixed
The test page of the page view displaying of browser kernel processed obtains specified page elements.
In one embodiment, the test cell 403 is specifically used for, and utilizes survey corresponding with the page elements acquisition instruction
Training sheet according to content of text text content attributes or class name class name attributes or mark ID attributes or can expand
Markup language path language Xpath attributes are opened up, the test page shown from the page view of the customizing browser kernel obtains
Specified page elements.
In one embodiment, the page test instruction further includes page elements operational order;
The test cell 403 is additionally operable to, using test script corresponding with page elements test instruction, to described
The specified page elements analog subscriber operation of the page view displaying of customizing browser kernel.
In one embodiment, as shown in figure 5, described device further includes:
Registering unit 407, for registering on-air monitor;
The receiving unit 401 is specifically used for, and the page that the computer end broadcast is received using the on-air monitor is surveyed
Examination instruction.
It should be noted that above-described embodiment provide page test device when realizing page test function, only more than
The division progress of each function module is stated for example, in practical application, it can be as needed and by above-mentioned function distribution by difference
Function module complete, i.e., the internal structure of equipment is divided into different function modules, with complete it is described above whole or
Person's partial function.In addition, the page test device that above-described embodiment provides belongs to same design with page test method, it is specific
Realization process refers to embodiment of the method, and details are not described herein again.
In the present embodiment, receiving unit receive computer end broadcast the page test instruction, generation unit can generate with
The page test instructs corresponding test script, test cell that the test script is injected to the page of customizing browser kernel
In view, test behaviour is carried out to the test page of the page view displaying of the customizing browser kernel using the test script
Make, test report is finally generated by reporting unit, and the test report is sent to the computer end.I.e. in the present embodiment,
By the script injectability of the page view of customizing browser kernel, injects and survey in the page view of customizing browser kernel
Training sheet realizes corresponding test operation, to realize to customization to execute corresponding test instruction using test script
The automatic test for the page that browser kernel obtains, saves human cost, improves testing efficiency.
Correspondingly, the movement that the embodiment of the present invention additionally provides the page test device described with the embodiment of the present invention is set
It is standby, as shown in fig. 6, the mobile device may include radio frequency (RF, Radio Frequency) circuit 501 including there are one or one
The memory 502 of a above computer readable storage medium, input unit 503, display unit 504, sensor 505, audio-frequency electric
Road 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507 including there are one or more than one processing core
Processor 508 and the components such as power supply 509.It will be understood by those skilled in the art that mobile device structure shown in Fig. 6
Do not constitute the restriction to mobile device, may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.Wherein:
RF circuits 501 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 508 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuits 501 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuits 501 can also by radio communication with network and its
He communicates equipment.The wireless communication can use any communication standard or agreement, including but not limited to global system for mobile telecommunications system
Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term
Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 502 can be used for storing software program and module, and processor 508 is stored in memory 502 by operation
Software program and module, to perform various functions application and data processing.Memory 502 can include mainly storage journey
Sequence area and storage data field, wherein storing program area can storage program area, the application program (ratio needed at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored uses created number according to mobile device
According to (such as audio data, phone directory etc.) etc..In addition, memory 502 may include high-speed random access memory, can also wrap
Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Correspondingly, memory 502 can also include Memory Controller, to provide processor 508 and input unit 503 to memory
502 access.
Input unit 503 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, in a specific embodiment
In, input unit 503 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or tactile
Control plate, collect user on it or neighbouring touch operation (such as user using any suitable object such as finger, stylus or
Operation of the attachment on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 508, and can reception processing
Order that device 508 is sent simultaneously is executed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.In addition to touch sensitive surface, input unit 503 can also include other input equipments.Specifically, other are defeated
Enter equipment and can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
It is one or more in mark, operating lever etc..
Display unit 504 can be used for showing information input by user or the information and mobile device that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.
Display unit 504 may include display panel, optionally, liquid crystal display (LCD, Liquid Crystal may be used
Display), the forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display surface
Plate.Further, touch sensitive surface can cover display panel, when touch sensitive surface detects on it or after neighbouring touch operation,
Processor 508 is sent to determine the type of touch event, is followed by subsequent processing device 508 according to the type of touch event in display panel
It is upper that corresponding visual output is provided.Although in figure 6, touch sensitive surface and display panel are realized as two independent components
Input and input function, but in some embodiments it is possible to it is touch sensitive surface and display panel is integrated and realize and input and defeated
Go out function.
Mobile device may also include at least one sensor 505, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel, and proximity sensor can close display surface when mobile device is moved in one's ear
Plate and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis)
The size of acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as vertical and horizontal
Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for movement
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor that equipment can also configure, it is no longer superfluous herein
It states.
Voicefrequency circuit 506, loud speaker, microphone can provide the audio interface between user and mobile device.Voicefrequency circuit
The transformed electric signal of the audio data received can be transferred to loud speaker by 506, and it is defeated to be converted to voice signal by loud speaker
Go out;On the other hand, the voice signal of collection is converted to electric signal by microphone, and audio is converted to after being received by voicefrequency circuit 506
Data, then by audio data output processor 508 processing after, through RF circuits 501 to be sent to such as another mobile device, or
Audio data is exported to memory 502 to be further processed.Voicefrequency circuit 506 is also possible that earphone jack, to provide
The communication of peripheral hardware earphone and mobile device.
WiFi belongs to short range wireless transmission technology, and mobile device can help user to receive and dispatch electricity by WiFi module 507
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 6 shows
Go out WiFi module 507, but it is understood that, and it is not belonging to must be configured into for mobile device, it completely can be according to need
It to be omitted in the range for the essence for not changing invention.
Processor 508 is the control centre of mobile device, utilizes each of various interfaces and the entire mobile device of connection
A part by running or execute the software program and/or module that are stored in memory 502, and calls and is stored in storage
Data in device 502 execute the various functions and processing data of mobile device, to carry out integral monitoring to mobile device.It can
Choosing, processor 508 may include one or more processing cores;Preferably, processor 508 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 508.
Mobile device further includes the power supply 509 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 508 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 509 can also include one or more direct current or AC power, recharging system, power supply event
Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, mobile device can also include camera, bluetooth module etc., and details are not described herein.Specifically at this
In embodiment, processor 508 in mobile device can according to following instruction, by one or more application program into
The corresponding executable file of journey is loaded into memory 502, and is stored in answering in memory 502 by processor 508 to run
With program, to realize various functions:
Receive the page test instruction of computer end broadcast;
Generate test script corresponding with page test instruction;
The test script is injected in the page view of customizing browser kernel, utilizes the customizing browser kernel
The test script of page view displaying carries out test operation to the test page;
Test report is generated, and the test report is sent to the computer end.
In some embodiments, before receiving the page test instruction of computer end broadcast, processor 508 is additionally operable to execute
Following steps:
System kernel is switched to the customizing browser kernel from primary browser kernel.
In some embodiments, it is updated in the customizing browser by the primary browser kernel of the application program
After core, processor 508 is additionally operable to execute following steps:
Receive the access test instruction of the computer end broadcast;
By the customizing browser kernel test page is obtained from page server.
In some embodiments, the page test instruction includes page elements acquisition instruction, is utilizing the test foot
When this carries out test operation to the test page of the page view displaying of the customizing browser kernel, processor 508 is specifically used
In execution following steps:
Using test script corresponding with the page elements acquisition instruction, regarded from the page of the customizing browser kernel
The test page of figure displaying obtains specified page elements.
In some embodiments, test script corresponding with the page elements acquisition instruction is being utilized, from the customization
When the test page of the page view displaying of browser kernel obtains specified page elements, processor 508 is specifically used for executing
Following steps:
Using test script corresponding with the page elements acquisition instruction, belonged to according to content of text text content
Property or class name class name attributes or mark ID attributes or extensible markup language path language Xpath attributes, from described
The test page of the page view displaying of customizing browser kernel obtains specified page elements.
In some embodiments, the page test instruction further includes page elements operational order, is utilizing the test
When script carries out test operation to the test page of the page view displaying of the customizing browser kernel, processor 508 is specific
For executing following steps:
Using test script corresponding with the page elements operational order, to the specified page elements analog subscriber
Operation.
In some embodiments, before receiving the page test instruction of computer end broadcast, processor 508 is additionally operable to execute
Following steps:
Register on-air monitor;
The page that processor 508 receives the computer end broadcast using the on-air monitor tests instruction.
The mobile device of the present embodiment is tested instruction in the page for receiving computer end broadcast, can be generated and the page
Test instructs corresponding test script, and the test script is injected to the page view of customizing browser kernel, utilizes the survey
This carries out test operation to the test page of the page view displaying of the customizing browser kernel for training, ultimately produces test report
It accuses, and the test report is sent to the computer end.I.e. in the embodiment of the present invention, pass through the page of customizing browser kernel
The script injectability of view, injects test script in the page view of customizing browser kernel, is held using test script
The corresponding test instruction of row, realizes corresponding test operation, to realize the page that customizing browser kernel is obtained certainly
Dynamicization is tested, and is saved human cost, is improved testing efficiency.
The embodiment of the present application also provides a kind of storage device, and the storage device is stored with computer program, when the meter
When calculation machine program is run on computers so that the computer executes the Web page picture side of checking in any of the above-described embodiment
Method, such as:Receive the page test instruction of computer end broadcast;Generate test script corresponding with page test instruction;It will
The page view of the test script injection customizing browser kernel, using the test script to the page of customizing browser kernel
The test page of face view displaying carries out test operation;Test report is generated, and the test report is sent to the computer
End.
In the embodiment of the present application, storage device can be magnetic disc, CD, read-only memory (Read Only Memory,
ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
It should be noted that for the page test method of the embodiment of the present application, the common decision-maker in this field can be with
The all or part of flow for understanding the page test method for realizing the embodiment of the present application, is that can be controlled by computer program
Relevant hardware is completed, and the computer program can be stored in a computer read/write memory medium, be such as stored in electronics
It in the memory of equipment, and is executed, may include in the process of implementation such as the page by least one processor in the electronic equipment
The flow of the embodiment of test method.Wherein, the storage medium can be magnetic disc, CD, read-only memory, arbitrary access note
Recall body etc..
For the page test device of the embodiment of the present application, each function module can be integrated in a processing chip
In, can also be that modules physically exist alone, can also two or more modules be integrated in a module.It is above-mentioned
The form that hardware had both may be used in integrated module is realized, can also be realized in the form of software function module.It is described integrated
If module realized in the form of software function module and when sold or used as an independent product, one can also be stored in
In a computer read/write memory medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of page test method, device and the storage device provided above the embodiment of the present application has carried out detailed Jie
It continues, specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above example is only
It is to be used to help understand the method for this application and its core ideas;Meanwhile for those skilled in the art, according to the application's
Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as
Limitation to the application.
Claims (15)
1. a kind of page test method, which is characterized in that including:
Receive the page test instruction of computer end broadcast;
Generate test script corresponding with page test instruction;
The test script is injected in the page view of customizing browser kernel, it is clear to the customization using the test script
The test page progress test operation that the page view of device kernel of looking at is shown;
Test report is generated, and the test report is sent to the computer end.
2. page test method according to claim 1, which is characterized in that refer in the page test for receiving computer end broadcast
Before order, further include:
System kernel is switched to the customizing browser kernel from primary browser kernel.
3. page test method according to claim 2, which is characterized in that by system kernel from primary browser kernel
It is switched to after the customizing browser kernel, further includes:
Receive the access test instruction of the computer end broadcast;
By the customizing browser kernel test page is obtained from page server.
4. page test method according to claim 1, which is characterized in that the page test instruction includes page elements
Acquisition instruction, it is described that the test page of the page view displaying of the customizing browser kernel is carried out using the test script
Test operation, including:
Using test script corresponding with the page elements acquisition instruction, from the page view exhibition of the customizing browser kernel
The test page shown obtains specified page elements.
5. page test method according to claim 4, which is characterized in that described to refer to using with page elements acquisition
Corresponding test script is enabled, the test page shown from the page view of the customizing browser kernel obtains specified page member
Element, including:
Using test script corresponding with the page elements acquisition instruction, according to content of text text content attributes or
Class name class name attributes or mark ID attributes or extensible markup language path language Xpath attributes, from the customization
The test page of the page view displaying of browser kernel obtains specified page elements.
6. page test method according to claim 4 or 5, which is characterized in that the page test instruction further includes page
Surface element operational order, the test sheets that the page view of the customizing browser kernel is shown using the test script
Face carries out test operation, further includes:
Using test script corresponding with the page elements operational order, the page view exhibition to the customizing browser kernel
The specified page elements analog subscriber operation shown.
7. page test method according to claim 1, which is characterized in that refer in the page test for receiving computer end broadcast
Before order, further include:
Register on-air monitor;
The page test instruction for receiving computer end broadcast, including:
The page that the computer end broadcast is received using the on-air monitor tests instruction.
8. a kind of page test device, which is characterized in that including:
Receiving unit, the page for receiving computer end broadcast test instruction;
Generation unit, for generating test script corresponding with page test instruction;
Test cell utilizes the test foot for injecting the test script in the page view of customizing browser kernel
This carries out test operation to the test page of the page view displaying of the customizing browser kernel;
Reporting unit is sent to the computer end for generating test report, and by the test report.
9. page test device according to claim 8, which is characterized in that described device further includes:
Switch unit, for system kernel to be switched to the customizing browser kernel from primary browser kernel.
10. page test device according to claim 9, which is characterized in that
The receiving unit is additionally operable to, and receives the access test instruction of the computer end broadcast;
Described device further includes:
Acquiring unit, for obtaining the test page from page server by the customizing browser kernel.
11. page test device according to claim 8, which is characterized in that the page test instruction includes page member
Plain acquisition instruction;
The test cell is specifically used for, and using test script corresponding with page test instruction, is browsed from the customization
The test page of the page view displaying of device kernel obtains specified page elements.
12. page test device according to claim 11, which is characterized in that
The test cell is specifically used for, using test script corresponding with the page elements acquisition instruction, according in text
Hold text content attributes or class name class name attributes or mark ID attributes or extensible markup language path language
Xpath attributes, the test page shown from the page view of the customizing browser kernel obtain specified page elements.
13. page test device according to claim 11 or 12, which is characterized in that the page test, which instructs, further includes
Page elements operational order;
The test cell is additionally operable to, clear to the customization using test script corresponding with page elements test instruction
The specified page elements analog subscriber operation that the page view of device kernel of looking at is shown.
14. page test device according to claim 8, which is characterized in that in the page test for receiving computer end broadcast
Before instruction, described device further includes:
Registering unit, for registering on-air monitor;
The receiving unit is specifically used for, and the page that the computer end broadcast is received using the on-air monitor tests instruction.
15. a kind of storage device, which is characterized in that the storage device for storing a plurality of instruction, described instruction be suitable for by
Reason device loads and executes step as described in any one of claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810284789.6A CN108536594B (en) | 2018-04-02 | 2018-04-02 | Page testing method and device and storage equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810284789.6A CN108536594B (en) | 2018-04-02 | 2018-04-02 | Page testing method and device and storage equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108536594A true CN108536594A (en) | 2018-09-14 |
CN108536594B CN108536594B (en) | 2022-03-08 |
Family
ID=63482869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810284789.6A Active CN108536594B (en) | 2018-04-02 | 2018-04-02 | Page testing method and device and storage equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108536594B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815156A (en) * | 2019-02-28 | 2019-05-28 | 北京百度网讯科技有限公司 | Displaying test method, device, equipment and the storage medium of visual element in the page |
CN110069399A (en) * | 2019-03-15 | 2019-07-30 | 平安普惠企业管理有限公司 | HTML5 packet installation testing method, device, computer equipment and storage medium |
CN110704270A (en) * | 2019-08-20 | 2020-01-17 | 北京奇艺世纪科技有限公司 | Zero-buried point data acquisition method and device, electronic equipment and storage medium |
CN110750463A (en) * | 2019-10-29 | 2020-02-04 | 百度在线网络技术(北京)有限公司 | Applet testing method, device, system, equipment and medium |
CN111399927A (en) * | 2018-12-14 | 2020-07-10 | 北京奇虎科技有限公司 | Method and device for sharing Class file by application and computing equipment |
CN111597110A (en) * | 2020-04-27 | 2020-08-28 | 五八有限公司 | Page testing method and device, electronic equipment and storage medium |
CN112685269A (en) * | 2020-12-21 | 2021-04-20 | 北京达佳互联信息技术有限公司 | Data acquisition method and device, electronic equipment and storage medium |
CN112765008A (en) * | 2019-11-01 | 2021-05-07 | 腾讯科技(深圳)有限公司 | Functional application testing method, device, equipment and storage medium |
WO2022134582A1 (en) * | 2020-12-21 | 2022-06-30 | 深圳壹账通智能科技有限公司 | Browser page test method and apparatus, computer device, and storage medium |
CN114691496A (en) * | 2022-03-02 | 2022-07-01 | 阿里巴巴(中国)有限公司 | Unit testing method, unit testing device, computing equipment and medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140039897A1 (en) * | 2012-08-06 | 2014-02-06 | Alok KULKARNI | System and method for automated adaptation and improvement of speaker authentication in a voice biometric system environment |
CN103631942A (en) * | 2013-12-10 | 2014-03-12 | 贝壳网际(北京)安全技术有限公司 | Method and device for accessing webpage and browser |
US8868535B1 (en) * | 2000-02-24 | 2014-10-21 | Richard Paiz | Search engine optimizer |
CN104270662A (en) * | 2014-10-27 | 2015-01-07 | 冠捷显示科技(厦门)有限公司 | System of terminal equipment for controlling intelligent television through browser |
CN104699604A (en) * | 2015-02-28 | 2015-06-10 | 百度在线网络技术(北京)有限公司 | Method and device for testing Android application on basis of customized rendering engine |
CN104794056A (en) * | 2015-04-29 | 2015-07-22 | 北京京东尚科信息技术有限公司 | Web browser compatibility testing method and device |
CN106033366A (en) * | 2015-03-19 | 2016-10-19 | 广州市动景计算机科技有限公司 | Browser core management method, device and system |
US20170039129A1 (en) * | 2011-09-30 | 2017-02-09 | International Business Machines Corporation | Processing automation scripts of software |
CN106598829A (en) * | 2015-10-15 | 2017-04-26 | 腾讯科技(深圳)有限公司 | Webpage automation test method and apparatus |
-
2018
- 2018-04-02 CN CN201810284789.6A patent/CN108536594B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8868535B1 (en) * | 2000-02-24 | 2014-10-21 | Richard Paiz | Search engine optimizer |
US20170039129A1 (en) * | 2011-09-30 | 2017-02-09 | International Business Machines Corporation | Processing automation scripts of software |
US20140039897A1 (en) * | 2012-08-06 | 2014-02-06 | Alok KULKARNI | System and method for automated adaptation and improvement of speaker authentication in a voice biometric system environment |
CN103631942A (en) * | 2013-12-10 | 2014-03-12 | 贝壳网际(北京)安全技术有限公司 | Method and device for accessing webpage and browser |
CN104270662A (en) * | 2014-10-27 | 2015-01-07 | 冠捷显示科技(厦门)有限公司 | System of terminal equipment for controlling intelligent television through browser |
CN104699604A (en) * | 2015-02-28 | 2015-06-10 | 百度在线网络技术(北京)有限公司 | Method and device for testing Android application on basis of customized rendering engine |
CN106033366A (en) * | 2015-03-19 | 2016-10-19 | 广州市动景计算机科技有限公司 | Browser core management method, device and system |
CN104794056A (en) * | 2015-04-29 | 2015-07-22 | 北京京东尚科信息技术有限公司 | Web browser compatibility testing method and device |
CN106598829A (en) * | 2015-10-15 | 2017-04-26 | 腾讯科技(深圳)有限公司 | Webpage automation test method and apparatus |
Non-Patent Citations (2)
Title |
---|
ANTON PARAS: ""Browsers: Rendering Engines & JS Engines"", 《HTTPS://MEDIUM.COM/@ACPARAS/BROWSERS-RENDERING-ENGINES-JS-ENGINES-BEA42B77A182》 * |
普通玩家: ""浏览器内核-渲染引擎、js引擎"", 《HTTPS://BLOG.CSDN.NET/BONJEAN/ARTICLE/DETAILS/78453547》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111399927A (en) * | 2018-12-14 | 2020-07-10 | 北京奇虎科技有限公司 | Method and device for sharing Class file by application and computing equipment |
CN109815156A (en) * | 2019-02-28 | 2019-05-28 | 北京百度网讯科技有限公司 | Displaying test method, device, equipment and the storage medium of visual element in the page |
CN110069399A (en) * | 2019-03-15 | 2019-07-30 | 平安普惠企业管理有限公司 | HTML5 packet installation testing method, device, computer equipment and storage medium |
CN110704270A (en) * | 2019-08-20 | 2020-01-17 | 北京奇艺世纪科技有限公司 | Zero-buried point data acquisition method and device, electronic equipment and storage medium |
CN110750463A (en) * | 2019-10-29 | 2020-02-04 | 百度在线网络技术(北京)有限公司 | Applet testing method, device, system, equipment and medium |
CN112765008A (en) * | 2019-11-01 | 2021-05-07 | 腾讯科技(深圳)有限公司 | Functional application testing method, device, equipment and storage medium |
CN112765008B (en) * | 2019-11-01 | 2024-06-04 | 腾讯科技(深圳)有限公司 | Function application testing method, device, equipment and storage medium |
CN111597110A (en) * | 2020-04-27 | 2020-08-28 | 五八有限公司 | Page testing method and device, electronic equipment and storage medium |
CN111597110B (en) * | 2020-04-27 | 2024-02-27 | 五八有限公司 | Page test method and device, electronic equipment and storage medium |
CN112685269A (en) * | 2020-12-21 | 2021-04-20 | 北京达佳互联信息技术有限公司 | Data acquisition method and device, electronic equipment and storage medium |
WO2022134582A1 (en) * | 2020-12-21 | 2022-06-30 | 深圳壹账通智能科技有限公司 | Browser page test method and apparatus, computer device, and storage medium |
CN114691496A (en) * | 2022-03-02 | 2022-07-01 | 阿里巴巴(中国)有限公司 | Unit testing method, unit testing device, computing equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN108536594B (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536594A (en) | Page test method, device and storage device | |
CN109582579B (en) | Application program testing method and device, electronic equipment and storage medium | |
CN108345543B (en) | Data processing method, device, equipment and storage medium | |
CN108519945A (en) | Coverage rate test method, apparatus and storage device | |
CN105528297A (en) | Method and device for testing web page | |
CN105630685A (en) | Method and device for testing program interface | |
CN105404585A (en) | Method and apparatus for acquiring code coverage rate | |
CN111078556B (en) | Application testing method and device | |
CN106708676A (en) | Interface test method and apparatus | |
CN107329781A (en) | The hot restorative procedure of software, terminal, system and computer-readable recording medium | |
CN105389259B (en) | A kind of method, apparatus and system for carrying out Application testing | |
CN106649126A (en) | Method and apparatus for testing application program | |
CN104166646B (en) | A kind of method and apparatus for inputting uniform resource locator | |
CN106789866B (en) | A kind of method and device detecting malice network address | |
CN105955597A (en) | Method and device for displaying information | |
CN110445746A (en) | Cookie acquisition methods, device and storage equipment | |
CN105740419A (en) | Method and apparatus for acquiring dynamically loaded content in webpage | |
CN106681884B (en) | A kind of monitoring method and device of system calling | |
CN110489679A (en) | A kind of processing method of browser kernel, device and storage medium | |
CN108268232A (en) | A kind of image display method, device, system and storage medium | |
CN108984374A (en) | A kind of test method and system of database performance | |
CN108959062B (en) | Webpage element acquisition method and device | |
CN110347578A (en) | A kind of test method of application, device and storage medium | |
CN105631059A (en) | Data processing method, data processing device and data processing system | |
CN107967203A (en) | Function decision method and device based on executable file |
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 |