CN110175117A - Test method, system, device, terminal and readable storage medium storing program for executing - Google Patents

Test method, system, device, terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110175117A
CN110175117A CN201910370698.9A CN201910370698A CN110175117A CN 110175117 A CN110175117 A CN 110175117A CN 201910370698 A CN201910370698 A CN 201910370698A CN 110175117 A CN110175117 A CN 110175117A
Authority
CN
China
Prior art keywords
test
application
interface
terminal
measured
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910370698.9A
Other languages
Chinese (zh)
Inventor
范胜利
谢后乐
华晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner Technology 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 Allwinner Technology Co Ltd filed Critical Allwinner Technology Co Ltd
Priority to CN201910370698.9A priority Critical patent/CN110175117A/en
Publication of CN110175117A publication Critical patent/CN110175117A/en
Pending legal-status Critical Current

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/3696Methods or tools to render software testable

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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a kind of test method, system, device, terminal and readable storage medium storing program for executing, this method comprises: receiving the test instruction for carrying application identities;The test instruction is used to indicate first terminal and tests application to be measured;User interface UI test is carried out to the application to be measured according to test instruction, obtains UI test result;The UI test includes not supporting and supporting;If the UI test calls Applied layer interface to carry out interface testing to the application to be measured, obtains interface testing result not support.This method can be realized the combination of UI test and interface testing, makes up the deficiency of UI test, improves the testing efficiency to application to be measured.

Description

