CN107193729A - A kind of application compatibility method of testing and device - Google Patents

A kind of application compatibility method of testing and device Download PDF

Info

Publication number
CN107193729A
CN107193729A CN201710258051.8A CN201710258051A CN107193729A CN 107193729 A CN107193729 A CN 107193729A CN 201710258051 A CN201710258051 A CN 201710258051A CN 107193729 A CN107193729 A CN 107193729A
Authority
CN
China
Prior art keywords
action events
mtu
slave terminal
action
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710258051.8A
Other languages
Chinese (zh)
Other versions
CN107193729B (en
Inventor
蒋晓海
谢春鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Testin Information Technology Co Ltd
Original Assignee
Beijing Testin Information 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 Beijing Testin Information Technology Co Ltd filed Critical Beijing Testin Information Technology Co Ltd
Priority to CN201710258051.8A priority Critical patent/CN107193729B/en
Publication of CN107193729A publication Critical patent/CN107193729A/en
Application granted granted Critical
Publication of CN107193729B publication Critical patent/CN107193729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

This application discloses a kind of application compatibility method of testing and device, methods described includes:Determine to treat the first Action Events that test application program performs compatibility test operation in MTU;First Action Events the second Action Events corresponding in the equipment of slave terminal are determined, wherein, second Action Events are used to perform in the slave terminal equipment to be operated with the same or analogous compatibility test of first Action Events;Second Action Events are sent to the slave terminal equipment.The method and apparatus of the embodiment of the present application, can effectively improve the testing efficiency of application compatibility test.

Description

A kind of application compatibility method of testing and device
Technical field
The application is related to software testing technology field, more particularly to a kind of application compatibility method of testing and device.
Background technology
Compatibility test is the important step in application program (Application, APP) test, for testing in APP Whether implementation effect of the same function on different terminal devices be consistent with showing interface effect.
In order to ensure APP performance, APP needs to carry out identical compatibility test in multiple terminal devices.For one A little compatibility test operations for needing tester to manually perform, for example, contact action or button operation, when the end for needing to test When end equipment quantity is more, tester needs to be operated on each terminal device one by one, causes APP compatibility tests Testing efficiency it is relatively low.
The testing efficiency of APP compatibility tests how is improved, is technical problems to be solved in this application.
The content of the invention
In view of this, the embodiment of the present application provides a kind of application compatibility method of testing and device, existing to solve The problem of testing efficiency of some application compatibility tests is relatively low.
The embodiment of the present application provides a kind of application compatibility method of testing, including:
Determine to treat the first Action Events that test application program performs compatibility test operation in MTU;
First Action Events the second Action Events corresponding in the equipment of slave terminal are determined, wherein, described Two Action Events are used to perform in the slave terminal equipment to be surveyed with the same or analogous compatibility of first Action Events Examination operation;
Second Action Events are sent to the slave terminal equipment.
Optionally it is determined that treating the first operation thing that test application program performs compatibility test operation in MTU Part, including:
Obtain and the operation point sequence that test application program performs compatibility test operation is treated in the MTU;
By parsing the operation point sequence, determine it is described operation point sequence in any operation point the first abscissa value, First ordinate value, pressure value and time marking;
The time marking of any operation point in the operation point sequence, was determined between the time between adjacent operator point Every;
The first abscissa value of any operation point, the first ordinate value, pressure value in the operation point sequence, when Between mark and adjacent operator point between time interval, determine first Action Events, wherein, first Action Events For contact action event.
Optionally it is determined that first Action Events the second Action Events corresponding in the equipment of slave terminal, including:
Obtain the screen resolution information of the MTU and the slave terminal equipment;
According to the MTU and the screen resolution information of the slave terminal equipment, by the operation point sequence In the first abscissa value of any operation point be converted to the second abscissa value, and by any behaviour in the operation point sequence The first ordinate value for making point is converted to the second ordinate value;
The second abscissa value of any operation point, the second ordinate value, pressure value in the operation point sequence with And the time interval between adjacent operator point, determine second Action Events.
Alternatively, first Action Events include:Long-press, dragging, click, double-click or virtual key.
Optionally it is determined that treating the first operation thing that test application program performs compatibility test operation in MTU Part, including:
Obtain and the operating point that test application program performs compatibility test operation is treated in the MTU;
By parsing the operating point, the action type of the operating point is determined;
According to the action type of the operating point, first Action Events are determined, wherein, first Action Events are Key operation event.
Optionally it is determined that first Action Events the second Action Events corresponding in the equipment of slave terminal, including:
Determine that second Action Events are and the first Action Events identical Action Events.
Alternatively, first Action Events include:Power supply key operation, return key operation, menu key operation, major key behaviour Make, key operation under key operation or volume in volume.
The embodiment of the present application also provides a kind of application compatibility test device, including:Determining unit and transmitting element, Wherein:
Determining unit, for determining to treat test application program performs compatibility test operation first in MTU Action Events;
The determining unit, is additionally operable to determine the second behaviour that first Action Events are corresponding in the equipment of slave terminal Make event, wherein, second Action Events are used to perform and the first Action Events phase in the slave terminal equipment Same or similar compatibility test operation;
Transmitting element, for second Action Events to be sent into the slave terminal equipment.
The embodiment of the present application also provides a kind of application compatibility test 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 treat the first Action Events that test application program performs compatibility test operation in MTU;
First Action Events the second Action Events corresponding in the equipment of slave terminal are determined, wherein, described Two Action Events are used to perform in the slave terminal equipment to be surveyed with the same or analogous compatibility of first Action Events Examination operation;
Second Action Events are sent to the slave terminal equipment.
The embodiment of the present application also provides a kind of computer-readable recording medium, it is characterised in that described computer-readable to deposit Storage media stores one or more programs, and one or more of programs are performed when the electronic equipment for being included multiple application programs When so that the electronic equipment performs following methods:
Determine to treat the first Action Events that test application program performs compatibility test operation in MTU;
First Action Events the second Action Events corresponding in the equipment of slave terminal are determined, wherein, described Two Action Events are used to perform in the slave terminal equipment to be surveyed with the same or analogous compatibility of first Action Events Examination operation;
Second Action Events are sent to the slave terminal equipment.
At least one above-mentioned technical scheme that the embodiment of the present application is used can reach following beneficial effect:
By determining that test application program is treated in MTU performs the first Action Events that compatibility test is operated, And then the first Action Events the second Action Events corresponding in the equipment of slave terminal are determined, and the second Action Events are sent To the slave terminal equipment so that the slave terminal equipment is according to the second Action Events, to the application to be tested in equipment of itself Program is performed to be operated with the same or analogous compatibility test of the first Action Events, compatible so as to effectively improve application program Property test testing efficiency.
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 schematic flow sheet for application compatibility method of testing that Fig. 1 provides for the embodiment of the present application;
The schematic diagram for the operation point sequence that Fig. 2 provides for the embodiment of the present application;
The schematic diagram for the first Action Events identification that Fig. 3 provides for the embodiment of the present application;
A kind of schematic diagram for application compatibility method of testing that Fig. 4 provides for the embodiment of the present application;
The schematic configuration diagram for a kind of electronic equipment that Fig. 5 provides for the embodiment of the present application;
A kind of structural representation for application compatibility test device that Fig. 6 provides for the embodiment of the present application;
A kind of structural representation for application compatibility test device that Fig. 7 provides for the embodiment of the present application.
Embodiment
In order to realize the purpose of the application, the embodiment of the present application provides a kind of application compatibility method of testing and dress Put, this method includes:By determining that test application program is treated in MTU performs the first behaviour that compatibility test is operated Make event, and then determine the first Action Events the second Action Events corresponding in the equipment of slave terminal, and second is operated Event is sent to the slave terminal equipment so that the slave terminal equipment is according to the second Action Events, to treating in equipment of itself Test application program is performed to be operated with the same or analogous compatibility test of the first Action Events, so as to effectively improve application The testing efficiency of software compatibility test.
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
In order to the testing efficiency for solving the test of application compatibility in the prior art it is relatively low the problem of, the embodiment of the present application 1 provides a kind of application compatibility method of testing.Application program to be tested in the embodiment of the present application, which is arranged on, to be needed to carry out The terminal device of test is (hereinafter referred to as:Terminal device to be tested, that is, MTU and slave terminal in being described below are set It is standby) in, the terminal device is the terminal device with touch screen, for example:Mobile phone, tablet personal computer, etc..
A kind of schematic flow sheet for application compatibility method of testing that Fig. 1 provides for the embodiment of the present application.This method Can be with as follows.
Step 101:Determine to treat the first operation that test application program performs compatibility test operation in MTU Event.
Before compatibility test is carried out to application program, all terminal devices to be tested are connected to a personal electricity On brain (PC), the equipment manager in PC is responsible for all terminal devices to be tested that the PC is connected so that the PC can By adb debugging acids, the information of any terminal device to be tested is obtained, or refer to any terminal device transmission to be tested Order.
It should be noted that terminal device to be tested can be connected on PC by usb modes, can also be by wirelessly connecting The mode of connecing is connected on PC, is not specifically limited here.
Equipment manager determine beyond the MTU in terminal device to be tested, MTU other are to be tested Terminal device is slave terminal equipment, and MTU represents that tester manually performs the end to be tested of compatibility test operation End equipment.
It should be noted that MTU can be set in advance or randomly selected, do not do have here Body is limited.
Equipment manager sends getevent orders by adb debugging acids to MTU so that MTU Perform the getevent orders.
The compatibility test operation that tester performs to the application program to be tested in MTU is embodied in In the operating point of getevent outputs, by parsing the operating point of getevent outputs, it can determine tester in master terminal The first Action Events performed in equipment, wherein, getevent is output as hexadecimal output.
In the embodiment of the present application, the first Action Events are contact action event or key operation event.
When the first Action Events are contact action events, determine to treat in MTU test application program perform it is simultaneous First Action Events of capacitive test operation, including:
Obtain and the operation point sequence that test application program performs compatibility test operation is treated in MTU;
By parsing operation point sequence, it is determined that the first abscissa value of any operation point, the first vertical seat in operation point sequence Scale value, pressure value and time marking;
According to the time marking of any operation point in operation point sequence, the time interval between adjacent operator point is determined;
According to the first abscissa value of any operation point, the first ordinate value, pressure value, time marking in operation point sequence And the time interval between adjacent operator point, the first Action Events are determined, wherein, first Action Events are touch-screen event.
Operation monitor in PC obtains the getevent outputs in MTU in real time, when tester is to master terminal When application program to be tested in equipment performs contact action event, getevent outputs are operation point sequences.Fig. 2 is this Shen Please embodiment provide operation point sequence schematic diagram.
Monitor is operated by parsing operation point sequence, it is determined that operating the first abscissa of any operation point in point sequence Value, the first ordinate value, pressure value and time marking.
For Android operation system, getevent usage is as follows:
Usage:getevent[-t][-n][-s switchmask][-S][-v[mask]][-d][-p][-i][-l][- q][-c count][-r][device]
-t:show time stamps
-n:don't print newlines
-s:print switch states for given bits
-S:print all switch states
-v:Verbosity mask (errs=1, dev=2, name=4, info=8, vers=16, pos.events =32, props=64)
-d:show HID descriptor,if available
-p:show possible events(errs,dev,name,pos.events)
-i:show all device info and possible events
-l:label event types and names in plain text
-q:quiet(clear verbosity mask)
-c:print given number of events then exit
-r:print rate events are received
Performed in the MTU of Android operation system after getevent orders, the getevent acquired is defeated Go out fragment as follows:
Wherein, EV_KEY BTN_TOUCH DOWN represent finger down screen;
EV_KEY BTN_TOUCH UP represent that finger frames out.
For/dev/input/event4:EV_ABS ABS_MT_POSITION_X 00000182
/dev/input/event4:EV_ABS ABS_MT_POSITION_Y 000002a6
/dev/input/event4:EV_ABS ABS_MT_PRESSURE 0000003f,
ABS_MT_POSITION_X, ABS_MT_POSITION_Y, represent that one touches behaviour in a contact action respectively Make the abscissa x and ordinate y of point mark, 00000182 and 000002a6 is the numerical value of 16 systems, is parsed into 10 systems Respectively:The coordinate value of 386,678, the i.e. operating point is (386,678);
ABS_MT_PRESSURE represents the pressure mark in the operating point, and 0000003f below is the number of 16 systems Value, is parsed into 10 and enters to be made as 63, and it is 63 also to mean that the pressure value in operating point (386,678).
The pressure value of operating point is determined, the pressure of finger movement when being to record tester's execution contact action.
The operation point sequence that parsing is obtained is sent to event analyser and carries out Action Events analysis by operation monitor.
For contact action event, the event mark of last operating point of the event analyser in operation point sequence Know, to define a complete Action Events (what i.e. tester performed once operates naturally), for example, working as the behaviour that parsing is obtained When making the time of the operating point of last in point sequence and the time interval of current time more than 600ms before, it is determined that parse Obtained operation point sequence is a complete Action Events.
Operation point sequence corresponding for a complete Action Events, according to operation point sequence in any operation point when Between identify, determine the time interval between adjacent operator point.
According to the first abscissa value of any operation point, first in the corresponding operation point sequence of a complete Action Events Time interval between ordinate value, pressure value, time marking and adjacent operator point, determines the first Action Events.
Event analyser recognizes the first Action Events, wherein, the first Action Events include:Long-press, dragging, click, double-click Or virtual key.
The schematic diagram for the first Action Events identification that Fig. 3 provides for the embodiment of the present application.
As shown in figure 3, the corresponding operating point Sequence composition curvilinear path of the first Action Events, passes through traversing operation point sequence In each operating point, determine the operating point A and the operating point B in the lower right corner in the upper left corner of the operation point sequence institute overlay area;
The distance between operating point A and operating point B len are calculated, the corresponding operation of the first Action Events is represented by len The size for the scope that point sequence is covered;
According to operating point A and operating point B coordinate value, operating point A and operating point B central point C coordinate value is calculated, is led to Central point C coordinate value is crossed, determines whether the first Action Events act on virtual key;
According to the first Action Events it is corresponding operation point sequence in first operating point time marking and last The time marking of individual operating point, calculates the time difference of first operating point and last operating point in operation point sequence, should Time difference represents time-consuming (timeconsumed) of the first Action Events.
When len is more than 600ms less than or equal to 100 pixels, and timeconsumed, the shifting of the first Action Events is represented Dynamic scope is smaller, but the operating time is longer, accordingly, it is determined that the first Action Events operate for long-press;
When len is more than 100 pixels, represent that the moving range of the first Action Events is larger, therefore, no matter timeconsumed Value be how many, all determine the first Action Events be drag operation;In addition, when len be more than 20 pixels and Timeconsumed is more than 200ms, or, when len is more than 30 pixels and timeconsumed is more than 50ms, determine first Action Events are drag operation;
When len is less than or equal to 20 pixels, or, it is more than 200ms when len is less than or equal to 30 pixels and timeconsumed When, it is clicking operation to determine the first Action Events;
When being less than 600ms clicking operation comprising two time intervals in the first Action Events, the first operation thing is determined Part is double click operation;
There is a file/sys/board_properties/virtualkeys in terminal device to be tested, be used for Define the coordinate value in the virtual key region on screen.By this file, and the central point C coordinate that above-mentioned calculating is obtained Value, determines whether the first Action Events act on virtual key.
When the first Action Events are contact action events, determine to treat in MTU test application program perform it is simultaneous First Action Events of capacitive test operation, including:
Obtain and the operating point that test application program performs compatibility test operation is treated in MTU;
By parsing operating point, the action type mark of operating point is determined;
Identified according to the action type of operating point, determine the first Action Events, wherein, first Action Events are grasped for button Make event.
Operation monitor in PC obtains the getevent outputs in MTU in real time, when tester is to master terminal During the key operation event that the application program to be tested in equipment is performed, the operating point in the operation point sequence of getevent outputs Include action type mark.
The operation point sequence that parsing is obtained is sent to event analyser and carries out Action Events analysis by operation monitor.Event Analyzer is identified according to the action type of operating point in operation point sequence, determines the first Action Events, wherein, the first Action Events Including:Power supply key operation, return to key operation, menu key operation, major key operation, key operation under key operation or volume in volume.
For power supply key operation, the action type of operating point is designated 0074, and corresponding getevent outputs sample is as follows (00000001 is to press mark, and 00000000 is to unclamp mark):
According to/dev/input/event2:0001 0,074 00000001, determine that the first Action Events are grasped for power key Make.
For returning to key operation, the action type of operating point is designated 009e, and corresponding getevent outputs sample is as follows (00000001 is to press mark, and 00000000 is to unclamp mark):
According to/dev/input/event2:0001 009e 00000001, determines that the first Action Events are grasped for return key Make.
For menu key operation, the action type of operating point is designated 008b, and corresponding getevent outputs sample is as follows (00000001 is to press mark, and 00000000 is to unclamp mark):
According to/dev/input/event2:0001 008b 00000001, determines that the first Action Events are grasped for Menu key Make.
For major key operation, the action type of operating point is designated 0066, and corresponding getevent outputs sample is as follows (00000001 is to press mark, and 00000000 is to unclamp mark):
According to/dev/input/event2:0001 0,066 00000001, it is main key operation to determine the first Action Events.
For key operation in volume, the action type of operating point is designated 0073, and corresponding getevent outputs sample is such as Under (00000001 is to press mark, 00000000 be unclamp mark):
According to/dev/input/event2:0001 0,073 00000001, it is key operation in volume to determine the first Action Events.
For menu key operation, the action type of operating point is designated 0072, and corresponding getevent outputs sample is as follows (00000001 is to press mark, and 00000000 is to unclamp mark):
According to/dev/input/event2:0001 0,072 00000001, determine that the first Action Events are grasped for volume lower key Make.
Event analyser is determined after the first Action Events, and the first Action Events are sent into case distribution device.
First Action Events are sent to the event consumer corresponding with least one slave terminal equipment by case distribution device Device.
Step 102:Determine the first Action Events the second Action Events corresponding in the equipment of slave terminal.
Wherein, the second Action Events are same or analogous simultaneous with the first Action Events for being performed in the equipment of slave terminal Capacitive test operation.
In the embodiment of the present application, when the first Action Events are key operation event, event consumer determines the second operation Event be and the first Action Events identical Action Events.
In the embodiment of the present application, when the first Action Events are contact action event, event consumer is to the first operation thing Any operation point in operation point sequence in part carries out Coordinate Conversion, determines the second Action Events, specifically:
Obtain MTU and the screen resolution information of slave terminal equipment;
According to MTU and the screen resolution information of slave terminal equipment, any operation in point sequence will be operated First abscissa value of point is converted to the second abscissa value, and by the first ordinate of any operation point operated in point sequence Value is converted to the second ordinate value;
The second abscissa value, the second ordinate value, pressure value and the phase of any operation point in operation point sequence Time interval between adjacent operating point, determines the second Action Events.
In actual test, the screen resolution information and MTU of each slave terminal equipment are possible to not phase Together, with high fidelity it is synchronized to each slave terminal equipment in order to ensure to operate the compatibility test in MTU In, it is necessary to it is corresponding to the first Action Events operation point sequence in any operation point carry out Coordinate Conversion.
Meanwhile, in order to ensure the compatibility test operation in MTU being with high fidelity synchronized to each subordinate , it is necessary to retain the pressure value of any operation point in the corresponding operation point sequence of the first Action Events and adjacent in terminal device Time interval between operating point, that is, retain finger movement when tester performs the first Action Events in MTU Speed and pressure.
Step 103:Second Action Events are sent to slave terminal equipment.
Event consumer generates the corresponding monkey scripts of the second Action Events, and is sent to pair by adb.push orders In the slave terminal equipment answered so that slave terminal equipment is by running the monkey scripts, to be tested in equipment of itself Application program is performed to be operated with the same or analogous compatibility test of the first Action Events.
The usage of Monkey scripts is as follows:
DispatchPress(String key_name):Realize button operation
@key_name key assignments name
UserWait(long sleeptime):Time interval between adjacent operator point
@sleeptime stand-by period, unit millisecond
DispatchPointer (downTime, eventTime, action, x, y, pressure, size, MetaState, xPrecision, yPrecision, device, edgeFlags)
The time marking that Action Events start in@param long downTime//MTU, generally fixed value
The time marking that Action Events start in@param long eventTime//slave terminal equipment, it is generally solid Definite value
@param int action//(ACTION_DOWN=0, ACTION_MOVE=2, ACTION_UP=1, ACTION_CANCEL=3)
@param float x//x coordinate values
@param float y//y coordinate values
The pressure of@param float pressure//current event, scope 0-1
The approximation of@param float size//touch, scope 0-1
The mark of the meta keys for@param int metaState//currently press
@param float xPrecision//x coordinate value precision
@param float yPrecision//y coordinate value precision
@param int device//Event origin, scope 0-x, 0 represents not come from physical equipment
@param int sedgeFlags//
The monkey script examples of one clicking operation event are as follows:
#Start of Script
Type=user
Count=6
Speed=1.0
start data>>
DispatchPointer (10,10,0,346,771,0.20784314,0.06666667,0,0.0,0.0, 65539,0)
UserWait(10)
DispatchPointer (10,20,2,346,771,0.20784314,0.06666667,0,0.0,0.0, 65539,0)
UserWait(10)
DispatchPointer (10,10,1,346,771,0.20784314,0.06666667,0,0.0,0.0, 65539,0)
UserWait(10)
Slave terminal equipment, can be in equipment of itself by running the corresponding monkey scripts of the clicking operation event Application program to be tested performs clicking operation.
In the embodiment of the present application, when slave terminal, equipment current operation event has not been performed also, is received by new operation During event, new Action Events are cached, performed when the slave terminal equipment is idle.
Technical scheme described in the embodiment of the present application, by determining that test application program is treated in MTU to be performed First Action Events of compatibility test operation, and then determine the first Action Events corresponding second in the equipment of slave terminal Action Events, and the second Action Events are sent to the slave terminal equipment so that the slave terminal equipment is according to the second operation Event, performs to the application program to be tested in equipment of itself and is grasped with the same or analogous compatibility test of the first Action Events Make, so as to effectively improve the testing efficiency of application compatibility test.
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, below the application compatibility method of testing to the application be described further, so as to be formed Another embodiment of the application.
Application compatibility test process is tested with the application compatibility in embodiment 1 in the embodiment of the present application 2 Process is similar, and some other step not made referrals in embodiment 2 may refer to the associated description in embodiment 1, herein not Repeat again.
A kind of schematic diagram for application compatibility method of testing that Fig. 4 provides for the embodiment of the present application.This method can be with It is as follows.
Step 401:Terminal device to be tested is connected on PC, and determines that the master terminal in terminal device to be tested is set Standby, the equipment manager in PC is responsible for all terminal devices to be tested that the PC is connected;
Step 402:Tester treats test application program in MTU and performs compatibility test operation;
Step 403:Operate monitor to obtain getevent outputs, obtain treating test application program in MTU and hold The operation point sequence of row compatibility test operation;
Step 404:Event analyser determines the first Action Events, and the first Action Events are sent out according to operation point sequence Case distribution device is given, wherein, the first Action Events are contact action event or key operation event;
Step 405:It is whole that first Action Events are sent to the subordinate for needing to perform compatibility test operation by case distribution device The corresponding event consumer of end equipment;
Step 406:When the first Action Events be key operation event when, event consumer determine the second Action Events be with First Action Events identical Action Events, and generate the corresponding monkey scripts of the second Action Events;
When the first Action Events are contact action event, event consumer is according to MTU and slave terminal equipment Screen resolution information, by the first Action Events it is corresponding operation point sequence in any operation point carry out coordinate turn Change, determine the second Action Events, and then generate the corresponding monkey scripts of the second Action Events.
Step 407:The corresponding monkey scripts of second Action Events are sent to corresponding slave terminal by event consumer In equipment so that slave terminal equipment is performed by running the monkey scripts to the application program to be tested in equipment of itself Operated with the same or analogous compatibility test of the first Action Events.
Embodiment 3
The schematic configuration diagram for a kind of electronic equipment that Fig. 5 provides for the embodiment of the present application.As shown in figure 5, 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 compatibility test device on logic level.Certainly, in addition to software realization mode, the application It is not precluded from other implementations, such as the mode of logical device or software and hardware combining etc., that is to say, that following processing stream The executive agent of journey is not limited to each logic unit or hardware or logical device.
A kind of structural representation for application compatibility test device that Fig. 6 provides for the embodiment of the present application.Device 600 Including:Determining unit 601 and transmitting element 602:
Determining unit 601, for determining that test application program is treated in MTU performs compatibility test operation First Action Events;
Determining unit 601, is additionally operable to determine the second operation thing that the first Action Events are corresponding in the equipment of slave terminal Part, wherein, the second Action Events are used to perform and the same or analogous compatibility of the first Action Events in the equipment of slave terminal Test operation;
Transmitting element 602, for the second Action Events to be sent into the slave terminal equipment.
Optionally it is determined that unit 601 determines that test application program is treated in MTU performs compatibility test operation The first Action Events, including:
Obtain and the operation point sequence that test application program performs compatibility test operation is treated in MTU;
By parsing operation point sequence, it is determined that the first abscissa value of any operation point, the first vertical seat in operation point sequence Scale value, pressure value and time marking;
The time marking of any operation point in operation point sequence, determines the time interval between adjacent operator point;
The first abscissa value, the first ordinate value, pressure value and the phase of any operation point in operation point sequence Time interval between adjacent operating point, determines the first Action Events, wherein, the first Action Events are contact action event.
Optionally it is determined that unit 601 determines the first Action Events the second operation thing corresponding in the equipment of slave terminal Part, including:
Obtain MTU and the screen resolution information of slave terminal equipment;
According to MTU and the screen resolution information of slave terminal equipment, any operation in point sequence will be operated First abscissa value of point is converted to the second abscissa value, and by the first ordinate of any operation point operated in point sequence Value is converted to the second ordinate value;
The second abscissa value, the second ordinate value, pressure value and the phase of any operation point in operation point sequence Time interval between adjacent operating point, determines second Action Events.
Alternatively, the first Action Events include:Long-press, dragging, click, double-click or virtual key.
Optionally it is determined that unit 601 determines that test application program is treated in MTU performs compatibility test operation The first Action Events, including:
Obtain and the operating point that test application program performs compatibility test operation is treated in MTU;
By parsing operating point, the action type mark of operating point is determined;
Identified according to the action type of operating point, determine the first Action Events, wherein, the first Action Events are button operation Event.
Optionally it is determined that unit 601 determines the first Action Events the second operation thing corresponding in the equipment of slave terminal Part, including:
Determine that the second Action Events are and the first Action Events identical Action Events.
Alternatively, the first Action Events include:Power supply key operation, return key operation, menu key operation, major key operation, sound Key operation under key operation or volume in amount.
According to application compatibility test device, determining unit is used to determine in MTU to application journey to be tested Sequence performs the first Action Events of compatibility test operation;Determining unit is additionally operable to determine that the first Action Events are set in slave terminal The second corresponding Action Events in standby, wherein, the second Action Events are used to perform in the equipment of slave terminal and the first operation The same or analogous compatibility test operation of event;Transmitting element is used to the second Action Events being sent to slave terminal equipment, So as to effectively improve the testing efficiency of application compatibility test.
A kind of structural representation for application compatibility test device that Fig. 7 provides for the embodiment of the present application.Card is clapped Taking the photograph device 700 may include:Channel interface 701 and processor 702, alternatively, including memory 703.
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 treat the first Action Events that test application program performs compatibility test operation in MTU;
The first Action Events the second Action Events corresponding in the equipment of slave terminal are determined, wherein, the second operation thing Part is used to perform in the equipment of slave terminal to be operated with the same or analogous compatibility test of the first Action Events;
Second Action Events are sent to slave terminal equipment.
Application compatibility test device or manager disclosed in above-mentioned Fig. 1 and Fig. 5-6 illustrated embodiments such as the application (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 compatibility test device 700 can also carry out Fig. 1 method, and realize the side that manager's node is performed Method.
Embodiment 4
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one Individual or multiple programs, one or more programs include instruction, and the instruction is when the portable electronic for being included multiple application programs When equipment is performed, the method that the portable electric appts can be made to perform embodiment 1.
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 (16)

1. a kind of application compatibility method of testing, it is characterised in that including:
Determine to treat the first Action Events that test application program performs compatibility test operation in MTU;
First Action Events the second Action Events corresponding in the equipment of slave terminal are determined, wherein, second behaviour Making event is used to perform in the slave terminal equipment and first Action Events same or analogous compatibility test behaviour Make;
Second Action Events are sent to the slave terminal equipment.
2. the method as described in claim 1, it is characterised in that determine to treat in MTU test application program perform it is simultaneous First Action Events of capacitive test operation, including:
Obtain and the operation point sequence that test application program performs compatibility test operation is treated in the MTU;
By parsing the operation point sequence, the first abscissa value of any operation point, first in the operation point sequence are determined Ordinate value, pressure value and time marking;
The time marking of any operation point in the operation point sequence, determines the time interval between adjacent operator point;
First abscissa value of any operation point in the operation point sequence, the first ordinate value, pressure value, time mark Time interval between knowledge and adjacent operator point, determines first Action Events, wherein, first Action Events are tactile Shield Action Events.
3. method as claimed in claim 2, it is characterised in that determine first Action Events phase in the equipment of slave terminal Corresponding second Action Events, including:
Obtain the screen resolution information of the MTU and the slave terminal equipment;
According to the MTU and the screen resolution information of the slave terminal equipment, by the operation point sequence First abscissa value of any operation point is converted to the second abscissa value, and by any operation point in the operation point sequence The first ordinate value be converted to the second ordinate value;
The second abscissa value, the second ordinate value, pressure value and the phase of any operation point in the operation point sequence Time interval between adjacent operating point, determines second Action Events.
4. method as claimed in claim 2, it is characterised in that first Action Events include:It is long-press, dragging, click, double Hit or virtual key.
5. the method as described in claim 1, it is characterised in that determine to treat in MTU test application program perform it is simultaneous First Action Events of capacitive test operation, including:
Obtain and the operating point that test application program performs compatibility test operation is treated in the MTU;
By parsing the operating point, the action type mark of the operating point is determined;
Identified according to the action type of the operating point, determine first Action Events, wherein, first Action Events are Key operation event.
6. method as claimed in claim 5, it is characterised in that determine first Action Events phase in the equipment of slave terminal Corresponding second Action Events, including:
Determine that second Action Events are and the first Action Events identical Action Events.
7. method as claimed in claim 5, it is characterised in that first Action Events include:Power supply key operation, return key Operation, the operation of menu key operation, major key, key operation under key operation or volume in volume.
8. a kind of application compatibility test device, it is characterised in that including:Determining unit and transmitting element, wherein:
Determining unit, for determining to treat the first operation that test application program performs compatibility test operation in MTU Event;
The determining unit, is additionally operable to determine the second operation thing that first Action Events are corresponding in the equipment of slave terminal Part, wherein, second Action Events be used in the slave terminal equipment perform it is identical with first Action Events or Similar compatibility test operation;
Transmitting element, for second Action Events to be sent into the slave terminal equipment.
9. device as claimed in claim 8, it is characterised in that the determining unit determines to answer to be tested in MTU The first Action Events that compatibility test is operated are performed with program, including:
Obtain and the operation point sequence that test application program performs compatibility test operation is treated in the MTU;
By parsing the operation point sequence, the first abscissa value of any operation point, first in the operation point sequence are determined Ordinate value, pressure value and time marking;
The time marking of any operation point in the operation point sequence, determines the time interval between adjacent operator point;
First abscissa value of any operation point in the operation point sequence, the first ordinate value, pressure value, time mark Time interval between knowledge and adjacent operator point, determines first Action Events, wherein, first Action Events are tactile Shield Action Events.
10. device as claimed in claim 9, it is characterised in that the determining unit determine first Action Events from Belong to the second Action Events corresponding in terminal device, including:
Obtain the screen resolution information of the MTU and the slave terminal equipment;
According to the MTU and the screen resolution information of the slave terminal equipment, by the operation point sequence First abscissa value of any operation point is converted to the second abscissa value, and by any operation point in the operation point sequence The first ordinate value be converted to the second ordinate value;
The second abscissa value, the second ordinate value, pressure value and the phase of any operation point in the operation point sequence Time interval between adjacent operating point, determines second Action Events.
11. device as claimed in claim 9, it is characterised in that first Action Events include:Long-press, dragging, click, Double-click or virtual key.
12. device as claimed in claim 8, it is characterised in that the determining unit is determined in MTU to be tested Application program performs the first Action Events of compatibility test operation, including:
Obtain and the operating point that test application program performs compatibility test operation is treated in the MTU;
By parsing the operating point, the action type mark of the operating point is determined;
Identified according to the action type of the operating point, determine first Action Events, wherein, first Action Events are Key operation event.
13. device as claimed in claim 12, it is characterised in that the determining unit determine first Action Events from Belong to the second Action Events corresponding in terminal device, including:
Determine that second Action Events are and the first Action Events identical Action Events.
14. device as claimed in claim 12, it is characterised in that first Action Events include:Power supply key operation, return Key operation, menu key operation, major key operation, key operation under key operation or volume in volume.
15. a kind of application compatibility test 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 treat the first Action Events that test application program performs compatibility test operation in MTU;
First Action Events the second Action Events corresponding in the equipment of slave terminal are determined, wherein, second behaviour Making event is used to perform in the slave terminal equipment and first Action Events same or analogous compatibility test behaviour Make;
Second Action Events are sent to the slave terminal equipment.
16. 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 treat the first Action Events that test application program performs compatibility test operation in MTU;
First Action Events the second Action Events corresponding in the equipment of slave terminal are determined, wherein, second behaviour Making event is used to perform in the slave terminal equipment and first Action Events same or analogous compatibility test behaviour Make;
Second Action Events are sent to the slave terminal equipment.
CN201710258051.8A 2017-04-19 2017-04-19 Application compatibility testing method and device Active CN107193729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710258051.8A CN107193729B (en) 2017-04-19 2017-04-19 Application compatibility testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710258051.8A CN107193729B (en) 2017-04-19 2017-04-19 Application compatibility testing method and device

Publications (2)

Publication Number Publication Date
CN107193729A true CN107193729A (en) 2017-09-22
CN107193729B CN107193729B (en) 2020-07-31

Family

ID=59871353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710258051.8A Active CN107193729B (en) 2017-04-19 2017-04-19 Application compatibility testing method and device

Country Status (1)

Country Link
CN (1) CN107193729B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885661A (en) * 2017-11-08 2018-04-06 百度在线网络技术(北京)有限公司 The terminal transparency method of testing and system of Mobile solution, equipment, medium
CN107957951A (en) * 2017-12-11 2018-04-24 北京奇虎科技有限公司 A kind of method and device of the function of test application program
CN112416741A (en) * 2019-12-26 2021-02-26 上海哔哩哔哩科技有限公司 Application program compatibility testing method and device
CN113820583A (en) * 2020-06-19 2021-12-21 北京君正集成电路股份有限公司 USB OTG test method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120071849A (en) * 2010-12-23 2012-07-03 주식회사 이노와이어리스 Automatical test system and method performance of smart phone using android debug bridge interface
CN104461894A (en) * 2014-12-17 2015-03-25 用友软件股份有限公司 Android App operating recording device and method
CN104978276A (en) * 2015-07-21 2015-10-14 安一恒通(北京)科技有限公司 Method, device and system used for detecting software
CN105204986A (en) * 2014-06-24 2015-12-30 广州市动景计算机科技有限公司 Automated product testing method, server and mobile equipment
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120071849A (en) * 2010-12-23 2012-07-03 주식회사 이노와이어리스 Automatical test system and method performance of smart phone using android debug bridge interface
CN105204986A (en) * 2014-06-24 2015-12-30 广州市动景计算机科技有限公司 Automated product testing method, server and mobile equipment
CN104461894A (en) * 2014-12-17 2015-03-25 用友软件股份有限公司 Android App operating recording device and method
CN104978276A (en) * 2015-07-21 2015-10-14 安一恒通(北京)科技有限公司 Method, device and system used for detecting software
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HUAXUN66: "Android的MotionEvent和事件处理", 《CSDN博客 HTTPS://BLOG.CSDN.NET/HUAXUN66/ARTICLE/DETAILS/52352469》 *
ITEYE_3916: "Android系统中自定义按键的短按、双击、长按事件", 《CSDN博客 HTTPS://BLOG.CSDN.NET/ITEYE_3916/ARTICLE/DETAILS/82610787?UTM_SOURCE=APP》 *
快乐的飞鱼: "Android开发:在onTouchEvent中处理任意时间的长按事件", 《CSDN博客 HTTPS://BLOG.CSDN.NET/KDSDE/ARTICLE/DETAILS/32106415?UTM_SOURCE=APP》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885661A (en) * 2017-11-08 2018-04-06 百度在线网络技术(北京)有限公司 The terminal transparency method of testing and system of Mobile solution, equipment, medium
CN107957951A (en) * 2017-12-11 2018-04-24 北京奇虎科技有限公司 A kind of method and device of the function of test application program
CN107957951B (en) * 2017-12-11 2021-09-28 北京奇虎科技有限公司 Method and device for testing functions of application program
CN112416741A (en) * 2019-12-26 2021-02-26 上海哔哩哔哩科技有限公司 Application program compatibility testing method and device
CN113820583A (en) * 2020-06-19 2021-12-21 北京君正集成电路股份有限公司 USB OTG test method
CN113820583B (en) * 2020-06-19 2024-02-27 北京君正集成电路股份有限公司 USB OTG test method

Also Published As

Publication number Publication date
CN107193729B (en) 2020-07-31

Similar Documents

Publication Publication Date Title
Sambasivan et al. Principled workflow-centric tracing of distributed systems
CN106462488B (en) Performance optimization hint presentation during debug
CN107193729A (en) A kind of application compatibility method of testing and device
US9703670B2 (en) Performance state machine control with aggregation insertion
US9442832B2 (en) User workflow replication for execution error analysis
CN107357726A (en) A kind of application compatibility method of testing and device
CN110462588A (en) Virtual machine operation tracking
US10541042B2 (en) Level-crossing memory trace inspection queries
JP6867066B1 (en) Memory analysis methods and equipment based on dynamic stain analysis
WO2015043527A1 (en) Method and device for testing electronic equipment performance
CN103455396A (en) Test method and test device of hardware performance of electronic equipment
CN104636142B (en) A kind of information processing method and electronic equipment
CN107329899A (en) A kind of application compatibility method of testing and device
CN111858371A (en) Software testing method, system, storage medium and computer equipment
GB2473513A (en) Measuring the time taken to process a unit of data
CN111143200A (en) Method and device for recording and playing back touch event, storage medium and equipment
CN107451112B (en) Form tool data checking method, device, terminal equipment and storage medium
US11551328B2 (en) Graphics energy profiling system and method
CN107479816A (en) Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
CN108228065B (en) Method and device for detecting UI control information and electronic equipment
CN107066519A (en) A kind of task detection method and device
CN110825731A (en) Data storage method and device, electronic equipment and storage medium
CN104346224A (en) Using group page fault descriptors to handle context switches and process terminations in graphics processors
CN109446096A (en) A kind of intelligence contract adjustment method, device and its storage medium
US20130024846A1 (en) Real-Time Code Coverage Results in AD-HOC Testing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant