CN107102950A - A kind of applied program testing method and device - Google Patents
A kind of applied program testing method and device Download PDFInfo
- Publication number
- CN107102950A CN107102950A CN201710537539.4A CN201710537539A CN107102950A CN 107102950 A CN107102950 A CN 107102950A CN 201710537539 A CN201710537539 A CN 201710537539A CN 107102950 A CN107102950 A CN 107102950A
- Authority
- CN
- China
- Prior art keywords
- operational order
- tested
- ios
- equipment
- ios equipment
- 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
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/3688—Test management for test execution, e.g. scheduling of test suites
Abstract
This application discloses a kind of applied program testing method and device, methods described includes:Determine to perform the first operational order of test operation to the application program of ios equipment to be tested in test platform, the ios equipment to be tested is the mobile terminal of deployment ios operating systems;First operational order is converted into the second operational order of the ios equipment accreditation to be tested, second operational order is used to indicate that the ios equipment to be tested performs the test operation corresponding with first operational order;Second operational order is sent to the ios equipment to be tested.The method and apparatus of the embodiment of the present application by the operational order in test platform by being converted into the operational order that ios equipment to be tested is approved, to provide the remote testing service for ios equipment.
Description
Technical field
The application is related to technical field of measurement and test, more particularly to a kind of applied program testing method and device.
Background technology
With mobile terminal fragmentation (developer need to for different editions operating system and different hardware configurations movement
Terminal carry out apply adaptation) degree more and more higher and complexity mobile network's situation, the importance of remote testing service (RTS)
Increasingly protrude.
RTS refers to that test platform provides remote testing prototype for developer/tester, is then based on developer/test
The operational order that personnel perform in the man-machine interface of test platform to the virtual interface of remote testing prototype, for example:Install simultaneously
Test application, the automatic operating of correspondence script on remote testing prototype is realized using automation framework, to complete opening for application
Hair/test job.
The scheme of prior art, it is impossible to realize the remote testing service for ios equipment.
The content of the invention
In view of this, the embodiment of the present application provides a kind of applied program testing method and device, to solve existing survey
The problem of remote testing that examination platform can not be provided for ios equipment is serviced.
The embodiment of the present application provides a kind of applied program testing method, including:
Determine to perform the first operational order of test operation, institute to the application program of ios equipment to be tested in test platform
State mobile terminal of the ios equipment to be tested for deployment ios operating systems;
First operational order is converted into the second operational order of the ios equipment accreditation to be tested, described second
Operational order is used to indicate that the ios equipment to be tested performs the test operation corresponding with first operational order;
Second operational order is sent to the ios equipment to be tested.
Optionally, second operation that first operational order is converted into the ios equipment accreditation to be tested refers to
Order includes:
The retransmission protocol of shell-kernel of the ios device operating systems to be tested is obtained, the retransmission protocol is shell
The operational order received is changed into the agreement that the operational order of kernel services can be called to be deferred to;
First operational order is recorded as by corresponding script based on the retransmission protocol, the second operational order is formed.
Optionally, second operational order is being sent to the ios equipment to be tested, methods described is also wrapped
Include:
Determine that the ios equipment to be tested performs the packet of the second operational order generation;
The packet is sent to the test platform, to update the operation interface of the test platform, the operation
Interface is used to perform test operation to ios equipment to be tested.
Optionally, the packet for determining the ios equipment execution to be tested second operational order generation includes:
According to the default sampling period, the interface sectional drawing of the ios equipment to be tested is gathered, the interface sectional drawing is used to show
The man-machine interface of the ios equipment;
Contrast the first interface sectional drawing of present sample time point collection and the second contact surface of point of previous sampling time collection is cut
Figure, if contrast knows that first interface sectional drawing changes relative to the second contact surface sectional drawing, it is determined that by described first
Interface sectional drawing is added in packet.
Optionally, first operational order is the test platform according to the test operation performed in the operation interface
Corresponding Action Events generation, wherein, the Action Events include:Long-press, dragging, click, double-click or virtual key.
The embodiment of the present application also provides a kind of Application testing device, including:
Determining unit, for determining to perform the application program of ios equipment to be tested in test platform test operation
One operational order, the ios equipment to be tested is the mobile terminal of deployment ios operating systems;
Conversion unit, the second operation for first operational order to be converted into the ios equipment accreditation to be tested
Instruction, second operational order is used to indicate that the ios equipment execution to be tested is corresponding with first operational order
Test operation;
Transmitting element, for second operational order to be sent to the ios equipment to be tested.
The embodiment of the present application also provides a kind of Application testing device, including:Memory and processor, wherein:
Memory, for depositing program;
Processor, for performing the program of the memory storage, and is specifically performed:
Determine to perform the first operational order of test operation, institute to the application program of ios equipment to be tested in test platform
State mobile terminal of the ios equipment to be tested for deployment ios operating systems;
First operational order is converted into the second operational order of the ios equipment accreditation to be tested, described second
Operational order is used to indicate that the ios equipment to be tested performs the test operation corresponding with first operational order;
Second operational order is sent to the ios equipment to be tested.
The embodiment of the present application also provides a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs is performed so that described
Electronic equipment performs following methods:
Determine to perform the first operational order of test operation, institute to the application program of ios equipment to be tested in test platform
State mobile terminal of the ios equipment to be tested for deployment ios operating systems;
First operational order is converted into the second operational order of the ios equipment accreditation to be tested, described second
Operational order is used to indicate that the ios equipment to be tested performs the test operation corresponding with first operational order;
Second operational order is sent to the ios equipment to be tested.
At least one above-mentioned technical scheme that the embodiment of the present application is used can reach following beneficial effect:
Based on test operation is performed to the application program of ios equipment to be tested in test platform, corresponding first behaviour is determined
Instruct, then the first operational order is converted into the second operational order of ios equipment accreditation to be tested, by the second operational order
Send to ios equipment to be tested so that ios equipment to be tested calls corresponding application program according to the second operational order, to hold
The row test operation corresponding with first operational order, so that test platform can provide the remote testing for ios equipment
Service.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen
Schematic description and description please is used to explain the application, does not constitute the improper restriction to the application.In the accompanying drawings:
A kind of application scenario diagram for applied program testing method that Fig. 1 provides for the embodiment of the present application;
A kind of schematic flow sheet for applied program testing method that Fig. 2 provides for the embodiment of the application one;
A kind of schematic flow sheet for applied program testing method that Fig. 3 provides for another embodiment of the application;
The schematic diagram of the operation interface for the terminal device that Fig. 4 provides for the embodiment of the present application;
A kind of structural representation for Application testing device that Fig. 5 provides for the embodiment of the application one;
The schematic configuration diagram for a kind of electronic equipment that Fig. 6 provides for the embodiment of the present application;
A kind of structural representation for Application testing device that Fig. 7 provides for the embodiment of the application one.
Embodiment
In order to realize the purpose of the application, the embodiment of the present application provides a kind of applied program testing method and device, should
Method includes:Based on the test operation performed in test platform to the application program of ios equipment to be tested, corresponding first is determined
First operational order, is then converted into the second operational order of ios equipment accreditation to be tested, the second operation is referred to by operational order
Order is sent to ios equipment to be tested so that ios equipment to be tested calls corresponding application program according to the second operational order, with
The test operation corresponding with first operational order is performed, so that test platform can provide the long-range survey for ios equipment
Examination service.
First, the application scenarios of the application are illustrated referring to Fig. 1:It is connected with test platform 120 multiple mobile whole
End 130, for example:Mobile phone, tablet personal computer of Android and/or ios operating systems etc., in the application program to mobile terminal to be tested
When performing test operation, user logs in test platform 120 by the browser on terminal device 110, and initiates access request, surveys
Examination platform 120 response access request simultaneously returns to related data, to show operation circle of test platform 120 on the page of browser
Face.User selects the mobile terminal to be tested of corresponding type, test platform based on " type " option shown in operation interface
120 selection instructions based on user return to the interface (interface sectional drawing) of mobile terminal to be tested, and are illustrated in the page of browser
On.User performs test operation on the interface of mobile terminal to be tested to application program, and test operation is exemplified as:Click on " logical
Letter record " application program, long-press " information " application program double-clicks " browser " application program etc..The monitoring users of terminal device 110
The corresponding Action Events of test operation are performed, and Action Events are sent to test platform 120.Test platform 120 will operate thing
Part is processed as corresponding operational order, and operational order is sent into processor 140, by processor 140 to operational order
Send into the prototype of mobile terminal to be tested and performed after reason.
Wherein, mobile terminal 1 30 can set up communication connection by USB or wirelessly with test platform 120.
Wherein, processor 140 can be specially mac mini.
Technical scheme is clearly and completely retouched with reference to the application specific embodiment and corresponding accompanying drawing
State.Obviously, described embodiment is only some embodiments of the present application, rather than whole embodiments.Based in the application
Embodiment, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made,
Belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
Embodiment 1
The remote testing service problem for ios equipment can not be provided in order to solve test platform in the prior art, referring to
Fig. 2, the embodiment of the present application 1 provides a kind of applied program testing method, and this method can be performed by the processor 140 shown in Fig. 1
Main body is realized, specifically includes following steps:
Step 210, determine to perform the application program of ios equipment to be tested in test platform the first operation of test operation
Instruction, the ios equipment to be tested is the mobile terminal of deployment ios operating systems.
It is understandable to be based on the description to the corresponding the application application scenario diagrams of Fig. 1, page of the user in terminal device
When the test operation to the application program in ios equipment to be tested is performed on face, the operation monitor of terminal device determines test
Corresponding Action Events are operated, then the server of test platform is concurrent based on corresponding first operational order of Action Events generation
Deliver in processor.
Step 220, the second operational order that first operational order is converted into the ios equipment to be tested accreditation,
Second operational order is used to indicate that the ios equipment to be tested performs the test behaviour corresponding with first operational order
Make.
It should be noted that the mobile terminal of different operating system, its test protocol approved is probably different, example
Such as:The test protocol that Android system and the mobile phone of ios operating systems are deferred to is different.Therefore, by the first operational order
Send to before ios equipment to be tested, in addition it is also necessary to grasped by processor based on the test protocol that ios equipment to be tested is approved by first
It is the second operational order to instruct " translation ".
Wherein, the first operational order and the second operational order are same or similar.Choosing is needed for " clicking ", " double-click " etc.
The operation that fetching sets the goal, the first operational order is identical with the second operational order, for example:Click " address list ", the first operation refers to
The coordinate of order operating point corresponding with the second operational order is in the coordinate range of the icon frame of " address list ".For " left
Draw ", the non-selected such as " right side draw " specify the operation of target, the first operational order is similar to the second operational order, for example:For " left
Draw " operation, the operation such as stroke starting point, stroke terminating point and the stroke track of the first operational order and the second operational order
The coordinate of point can be differed, and can be played a part of in rational coordinate range " drawing on a left side ".
" translation " principle is as follows:
Processor obtains the retransmission protocol of shell-kernel of ios device operating systems to be tested, and retransmission protocol will for shell
The operational order received changes into the agreement that the operational order of kernel services can be called to be deferred to;Will based on the retransmission protocol
First operational order is recorded as corresponding script, forms the second operational order.
In order to improve translation efficiency, processor can prestore the conventional corresponding script of the first operational order to database
In, for example:Corresponding script " will be clicked ", " double-click " corresponding script is encapsulated into database, when receive " clicking " or
After operational orders such as " double-clicks ", the corresponding script of operational order can be obtained by way of lookup.
Wherein, processor can extract the ios equipment institute according to the mark of ios equipment to be tested from pre-established database
The test protocol deferred to, for example:Type of the processor based on ios equipment to be tested extracts corresponding with the type from database
Test protocol.
Step 230, second operational order sent to ios equipment to be tested.
It should be noted that processor is sent out the second operational order by the interface with ios equipment to be tested between the two
Ios equipment to be tested is delivered to be performed.Due to the second operational order be according to the shells of ios device operating systems to be tested-
The retransmission protocol generation of kernel, therefore, the operating system of ios equipment to be tested approves the second operational order, and calls corresponding
Application program perform test operation.
It can be seen that, the present embodiment to the application program of ios equipment to be tested in the test platform by determination by performing test
First operational order of operation is converted into the second operational order of the operating system accreditation of ios equipment to be tested, it is to avoid to be tested
Ios equipment does not support the situation of the operational order of test platform forwarding, realizes that test platform provides the long-range survey for ios equipment
Try the purpose of service;Moreover, " translation " work based on processor, test platform can realize that the operation between ios equipment refers to
The forwarding of order, and then the scope for the mobile terminal that can carry out compatibility test can be effectively improved, and then improve compatibility test
Test effect.
Embodiment 2
The present invention design described in detail based on previous embodiment 1, for the ease of being better understood from the application's
Technical characteristic, means and effect, are described further to the applied program testing method of the application below, so as to form the application
Another embodiment.
Application testing process is similar to the Application testing process in embodiment 1 in the embodiment of the present application 2, implements
The some other step not made referrals in example 2 may refer to the associated description in embodiment 1, and here is omitted.
A kind of schematic flow sheet for applied program testing method that Fig. 3 provides for another embodiment of the application.This method can
Realized by processor, on the basis of embodiment, the present embodiment also comprises the following steps:
Step 310, the packet for determining the ios equipment execution to be tested second operational order generation;
It should be noted that ios equipment to be tested is when performing the second operational order, the interface of ios equipment to be tested can
Can occur corresponding change.For example:" address list " corresponding operational order is clicked in execution, then the interface of ios equipment to be tested
" address list " corresponding content can be shown.Correspondingly, if the interface that processor detects ios equipment to be tested changes, example
Such as:Interface jumps to the interface of " address list " from former interface, then the interface after collection change and packing.
In addition, after ios equipment to be tested performs the second operational order, the operation of acquisition interface sectional drawing can be one and hold
The action of continuous property, for example:After the operational order for performing " drawing on a left side ", occur in that " clock " is applied on the interface of ios equipment to be tested
Program, due to the presence of dynamic icon elements in " clock " application program, therefore, " clock " application program is to be continually changing
's.It is embodied in operation interface, then is that " clock " is continuous " taking the needle " over time.Therefore, processor will routinely be gathered and treated
Test the interface sectional drawing of ios equipment and sent in the form of packet to test platform, until the interface of ios equipment to be tested is not
Change again.
It is preferred that the step of determining packet can be specially:
According to the default sampling period, the interface sectional drawing of the ios equipment to be tested is gathered, the interface sectional drawing is used to show
The man-machine interface of the ios equipment, so that developer/tester carries out test operation on the sectional drawing of interface;
Contrast the first interface sectional drawing of present sample time point collection and the second contact surface of point of previous sampling time collection is cut
Figure, if contrast knows that first interface sectional drawing changes relative to the second contact surface sectional drawing, it is determined that by described first
Interface sectional drawing is added in packet.
Step 320, the packet sent to the test platform, to update the operation interface of the test platform,
The operation interface is used to perform test operation to ios equipment to be tested.
With reference to Fig. 4, it is necessary to which explanation, test platform receives after packet, packet is parsed, obtain and perform
The interface sectional drawing 430 of ios equipment to be tested after " address list " operational order, and the behaviour that will be illustrated on the terminal device page 410
The former interface for making interface 420 replaces with " address list " corresponding interface sectional drawing 430.
Or, the interface sectional drawing 430 being continually changing with " clock " is obtained, and constantly updated in operation interface 420
The interface sectional drawing 430 of ios equipment to be tested.
It is understandable to be, from " address list " icon in user click operation interface, " communication is shown to operation interface
Time interval between the content of record " is very short, and user is actually that the object for being difficult to perceive operation is ios equipment to be tested
Interface sectional drawing.
It can be seen that, the present embodiment by routinely detecting the interface of ios equipment to be tested, with when interface changes and
When the interface sectional drawing after change is back to test platform, and then the interface sectional drawing after change was sent to end by test platform
It is shown in the page in end equipment, so that user understands the implementation effect and interface true effect of test operation in time, tool
It is improved the advantage of testing efficiency.
Embodiment 3
A kind of schematic flow sheet for Application testing device that Fig. 5 provides for the embodiment of the application one, should referring to Fig. 5
Device includes:Determining unit 510, conversion unit 520 and transmitting element 530, wherein:
Determining unit 510, for determining to perform test operation to the application program of ios equipment to be tested in test platform
First operational order, the ios equipment to be tested is the mobile terminal of deployment ios operating systems;
Conversion unit, the second operation for first operational order to be converted into the ios equipment accreditation to be tested
Instruction 520, second operational order is used to indicate that the ios equipment execution to be tested is corresponding with first operational order
Test operation;
Transmitting element 530, for second operational order to be sent to the ios equipment to be tested.
It should be noted that determining unit 510 is based on the interaction with test platform, the first operational order is determined, and by
One operational order is sent to conversion unit 520, and first operational order is converted into the second operational order by conversion unit 520, and
Second operational order is sent to transmitting element 530, transmitting element 530 sends the second operational order to ios equipment to be tested.
The operation principle to each functional unit in the present embodiment is described in detail below:
Conversion unit 520, the retransmission protocol of shell-kernel for obtaining the ios device operating systems to be tested, institute
State retransmission protocol and the operational order received is changed into the agreement that the operational order of kernel services can be called to defer to by shell;
First operational order is recorded as by corresponding script based on the retransmission protocol, the second operational order is formed.
Transmitting element 530, is additionally operable to determine the data that the ios equipment to be tested performs the second operational order generation
Bag;The packet is sent to the test platform, to update the operation interface of the test platform, the operation interface is used
In to ios equipment to be tested execution test operation.
Transmitting element 530, it is described for according to the default sampling period, gathering the interface sectional drawing of the ios equipment to be tested
Interface sectional drawing is used for the man-machine interface for showing the ios equipment;Contrast present sample time point collection the first interface sectional drawing and
The second contact surface sectional drawing of previous sampling time point collection, if contrast knows first interface sectional drawing relative to the second contact surface
Sectional drawing is changed, it is determined that first interface sectional drawing is added in packet.
First operational order is that the test platform is given birth to according to the test operation event performed in the operation interface
Into, wherein, the Action Events include:Long-press, dragging, click, double-click or virtual key.
It can be seen that, the present embodiment to the application program of ios equipment to be tested in the test platform by determination by performing test
First operational order of operation is converted into the second operational order of the operating system accreditation of ios equipment to be tested, so that test is flat
Platform can provide the remote testing service for ios equipment.
Embodiment 4
The schematic configuration diagram for a kind of electronic equipment that Fig. 6 provides for the embodiment of the present application.As shown in fig. 6, in hardware view,
The electronic equipment includes processor, internal bus, network interface, internal memory and nonvolatile memory, is also possible that certainly
Hardware required for other business.Then processor reads corresponding computer program into internal memory from nonvolatile memory
Operation, forms Application testing device on logic level.Certainly, in addition to software realization mode, the application is not arranged
Except other implementations, such as the mode of logical device or software and hardware combining etc., that is to say, that following handling process is held
Row main body is not limited to each logic unit or hardware or logical device.
A kind of structural representation for Application testing device that Fig. 7 provides for the embodiment of the present application.The device 700 can be wrapped
Include:Channel interface 701 and processor 702, alternatively, including memory 703, the processing wherein shown in processor 702 and Fig. 1
Device 140 is corresponding.
Channel interface 701, processor 702 and memory 703 can be connected with each other by the system of bus 704.Bus 704 can
To be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of representing, only represented in Fig. 7 with a four-headed arrow, it is not intended that only one bus or a type of
Bus.
Alternatively, including memory 703, for depositing program.Specifically, program can include program code, the journey
Sequence code includes computer-managed instruction.Memory 703 can include read-only storage and random access memory, and to processing
Device 702 provides instruction and data.Memory 703 may comprising high-speed random access memory (Random-Access Memory,
RAM), it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least 1 magnetic disk storage.
Processor 702, for performing following operation, alternatively, performs the program that memory 703 is deposited, and specifically use
Operated below performing:
Determine to perform the first operational order of test operation, institute to the application program of ios equipment to be tested in test platform
State mobile terminal of the ios equipment to be tested for deployment ios operating systems;
First operational order is converted into the second operational order of the ios equipment accreditation to be tested, described second
Operational order is used to indicate that the ios equipment to be tested performs the test operation corresponding with first operational order;
Second operational order is sent to the ios equipment to be tested.
Application testing device or manager disclosed in the above-mentioned illustrated embodiment such as the application Fig. 2-3 and Fig. 5-6
(Master) method that node is performed can apply in processor 702, or be realized by processor 702.Processor 702 may
It is a kind of IC chip, the disposal ability with signal.In implementation process, each step of the above method can pass through place
Manage the integrated logic circuit of the hardware in device 702 or the instruction of software form is completed.Above-mentioned processor 702 can be general
Processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network
Processor, NP) etc.;Can also be digital signal processor (Digital Signal Processor, DSP), it is special integrated
Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present application.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the embodiment of the present application institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 703, processor 702 reads the information in memory 703, the step of completing the above method with reference to its hardware.
Application testing device 700 can also carry out Fig. 2 method, and realize the method that manager's node is performed.
Embodiment 5
Present embodiments provide a kind of computer-readable recording medium, the computer-readable recording medium storage one or
Multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs is performed so that the electronics
Equipment performs following methods:
Determine to perform the first operational order of test operation, institute to the application program of ios equipment to be tested in test platform
State mobile terminal of the ios equipment to be tested for deployment ios operating systems;
First operational order is converted into the second operational order of the ios equipment accreditation to be tested, described second
Operational order is used to indicate that the ios equipment to be tested performs the test operation corresponding with first operational order;
Second operational order is sent to the ios equipment to be tested.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So
And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic
Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity,
Or realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, commodity or the equipment of element.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art
For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.
Claims (12)
1. a kind of applied program testing method, it is characterised in that including:
Determine to perform the first operational order of test operation to the application program of ios equipment to be tested in test platform, it is described to treat
Test mobile terminal of the ios equipment for deployment ios operating systems;
First operational order is converted into the second operational order of the ios equipment accreditation to be tested, second operation
Instruct for indicating that the ios equipment to be tested performs the test operation corresponding with first operational order;
Second operational order is sent to the ios equipment to be tested.
2. according to the method described in claim 1, it is characterised in that it is described first operational order is converted into it is described to be measured
Second operational order of examination ios equipment accreditations includes:
The retransmission protocol of shell-kernel of the ios device operating systems to be tested is obtained, the retransmission protocol is that shell will connect
The operational order received changes into the agreement that the operational order of kernel services can be called to be deferred to;
First operational order is recorded as by corresponding script based on the retransmission protocol, the second operational order is formed.
3. method according to claim 2, it is characterised in that sent by second operational order to described to be tested
After ios equipment, methods described also includes:
Determine that the ios equipment to be tested performs the packet of the second operational order generation;
The packet is sent to the test platform, to update the operation interface of the test platform, the operation interface
For performing test operation to ios equipment to be tested.
4. method according to claim 3, it is characterised in that the determination ios equipment to be tested performs described the
The packet of two operational orders generation includes:
According to the default sampling period, the interface sectional drawing of the ios equipment to be tested is gathered, the interface sectional drawing is described for showing
The man-machine interface of ios equipment;
The first interface sectional drawing of present sample time point collection and the second contact surface sectional drawing of point of previous sampling time collection are contrasted, if
Contrast knows that first interface sectional drawing changes relative to the second contact surface sectional drawing, it is determined that cut first interface
Figure is added in packet.
5. method according to claim 3, it is characterised in that first operational order is the test platform according to institute
The corresponding Action Events generation of the test operation performed in operation interface is stated, wherein, the Action Events include:Long-press, drag
Drag, click on, double-clicking or virtual key.
6. a kind of Application testing device, it is characterised in that including:
Determining unit, for determining to perform the first behaviour of test operation to the application program of ios equipment to be tested in test platform
Instruct, the ios equipment to be tested is the mobile terminal of deployment ios operating systems;
Conversion unit, the second operational order for first operational order to be converted into the ios equipment accreditation to be tested,
Second operational order is used to indicate that the ios equipment to be tested performs the test behaviour corresponding with first operational order
Make;
Transmitting element, for second operational order to be sent to the ios equipment to be tested.
7. device according to claim 6, it is characterised in that the conversion unit, sets for obtaining the ios to be tested
The retransmission protocol of shell-kernel of standby operating system, the retransmission protocol changes into the operational order received for shell can
The agreement for calling the operational order of kernel services to be deferred to;First operational order is recorded as pair based on the retransmission protocol
The script answered, forms the second operational order.
8. device according to claim 7, it is characterised in that the transmitting element, is additionally operable to determine the ios to be tested
Equipment performs the packet of the second operational order generation;The packet is sent to the test platform, to update
The operation interface of test platform is stated, the operation interface is used to perform test operation to ios equipment to be tested.
9. device according to claim 8, it is characterised in that the transmitting element, for according to the default sampling period, adopting
Collect the interface sectional drawing of the ios equipment to be tested, the interface sectional drawing is used for the man-machine interface for showing the ios equipment;Contrast
First interface sectional drawing of present sample time point collection and the second contact surface sectional drawing of point of previous sampling time collection, if contrast is known
First interface sectional drawing changes relative to the second contact surface sectional drawing, it is determined that be added to first interface sectional drawing
In packet.
10. device according to claim 8, it is characterised in that first operational order be the test platform according to
The test operation event generation performed in the operation interface, wherein, the Action Events include:Long-press, dragging, click,
Double-click or virtual key.
11. a kind of Application testing device, it is characterised in that including:Memory and processor, wherein:
Memory, for depositing program;
Processor, for performing the program of the memory storage, and is specifically performed:
Determine to perform the first operational order of test operation to the application program of ios equipment to be tested in test platform, it is described to treat
Test mobile terminal of the ios equipment for deployment ios operating systems;
First operational order is converted into the second operational order of the ios equipment accreditation to be tested, second operation
Instruct for indicating that the ios equipment to be tested performs the test operation corresponding with first operational order;
Second operational order is sent to the ios equipment to be tested.
12. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage is one or more
Program, one or more of programs are when the electronic equipment for being included multiple application programs is performed so that the electronic equipment
Perform following methods:
Determine to perform the first operational order of test operation to the application program of ios equipment to be tested in test platform, it is described to treat
Test mobile terminal of the ios equipment for deployment ios operating systems;
First operational order is converted into the second operational order of the ios equipment accreditation to be tested, second operation
Instruct for indicating that the ios equipment to be tested performs the test operation corresponding with first operational order;
Second operational order is sent to the ios equipment to be tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710537539.4A CN107102950A (en) | 2017-07-04 | 2017-07-04 | A kind of applied program testing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710537539.4A CN107102950A (en) | 2017-07-04 | 2017-07-04 | A kind of applied program testing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107102950A true CN107102950A (en) | 2017-08-29 |
Family
ID=59663715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710537539.4A Pending CN107102950A (en) | 2017-07-04 | 2017-07-04 | A kind of applied program testing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107102950A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107748718A (en) * | 2017-10-11 | 2018-03-02 | 百富计算机技术(深圳)有限公司 | Applied program testing method, device and server |
CN108536607A (en) * | 2018-04-20 | 2018-09-14 | 深圳前海微众银行股份有限公司 | UI test methods, equipment and readable storage medium storing program for executing |
CN108616417A (en) * | 2018-03-27 | 2018-10-02 | 广州掌动智能科技有限公司 | Cloud test platform and its control method |
CN110688318A (en) * | 2019-09-27 | 2020-01-14 | 京东数字科技控股有限公司 | Program testing method and device |
CN113377671A (en) * | 2021-06-29 | 2021-09-10 | 山东派盟网络科技有限公司 | Group control method, device and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101128007A (en) * | 2007-09-21 | 2008-02-20 | 中兴通讯股份有限公司 | Testing method for mobile communication terminal |
CN103812982A (en) * | 2014-02-24 | 2014-05-21 | 中国移动(深圳)有限公司 | Method and system for monitoring and testing cell phone client side by computer through cross-operating system |
CN104410670A (en) * | 2014-11-05 | 2015-03-11 | 刘帅 | Auxiliary communication method capable of sharing self screen general situation and mouse position on real time interaction communication platform |
CN104679627A (en) * | 2013-12-02 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Testing method and device |
CN105677561A (en) * | 2015-12-31 | 2016-06-15 | 广州华多网络科技有限公司 | Mobile product multi-platform testing method and system |
US9477399B1 (en) * | 2015-05-19 | 2016-10-25 | Synack, Inc. | Automated interaction for mobile applications |
-
2017
- 2017-07-04 CN CN201710537539.4A patent/CN107102950A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101128007A (en) * | 2007-09-21 | 2008-02-20 | 中兴通讯股份有限公司 | Testing method for mobile communication terminal |
CN104679627A (en) * | 2013-12-02 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Testing method and device |
CN103812982A (en) * | 2014-02-24 | 2014-05-21 | 中国移动(深圳)有限公司 | Method and system for monitoring and testing cell phone client side by computer through cross-operating system |
CN104410670A (en) * | 2014-11-05 | 2015-03-11 | 刘帅 | Auxiliary communication method capable of sharing self screen general situation and mouse position on real time interaction communication platform |
US9477399B1 (en) * | 2015-05-19 | 2016-10-25 | Synack, Inc. | Automated interaction for mobile applications |
CN105677561A (en) * | 2015-12-31 | 2016-06-15 | 广州华多网络科技有限公司 | Mobile product multi-platform testing method and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107748718A (en) * | 2017-10-11 | 2018-03-02 | 百富计算机技术(深圳)有限公司 | Applied program testing method, device and server |
CN107748718B (en) * | 2017-10-11 | 2020-12-18 | 百富计算机技术(深圳)有限公司 | Application program testing method and device and server |
CN108616417A (en) * | 2018-03-27 | 2018-10-02 | 广州掌动智能科技有限公司 | Cloud test platform and its control method |
CN108536607A (en) * | 2018-04-20 | 2018-09-14 | 深圳前海微众银行股份有限公司 | UI test methods, equipment and readable storage medium storing program for executing |
CN108536607B (en) * | 2018-04-20 | 2021-06-08 | 深圳前海微众银行股份有限公司 | UI test method, device and readable storage medium |
CN110688318A (en) * | 2019-09-27 | 2020-01-14 | 京东数字科技控股有限公司 | Program testing method and device |
CN113377671A (en) * | 2021-06-29 | 2021-09-10 | 山东派盟网络科技有限公司 | Group control method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107102950A (en) | A kind of applied program testing method and device | |
CN109189682A (en) | A kind of script method for recording and device | |
CN107357726A (en) | A kind of application compatibility method of testing and device | |
CN110865898B (en) | Method, device, medium and equipment for converging crash call stack | |
CN107168841A (en) | The remote test method and device of a kind of mobile device | |
CN107133174A (en) | Test case code automatically generating device and method | |
CN107609437A (en) | A kind of targeted graphical code recognition methods and device | |
US20200356237A1 (en) | Graphical chatbot interface facilitating user-chatbot interaction | |
CN107390983A (en) | Service order performs method, client and storage medium | |
CN107580013A (en) | The method and device of cross-domain request data | |
CN109873735B (en) | Performance test method and device for H5 page and computer equipment | |
WO2020019490A1 (en) | Interface testing method, electronic device and storage medium | |
CN110377341B (en) | Method, device, medium and electronic equipment for monitoring no-response exception | |
CN107066519A (en) | A kind of task detection method and device | |
CN109753425A (en) | Pop-up processing method and processing device | |
CN111813465B (en) | Information acquisition method, device, medium and equipment | |
CN107479868A (en) | A kind of interface loading method, device and equipment | |
CN107733866A (en) | RPC requests, RPC request processing methods, device and equipment | |
CN107908552A (en) | A kind of test method based on link, device and equipment | |
CN108664389B (en) | Test method, test device and terminal | |
US11475191B2 (en) | Generating and adding additional control information to logic under test to facilitate debugging and comprehension of a simulation | |
CN108062401A (en) | Using recommendation method, apparatus and storage medium | |
CN108845924A (en) | Control response region display control method, electronic device and storage medium | |
CN108132817B (en) | Object management method and device | |
CN109815116A (en) | A kind of method for testing software and equipment platform and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170829 |
|
RJ01 | Rejection of invention patent application after publication |