Test method, system, device, terminal and readable storage medium storing program for executing
Technical field
The present invention relates to testing fields, more particularly to a kind of test method, system, device, terminal and readable storage medium Matter.
Background technique
Automatic test function library (Uiautomator) is the automated test tool of Google exploitation, by user circle Face (User Interface, UI) creates automatic test code, carrys out the effective efficiency of test interface, can be directed to application program It operates in one or more equipment.Currently, the Uiautomator automated test frame of Google is applied more and more Into Android UI automatic test.
In traditional technology, Uiautomator automated test frame can handle most UI operation, but for some spies Different scene, such as some time point of multimedia video fast forward to film source or detection screen intensity and sound in system whether It comes into force, is controlled with UI and realize that difficulty is larger.
Therefore, for the test of some special screnes, operated using UI in the prior art realize difficulty is larger, efficiency compared with It is low.
Summary of the invention
Based on this, it is necessary to for the test in the prior art for some special screnes, use UI in the prior art Difficulty is larger, efficiency is lower problem is realized in operation, provides a kind of test method, system, device, terminal and readable storage medium Matter.
In a first aspect, the embodiment of the present invention provides a kind of test method, which comprises
Receive the test instruction for carrying application identities;The test instruction is used to indicate first terminal and carries out to application to be measured Test;
User interface UI test is carried out to the application to be measured according to test instruction, obtains UI test result;It is described UI test includes not supporting and supporting;
If the UI test is called Applied layer interface to carry out interface testing to the application to be measured, is obtained not support Interface testing result.
The calling Applied layer interface carries out interface testing to the application to be measured in one of the embodiments, obtains Interface testing result, comprising:
According to the corresponding relationship between application identities and interface, determine that the application identities carried in the test instruction are corresponding Target application layer interface;
It calls the target application layer interface to carry out interface testing to the application to be measured, obtains the interface testing knot Fruit.
It is described in one of the embodiments, that the target application layer interface is called to carry out interface survey to the application to be measured Examination, obtains the interface testing result, comprising:
The interface testing instruction for carrying the interface identifier of the target application layer is sent to second terminal;The interface testing Instruction is used to indicate the second terminal and carries out interface testing to the application to be measured;
Receive the interface testing result that the second terminal is sent.
It is described in one of the embodiments, that user interface UI survey is carried out to the application to be measured according to test instruction Examination, comprising:
It is instructed according to the test, calls the corresponding test script of the application to be measured, UI is carried out to the application to be measured Test, obtains the UI test result.
Second aspect, the embodiment of the present invention provide a kind of test macro, the system comprises: computer equipment and first is eventually End;Wherein,
The computer equipment is used to send the test instruction for carrying application identities;The test instruction is used to indicate first Terminal tests application to be measured;
The first terminal carries out UI to the application to be measured for receiving the test instruction, according to test instruction Test obtains UI test result;The UI test includes not supporting and supporting;If the UI test is does not support, calling is answered Interface testing is carried out to the application to be measured with layer interface, obtains interface testing result.
The first terminal is specifically used for according to the corresponding pass between application identities and interface in one of the embodiments, System determines the corresponding target application layer interface of application identities carried in the test instruction, the target application layer is called to connect Mouth carries out interface testing to the application to be measured, obtains the interface testing result.
The system also includes second terminals in one of the embodiments,;
The first terminal is specifically used for sending the interface identifier for carrying the target application layer to the second terminal Interface testing instruction, and receive the interface testing result that the second terminal is sent;The interface testing instruction is for referring to Show that the second terminal carries out interface testing to the application to be measured.
The second terminal is specifically used for being instructed according to the interface testing in one of the embodiments, described in calling The target application layer interface of second terminal carries out interface testing to the application to be measured, obtains the interface testing result.
The first terminal is specifically used for being instructed according to the test in one of the embodiments, calls described to be measured Using corresponding test script, UI test is carried out to the application to be measured, obtains the UI test result.
The third aspect, the embodiment of the present invention provide a kind of test device, and described device includes:
Receiving module, for receiving the test instruction for carrying application identities;The test instruction is used to indicate first terminal Application to be measured is tested;
First test module is obtained for carrying out user interface UI test to the application to be measured according to test instruction Take UI test result;The UI test includes not supporting and supporting;
Second test module, if calling Applied layer interface to the application to be measured not support for UI test Interface testing is carried out, interface testing result is obtained.
Fourth aspect, the embodiment of the present invention provide a kind of terminal, including memory and processor, and the memory is stored with Computer program, the processor realize the test method that first aspect provides when executing the computer program.
5th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, The test method that first aspect provides is realized when the computer program is executed by processor.
Test method, system, device, terminal and readable storage medium storing program for executing provided by the above embodiment, first terminal reception are taken Test instruction with application identities carries out UI test to application to be measured according to the test instruction received, obtains UI test result, If UI test calls Applied layer interface to carry out interface testing to application to be measured, obtains interface testing result not support.Due to First terminal can carry out UI test to application to be measured according to the test instruction received, UI test result be obtained, to be measured Applied layer interface can be called to carry out interface testing to application to be measured, obtained using UI test can not be carried out when UI test is not supported Interface testing is taken as a result, carrying out test hardly possible to application to be measured using UI test by solving to application to be measured progress interface testing Larger problem is spent, can be realized the combination of UI test and interface testing, the deficiency of UI test is made up, improves to application to be measured Testing efficiency.
Detailed description of the invention
Fig. 1 is the applied environment figure for the test method that one embodiment provides;
Fig. 2 is the flow diagram for the test method that one embodiment provides;
Fig. 3 is the flow diagram for the test method that another embodiment provides;
Fig. 4 is the test macro schematic diagram that one embodiment provides;
Fig. 5 is the test macro schematic diagram that another embodiment provides;
Fig. 6 is the schematic structural diagram of testing device that one embodiment provides;
Fig. 7 is the schematic diagram of internal structure for the terminal that one embodiment provides.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Test method provided in an embodiment of the present invention can be applied in application environment as shown in Figure 1.The application environment In include computer equipment 110 and first terminal 120.Optionally, computer equipment 110 can pass through super with first terminal 120 File Transfer (Hyper Text Transfer Protocol, HTTP) agreement is communicated.Optionally, in the application environment also It may include second terminal 130.Optionally, first terminal 120 can be led to second terminal 130 by Socket agreement Letter.Optionally, computer equipment 110 can be server, can be personal computer (Personal Computer, PC), also It can be personal digital assistant, can also be other terminal devices, such as tablet computer (Portable android Device, PAD), mobile phone etc., can also be cloud or remote server.Optionally, first terminal 120 and second terminal 130 can integrate in the same terminal.
In traditional technology, Uiautomator automated test frame can handle most UI operation, but for some spies Different scene, such as some time point of multimedia video fast forward to film source or detection screen intensity and sound in system whether It comes into force, is controlled with UI and realize that difficulty is larger, efficiency is lower.For this purpose, the embodiment of the present invention provide a kind of test method, system, Device, terminal and readable storage medium storing program for executing, it is intended to solve the technical problem as above of traditional technology.
It should be noted that test method provided by the embodiments of the present application, executing subject can be test device, the survey Trial assembly is set can be implemented as some or all of of terminal by way of software, hardware or software and hardware combining.Following sides In method embodiment, it is illustrated so that executing subject is terminal as an example.
How technical solution of the present invention and technical solution of the present invention are solved with specific embodiment below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.
Fig. 2 is the flow diagram for the test method that one embodiment provides.What is involved is first terminals pair for the present embodiment Application to be measured is tested, and the specific implementation process of test result is obtained.As shown in Fig. 2, this method may include:
S201 receives the test instruction for carrying application identities;The test instruction is used to indicate first terminal and answers to be measured With being tested.
Specifically, first terminal receives the test instruction for carrying application identities.Wherein, test instruction is used to indicate first eventually Application to be measured is tested at end.Optionally, first terminal can be Android mobile phone, be also possible to Android TV, Android plate, Control etc. in smartwatch, vehicle intelligent.Optionally, application identities can be the ID coding of application to be measured, be also possible to be measured answer IP address.Optionally, application to be measured can be any one application on above-mentioned first terminal, for example, mobile phone house keeper, view Frequency player etc..Illustratively, test instruction can serve to indicate that first terminal tests video player, and test plays Whether the brightness of video fast forward to some time point screen of film source comes into force in system.
S202 carries out user interface UI test to the application to be measured according to test instruction, obtains UI test result; The UI test includes not supporting and supporting.
Specifically, the application identities carried according to test instruction are to application to be measured after first terminal receives test instruction User interface (User Interface, UI) test is carried out, UI test result is obtained.Wherein, UI test includes not supporting and propping up It holds.For example, first terminal is according to the test instruction pair received when starting and the shutoff operation of " setting " of test first terminal " setting " is tested, and then UI test is to support when test is completed;To the WLAN (Wireless of first terminal Fidelity, WIFI) switch operation when being tested, the switch operation of WIFI is surveyed according to the test instruction received Examination, then UI test is not support when being unable to complete the test.
S203 calls Applied layer interface to carry out interface testing to the application to be measured if UI test is not support, Obtain interface testing result.
Specifically, when UI test is not supported, then first eventually if above-mentioned carry out UI test to application to be measured according to test instruction End calls Applied layer interface to carry out interface testing to above-mentioned application to be measured, obtains interface testing result.Optionally, first terminal can To call Applied layer interface to carry out interface testing to above-mentioned application to be measured according to the application identities carried in test instruction.
In the present embodiment, since first terminal can carry out UI survey to application to be measured according to the test instruction received Examination obtains UI test result, application layer can be called to connect that can not carry out UI test when UI test is not supported to application to be measured Mouth carries out interface testing to application to be measured, obtains interface testing as a result, making by solving to application to be measured progress interface testing The larger problem of difficulty of test is carried out to application to be measured with UI test, the combination of UI test and interface testing is can be realized, makes up The deficiency of UI test, improves the testing efficiency to application to be measured.
Fig. 3 is the flow diagram for the test method that another embodiment provides.What is involved is first terminals for the present embodiment The specific implementation process of interface testing is carried out to application to be measured.As shown in figure 3, on the basis of the above embodiments, optionally, institute It states and Applied layer interface is called to carry out interface testing to the application to be measured, obtaining interface testing result may include:
S301 determines the application mark carried in the test instruction according to the corresponding relationship between application identities and interface Know corresponding target application layer interface.
Specifically, first terminal according to above-mentioned test instruct in corresponding relationship between the application identities carried and interface, Determine the corresponding target application layer interface of application identities carried in above-mentioned test instruction.Optionally, first terminal can basis Relationship library between the application identities pre-established and interface, the application identities carried from test instruction determining in the relationship library Corresponding target application layer interface.
S302 calls the target application layer interface to carry out interface testing to the application to be measured, obtains the interface and surveys Test result.
Specifically, after first terminal has determined the corresponding target application layer interface of application identities carried in test instruction, It calls the target application layer interface to carry out interface testing to above-mentioned application to be measured, obtains interface testing result.Optionally, first eventually End can send the interface testing instruction for carrying the interface identifier of target application layer to second terminal, indicate second terminal to be measured Using progress interface testing, and receive the test result of second terminal transmission.
In the present embodiment, first terminal determines in test instruction according to the corresponding relationship between application identities and interface It is corresponding to improve the application identities carried in determining test instruction for the corresponding target application layer interface of the application identities of carrying The accuracy of target application layer interface, and then improve and the target application layer interface is called to carry out interface testing to application to be measured Accuracy;In addition, can quickly determine that is carried in test instruction answers according to the corresponding relationship between application identities and interface With corresponding target application layer interface is identified, the efficiency of determining target application layer interface is improved, and then improves and calls the mesh Mark the efficiency that Applied layer interface carries out interface testing to application to be measured.
In the above-mentioned scene for carrying out UI test to application to be measured according to test instruction, on the basis of the above embodiments, As an alternative embodiment, described carry out user interface UI test to the application to be measured according to test instruction, Include: to be instructed according to the test, calls the corresponding test script of the application to be measured, UI survey is carried out to the application to be measured Examination, obtains the UI test result.
Specifically, first terminal receives the test instruction for carrying application identities, to be measured answer is called according to test instruction UI test is carried out with corresponding test script, obtains UI test result.Optionally, first terminal can be instructed according to test from pre- The test script first generated, which is concentrated, calls the corresponding test script of application to be measured to carry out UI operation.Optionally, UI test can wrap It includes: clicking operation, long press operation, slide, unlock operation, screen locking operation, the operation of transverse screen vertical screen display etc..
In the present embodiment, first terminal is instructed according to the test received, calls the corresponding test script of application to be measured Process very simple, improve using test script to application to be measured carry out UI test efficiency, can quickly obtain UI Test result, and then improve the efficiency tested application to be measured.
It should be understood that although each step in the flow chart of Fig. 2-3 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-3 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
Fig. 4 is the test macro schematic diagram that one embodiment provides.As shown in figure 4, the test macro includes: computer Equipment and first terminal;Wherein, the computer equipment is used to send the test instruction for carrying application identities;The test instruction First terminal is used to indicate to test application to be measured;The first terminal is for receiving the test instruction, according to described Test instruction carries out UI test to the application to be measured, obtains UI test result;The UI test includes not supporting and supporting;If The UI test then calls Applied layer interface to carry out interface testing to the application to be measured, obtains interface testing knot not support Fruit.
Optionally, computer equipment can be server, can be PC, can also be personal digital assistant, can also be Other terminal devices, such as PAD, mobile phone etc. can also be cloud or remote server.Optionally, computer equipment Http protocol can be used and send the test instruction for carrying application identities to first terminal.Optionally, first terminal can also be to Computer equipment sends UI test result.
Test macro provided in this embodiment, implementing principle and technical effect are similar with above method embodiment, herein It repeats no more.
On the basis of the above embodiments, as an alternative embodiment, the first terminal is specifically used for basis Corresponding relationship between application identities and interface determines the corresponding target application layer of application identities carried in the test instruction Interface calls the target application layer interface to carry out interface testing to the application to be measured, obtains the interface testing result.
Test macro provided in this embodiment, implementing principle and technical effect are similar with above method embodiment, herein It repeats no more.
Fig. 5 is the test macro schematic diagram that another embodiment provides.As shown in figure 5, on the basis of the above embodiments, As an alternative embodiment, the system also includes second terminals;The first terminal is specifically used for described second Terminal sends the interface testing instruction for carrying the interface identifier of the target application layer, and receives the institute that the second terminal is sent State interface testing result;The interface testing instruction is used to indicate the second terminal and carries out interface survey to the application to be measured Examination.
Specifically, above-mentioned test macro further includes second terminal, above-mentioned first terminal is specifically used for sending to second terminal The interface testing instruction of the interface identifier of target application layer is carried, and receives the interface testing result of second terminal transmission.Wherein, Interface testing instruction is used to indicate second terminal and carries out interface testing to application to be measured.Optionally, second terminal is specifically used for root It is instructed according to interface testing, the target application layer interface of second terminal is called to carry out interface testing to application to be measured, obtained interface and survey Test result.Optionally, first terminal can be used Socket agreement and send the interface mark for carrying target application layer to second terminal The interface testing of knowledge instructs.Optionally, second terminal can also be to first terminal transmission interface test result.
In the present embodiment, test macro further includes second terminal, and first terminal sends carrying target to second terminal and answers It is instructed with the interface testing of layer, second terminal is instructed according to the interface testing received, calls the target application layer of second terminal Interface to application to be measured carry out interface testing, obtain interface testing as a result, and interface testing result is sent to first terminal, by Interface testing can be carried out to application to be measured according to the interface testing instruction received in second terminal, solve and tested using UI The larger problem of difficulty of test is carried out to application to be measured, the combination of UI test and interface testing is realized, improves and answer to be measured Testing efficiency.
On the basis of the above embodiments, as an alternative embodiment, the first terminal is specifically used for basis The corresponding test script of the application to be measured is called in test instruction, UI test is carried out to the application to be measured, described in acquisition UI test result.
Test macro provided in this embodiment, implementing principle and technical effect are similar with above method embodiment, herein It repeats no more.
Fig. 6 is the schematic structural diagram of testing device that one embodiment provides.As shown in fig. 6, the apparatus may include: it receives Module 10, the first test module 11 and the second test module 12.
Specifically, receiving module 10, for receiving the test instruction for carrying application identities;The test instruction is used to indicate First terminal tests application to be measured;
First test module 11, for carrying out user interface UI test to the application to be measured according to test instruction, Obtain UI test result;The UI test includes not supporting and supporting;
Second test module 12, if calling Applied layer interface to the application to be measured not support for the test Interface testing is carried out, interface testing result is obtained.
Test device provided in this embodiment can execute above method embodiment, implementing principle and technical effect class Seemingly, details are not described herein.
Continuing with referring to Fig. 6, on the basis of the above embodiments, optionally, above-mentioned second test module 12 may include: Determination unit 121 and call unit 122.
Specifically, determination unit 121, for determining the test according to the corresponding relationship between application identities and interface The corresponding target application layer interface of the application identities carried in instruction;
Call unit 122 is obtained for calling the target application layer interface to carry out interface testing to the application to be measured The interface testing result.
Test device provided in this embodiment can execute above method embodiment, implementing principle and technical effect class Seemingly, details are not described herein.
Continuing with referring to Fig. 6, on the basis of the above embodiments, as an alternative embodiment, call unit 122 The interface testing instruction of the interface identifier of the target application layer is carried specifically for sending to second terminal;The interface testing Instruction is used to indicate the second terminal and carries out interface testing to the application to be measured;Receive the described of the second terminal transmission Interface testing result.
Test device provided in this embodiment can execute above method embodiment, implementing principle and technical effect class Seemingly, details are not described herein.
Continuing with referring to Fig. 6, on the basis of the above embodiments, as an alternative embodiment, the first test mould Block 11 is specifically used for being instructed according to the test, call it is described it is to be measured apply corresponding test script, to it is described it is to be measured apply into Row UI test, obtains the UI test result.
Test device provided in this embodiment can execute above method embodiment, implementing principle and technical effect class Seemingly, details are not described herein.
Specific about test device limits the restriction that may refer to above for test method, and details are not described herein. Modules in above-mentioned test device can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can It is embedded in the form of hardware or independently of the memory that in the processor in terminal, can also be stored in a software form in terminal In, the corresponding operation of the above modules is executed in order to which processor calls.
Test method provided in an embodiment of the present invention can be adapted for terminal as shown in Figure 7.The terminal includes passing through to be Processor, the memory of bus of uniting connection, are stored with computer program in the memory, when processor executes the computer program The step of following methods embodiment can be executed.Optionally, which can also include network interface, display screen and input dress It sets.Wherein, the processor of the terminal is for providing calculating and control ability.The memory of the terminal includes that non-volatile memories are situated between Matter, built-in storage, the non-volatile memory medium are stored with operating system and computer program.The built-in storage is non-volatile The operation of operating system and computer program in storage medium provides environment.The network interface of the terminal is used for and external end End passes through network connection communication.Optionally, which can be mobile phone, can also be other terminal devices, such as TV, PAD etc., the embodiment of the present invention is to the concrete form of terminal and without limitation.
In one embodiment, a kind of terminal, including memory and processor are provided, is stored with computer in memory Program, the processor perform the steps of when executing computer program
Receive the test instruction for carrying application identities;The test instruction is used to indicate first terminal and carries out to application to be measured Test;
User interface UI test is carried out to the application to be measured according to test instruction, obtains UI test result;It is described UI test includes not supporting and supporting;
If the UI test is called Applied layer interface to carry out interface testing to the application to be measured, is obtained not support Interface testing result.
Terminal provided by the above embodiment, implementing principle and technical effect are similar with above method embodiment, herein not It repeats again.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Receive the test instruction for carrying application identities;The test instruction is used to indicate first terminal and carries out to application to be measured Test;
User interface UI test is carried out to the application to be measured according to test instruction, obtains UI test result;It is described UI test includes not supporting and supporting;
If the UI test is called Applied layer interface to carry out interface testing to the application to be measured, is obtained not support Interface testing result.
Computer readable storage medium provided by the above embodiment, implementing principle and technical effect and the above method are implemented Example is similar, and details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, 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, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and 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 protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (12)

1. a kind of test method, which is characterized in that the described method includes:
Receive the test instruction for carrying application identities;The test instruction is used to indicate first terminal and surveys to application to be measured Examination;
User interface UI test is carried out to the application to be measured according to test instruction, obtains UI test result;The UI is surveyed Examination includes not supporting and supporting;
If the UI test calls Applied layer interface to carry out interface testing to the application to be measured, obtains interface not support Test result.
2. the method according to claim 1, wherein the calling Applied layer interface carries out the application to be measured Interface testing obtains interface testing result, comprising:
According to the corresponding relationship between application identities and interface, the corresponding mesh of application identities carried in the test instruction is determined Mark Applied layer interface;
It calls the target application layer interface to carry out interface testing to the application to be measured, obtains the interface testing result.
3. according to the method described in claim 2, it is characterized in that, described call the target application layer interface to described to be measured Using interface testing is carried out, the interface testing result is obtained, comprising:
The interface testing instruction for carrying the interface identifier of the target application layer is sent to second terminal;The interface testing instruction It is used to indicate the second terminal and interface testing is carried out to the application to be measured;
Receive the interface testing result that the second terminal is sent.
4. method according to claim 1-3, which is characterized in that it is described according to the test instruction to it is described to It surveys application and carries out user interface UI test, comprising:
It is instructed according to the test, calls the corresponding test script of the application to be measured, UI test is carried out to the application to be measured, Obtain the UI test result.
5. a kind of test macro, which is characterized in that the system comprises: computer equipment and first terminal;Wherein,
The computer equipment is used to send the test instruction for carrying application identities;The test instruction is used to indicate first terminal Application to be measured is tested;
The first terminal carries out UI survey to the application to be measured for receiving the test instruction, according to test instruction Examination obtains UI test result;The UI test includes not supporting and supporting;If the UI test calls application not support Layer interface carries out interface testing to the application to be measured, obtains interface testing result.
6. system according to claim 5, which is characterized in that the first terminal be specifically used for according to application identities with connect Corresponding relationship between mouthful determines the corresponding target application layer interface of application identities carried in the test instruction, calls institute It states target application layer interface and interface testing is carried out to the application to be measured, obtain the interface testing result.
7. according to the described in any item systems of claim 5-6, which is characterized in that the system also includes second terminals;
The first terminal is specifically used for sending the interface for carrying the interface identifier of the target application layer to the second terminal Test instruction, and receive the interface testing result that the second terminal is sent;The interface testing instruction is used to indicate institute It states second terminal and interface testing is carried out to the application to be measured.
8. system according to claim 7, which is characterized in that the second terminal is specifically used for according to the interface testing Instruction calls the target application layer interface of the second terminal to carry out interface testing to the application to be measured, obtains the interface Test result.
9. system according to claim 5, which is characterized in that the first terminal is specifically used for being referred to according to the test It enables, calls the corresponding test script of the application to be measured, UI test is carried out to the application to be measured, obtain the UI test knot Fruit.
10. a kind of test device, which is characterized in that described device includes:
Receiving module, for receiving the test instruction for carrying application identities;The test instruction is used to indicate first terminal and treats Application is surveyed to be tested;
First test module obtains UI for carrying out user interface UI test to the application to be measured according to test instruction Test result;The UI test includes not supporting and supporting;
Second test module, if calling Applied layer interface to carry out the application to be measured not support for UI test Interface testing obtains interface testing result.
11. a kind of terminal, including memory and processor, the memory are stored with computer program, which is characterized in that described Processor realizes the step of any one of claim 1-4 the method when executing the computer program.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method of any of claims 1-4 is realized when being executed by processor.
CN201910370698.9A 2019-05-06 2019-05-06 Test method, system, device, terminal and readable storage medium storing program for executing Pending CN110175117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910370698.9A CN110175117A (en) 2019-05-06 2019-05-06 Test method, system, device, terminal and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910370698.9A CN110175117A (en) 2019-05-06 2019-05-06 Test method, system, device, terminal and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN110175117A true CN110175117A (en) 2019-08-27

Family

ID=67691053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910370698.9A Pending CN110175117A (en) 2019-05-06 2019-05-06 Test method, system, device, terminal and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN110175117A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704304A (en) * 2019-09-06 2020-01-17 平安普惠企业管理有限公司 Application program testing method and device, storage medium and server
CN111736815A (en) * 2020-06-28 2020-10-02 武汉精立电子技术有限公司 Test file script modular development tool, system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598380A (en) * 2015-01-16 2015-05-06 广东欧珀移动通信有限公司 Method and system for automatic testing based on control
CN104951397A (en) * 2014-05-16 2015-09-30 腾讯科技(深圳)有限公司 Mobile equipment testing method, mobile equipment testing device, mobile equipment testing server and mobile equipment testing system
CN107656874A (en) * 2017-11-07 2018-02-02 中国银行股份有限公司 A kind of interface test method, device, simulation baffle plate and system
CN109376088A (en) * 2018-10-24 2019-02-22 网宿科技股份有限公司 A kind of automatization test system and automated testing method
CN109408309A (en) * 2018-10-18 2019-03-01 北京海泰方圆科技股份有限公司 The test method and device of multiple terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951397A (en) * 2014-05-16 2015-09-30 腾讯科技(深圳)有限公司 Mobile equipment testing method, mobile equipment testing device, mobile equipment testing server and mobile equipment testing system
CN104598380A (en) * 2015-01-16 2015-05-06 广东欧珀移动通信有限公司 Method and system for automatic testing based on control
CN107656874A (en) * 2017-11-07 2018-02-02 中国银行股份有限公司 A kind of interface test method, device, simulation baffle plate and system
CN109408309A (en) * 2018-10-18 2019-03-01 北京海泰方圆科技股份有限公司 The test method and device of multiple terminals
CN109376088A (en) * 2018-10-24 2019-02-22 网宿科技股份有限公司 A kind of automatization test system and automated testing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
悟空: "想说爱你不简单的UI自动化测试", 《HTTP://WWW.51TESTING.COM/HTML/59/N-3722959.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704304A (en) * 2019-09-06 2020-01-17 平安普惠企业管理有限公司 Application program testing method and device, storage medium and server
CN111736815A (en) * 2020-06-28 2020-10-02 武汉精立电子技术有限公司 Test file script modular development tool, system and method

Similar Documents

Publication Publication Date Title
CN111159049B (en) Automatic interface testing method and system
CN106021095B (en) A kind of Android application automated testing method based on push-mechanism
US11366738B2 (en) System to determine performance based on entropy values
CN108132850B (en) Code positioning method and device and electronic equipment
CN104503780A (en) Method and device for providing application channel packet
CN104581785A (en) Wireless network testing method, testing device and mobile terminal
CN113672441B (en) Method and device for testing intelligent equipment
US10320650B2 (en) Testing a network using a communication device
CN110175117A (en) Test method, system, device, terminal and readable storage medium storing program for executing
CN110149363A (en) A kind of information push method, device and storage medium
CN106658545A (en) Test method, mobile terminal and server
CN104965778A (en) Method and device for game test
CN104618316A (en) Method, device and system of safety verification
CN107302476A (en) A kind of automated testing method and system for testing asynchronous interactive system
CN109327355A (en) Cloud storage system performance evaluation methodology, device and computer readable storage medium
CN112333057A (en) Intelligent household equipment distribution network testing method and device, execution machine and storage medium
CN109753428A (en) Service test method, device, computer equipment and readable storage medium storing program for executing
CN109711972A (en) Contract generation method, device, equipment and readable storage medium storing program for executing
CN103052068B (en) A kind of intelligent terminal security protection method of testing and system
CN109344051B (en) Data processing method and device, electronic equipment and storage medium
CN104834586B (en) Android interface automation test method, apparatus and system
CN109922484A (en) A kind of test method and test device
CN110505352B (en) Call quality testing method, system, computer device and computer storage medium
CN111736893B (en) Software package version verification method and related device
CN109979444A (en) Voice instruction automatic testing method, terminal and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190827

RJ01 Rejection of invention patent application after publication