CN106354500A - Operational commands recording and playback method and system - Google Patents
Operational commands recording and playback method and system Download PDFInfo
- Publication number
- CN106354500A CN106354500A CN201610738149.9A CN201610738149A CN106354500A CN 106354500 A CN106354500 A CN 106354500A CN 201610738149 A CN201610738149 A CN 201610738149A CN 106354500 A CN106354500 A CN 106354500A
- Authority
- CN
- China
- Prior art keywords
- index
- operational order
- screen
- record
- playback
- 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
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03547—Touch pads, in which fingers can move on a surface
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a recording and playback method and a system of operational commands. The recording and playback method comprises the recording part: carrying out proportional changes on the position of acquired operational commands basing on the record modeling index, to acquire the position information needs to be recorded; playback part: acquiring the recorded screen position information to work out the actual screen position of the operation command needs to be executed and play back the operation command on the relevant position on the screen. The system comprises the primary acquiring module, recording module, secondary acquiring module, position calculation module and playback module. The application of the recording and playback method can reduce the repeated labor of the testing personnel, improve the working efficiency, and reduce the problem caused by missed steps. As a recording and playback method and system of operational commands, the recording and playback method can be widely applied in the field of equipment control.
Description
Technical field
The present invention relates to mobile phone control technology, more particularly, to a kind of operational order record and back method and system.
Background technology
At present, the cell phone system variation in android mobile phone industry, and version species is various, therefore, android handss
The compatibility issue of machine is always one of puzzlement of most of developer.And when app developer and tester need to many
During platform android mobile phone execution same operation, generally it is only capable of relying on manual type to realize, so not only waste of manpower cost
And time, the workload substantially reducing work efficiency and increasing staff, and it is also easy to that omission occurs in the process of implementation,
Operation execution error rate is high.
Content of the invention
In order to solve above-mentioned technical problem, it is an object of the invention to provide a kind of operation is convenient, reduce execution error probability
Operational order recording method and system.
It is a further object of the present invention to provide a kind of operation is convenient, reduce the operational order back method of execution error probability
And system.
First technical scheme of the present invention is: a kind of operational order recording method, and the method includes:
Obtain the operational order position to screen;
Processed according to the change that the operational order position that record cast exponent pair obtains carries out ratio, thus obtaining required note
The screen location information of record.
Further, the described change process carrying out ratio according to the operational order position that record cast exponent pair obtains, from
And the step for obtain the screen location information of required record, itself particularly as follows:
Horizontal level in operational order position is divided by with the horizontal proportion index in record cast index, thus obtaining
Horizontal level in the screen location information of required record;By in the upright position in operational order position and record cast index
Vertical scale index be divided by, thus the upright position in obtaining the screen location information of required record.
Further, processed according to the change that the operational order position that record cast exponent pair obtains carries out ratio described,
Thus being additionally provided with, before the step for obtain the screen location information of required record, the step for set up record cast index.
Further, described the step for set up record cast index, itself particularly as follows:
Obtain recording machine screen resolution, then the recording machine screen resolution according to master pattern and acquisition thus
Calculate record cast index.
Further, described the step for set up record cast index employed in record cast formula of index be:
A=x/a
B=y/b
Wherein, a is the horizontal proportion index in record cast index, and b is the vertical scale index in record cast index,
X is the horizontal pixel in recording machine screen resolution, and y is the vertical pixel in recording machine screen resolution, and a is in master pattern
Horizontal coefficients, b be master pattern in Vertical factor.
Second technical scheme of the present invention is: a kind of operational order record system, and this system includes:
First acquisition module, for obtaining the operational order position to screen;
Logging modle, the change for carrying out ratio according to the operational order position that record cast exponent pair obtains is processed,
Thus obtaining the screen location information of required record.
Further, described logging modle is specifically for by the horizontal level in operational order position and record cast index
Horizontal proportion index be divided by, thus the horizontal level in obtaining the screen location information of required record;By operational order position
In upright position be divided by with the vertical scale index in record cast index, thus obtaining the screen location information of required record
In upright position.
Further, this system also includes setting up module for the record cast setting up record cast index.
Further, described record cast sets up module specifically for obtaining the screen resolution of recording machine, then according to mark
The recording machine screen resolution of quasi-mode type and acquisition is thus calculate record cast index.
Further, the record cast formula of index that described record cast sets up employed in module is:
A=x/a
B=y/b
Wherein, a is the horizontal proportion index in record cast index, and b is the vertical scale index in record cast index,
X is the horizontal pixel in recording machine screen resolution, and y is the vertical pixel in recording machine screen resolution, and a is in master pattern
Horizontal coefficients, b be master pattern in Vertical factor.
3rd technical scheme of the present invention is: a kind of operational order back method, and the method includes:
Obtain the screen location information recorded;
According to the screen location information of playback mode index and acquisition, thus calculating the reality needing to execute operational order
Border screen position;
According to the actual screen position obtaining, thus operational order is executed on the relevant position of screen.
Further, the described screen location information according to playback mode index and acquisition, thus calculate to need to execute
The step for actual screen position of operational order, itself particularly as follows:
Horizontal level in the screen location information that will obtain is multiplied with the horizontal proportion index in playback mode index, from
And obtain the horizontal level in described actual screen position;Upright position in the screen location information that will obtain and playback mode
Vertical scale index in index is multiplied, thus obtaining the upright position in described actual screen position.
Further, in the described screen location information according to playback mode index and acquisition, thus calculate needs holding
It is additionally provided with, before the step for actual screen position of row operational order, the step for set up playback mode index.
Further, described the step for set up playback mode index, itself particularly as follows:
Obtain playback engine screen resolution, then the playback engine screen resolution according to master pattern and acquisition thus
Calculate playback mode index.
Further, described the step for set up playback mode index employed in playback mode formula of index be:
A '=x '/a
B '=y '/b
Wherein, a ' is the horizontal proportion index in playback mode index, and b ' is that the vertical scale in playback mode index refers to
Number, x ' is the horizontal pixel in playback engine screen resolution, and y ' is the vertical pixel in playback engine screen resolution, and a is standard
Horizontal coefficients in model, b is the Vertical factor in master pattern.
4th technical scheme of the present invention is: a kind of operational order playback system, and this system includes:
Second acquisition module, for obtaining the screen location information recorded;
Position computation module, for the screen location information according to playback mode index and acquisition, thus calculate need
The actual screen position of operational order to be executed;
Playback module, for according to the actual screen position obtaining, thus execution operation refers on the relevant position of screen
Order.
Further, described position computation module specifically for will obtain screen location information in horizontal level and playback
Horizontal proportion index in model index is multiplied, thus obtaining the horizontal level in described actual screen position;The screen that will obtain
Upright position in curtain positional information is multiplied with the vertical scale index in playback mode index, thus obtaining described actual screen
Upright position in position.
Further, this system also includes setting up module for the playback mode setting up playback mode index.
Further, described playback mode sets up module specifically for obtaining the screen resolution of playback engine, then according to mark
The playback engine screen resolution of quasi-mode type and acquisition is thus calculate playback mode index.
Further, the playback mode formula of index that described playback mode sets up employed in module is:
A '=x '/a
B '=y '/b
Wherein, a ' is the horizontal proportion index in playback mode index, and b ' is that the vertical scale in playback mode index refers to
Number, x ' is the horizontal pixel in playback engine screen resolution, and y ' is the vertical pixel in playback engine screen resolution, and a is standard
Horizontal coefficients in model, b is the Vertical factor in master pattern.
The invention has the beneficial effects as follows: by using recording method and the system of the present invention, can be by a mobile phone screen
On operational order recorded, thus carrying out the playback of the operational order that this records in other mobile phones, to realize to other
Mobile phone carries out identical operation, so then need not carry out multiple stage mobile phone is repeated identical operation manually, significantly subtract
The duplication of labour of few staff and work load, and eliminate the leakage test problem occurring because some operating procedures are omitted,
The true operating process reducing mobile phone, greatly improves the accuracy rate of operation execution, and multiple stage mobile phone can execute simultaneously, and pole is saved
Execution time, high working efficiency.
Another beneficial effect of the present invention is: by using back method and the system of the present invention, just can be according to recording
Operational order screen location information, thus this operational order is executed on corresponding position on mobile phone screen, with realize grasp
Make instruction playback function, so then need not carry out multiple stage mobile phone is repeated identical operation manually, greatly reduce work
Make the duplication of labour and the work load of personnel, and eliminate the leakage test problem occurring because some operating procedures are omitted, truly
The operating process of reduction mobile phone, greatly improves the accuracy rate of operation execution, and multiple stage mobile phone can execute simultaneously, and execution is saved in pole
Time, high working efficiency.
Brief description
Below in conjunction with the accompanying drawings the specific embodiment of the present invention is described further:
Fig. 1 is a kind of flow chart of steps of present invention operational order recording method;
Fig. 2 is an a kind of specific embodiment flow chart of steps of present invention operational order recording method;
Fig. 3 is a kind of structured flowchart of present invention operational order record system;
Fig. 4 is a kind of flow chart of steps of present invention operational order back method;
Fig. 5 is an a kind of specific embodiment flow chart of steps of present invention operational order back method;
Fig. 6 is a kind of structured flowchart of present invention operational order playback system.
Specific embodiment
As shown in figure 1, a kind of operational order recording method, the method includes:
Obtain the operational order position to screen;
Processed according to the change that the operational order position that record cast exponent pair obtains carries out ratio, thus obtaining required note
The screen location information of record.For this recording method, it is to be applied in the terminal as the machine of recording.And for described right
The operational order position of screen, during the operation such as it may include but be not limited to carry out on screen to click on, multiple point touching, slip, institute is right
The screen position answered.
As the preferred implementation of this recording method embodiment, the described operation according to the acquisition of record cast exponent pair refers to
Make the change that position carries out ratio process, thus the step for obtain the screen location information of required record, itself particularly as follows:
Horizontal level in operational order position is divided by with the horizontal proportion index in record cast index, thus obtaining
Horizontal level in the screen location information of required record;By in the upright position in operational order position and record cast index
Vertical scale index be divided by, thus the upright position in obtaining the screen location information of required record.Wherein, described ratio
Change and process the change process including proportional zoom.For the calculating of the screen location information of required record, except the present embodiment
Division outside, it also can be by arbitrary function formula thus carry out mathematics fortune using record cast index to operational order position
Calculation is processed, and is processed with the ratio change realizing operational order position.
As the preferred implementation of this recording method embodiment, in the described operation being obtained according to record cast exponent pair
The change that the location of instruction carries out ratio is processed, thus be additionally provided with before the step for obtain the screen location information of required record building
The step for vertical record cast index.
As the preferred implementation of this recording method embodiment, described the step for set up record cast index, its tool
Body is:
Obtain recording machine screen resolution, then the recording machine screen resolution according to master pattern and acquisition thus
Calculate record cast index.
As the preferred implementation of the present embodiment, described the step for set up record cast index employed in record
Model index computing formula is:
A=x/a
B=y/b
Wherein, a is the horizontal proportion index in record cast index, and b is the vertical scale index in record cast index,
X is the horizontal pixel in recording machine screen resolution, and y is the vertical pixel in recording machine screen resolution, and a is in master pattern
Horizontal coefficients, b be master pattern in Vertical factor.
Recording method one specific embodiment of the present invention
As shown in Fig. 2 the step that a kind of operational order recording method specifically includes is as follows:
S101, the screen resolution (x, y) of acquisition recording machine, the then recording according to master pattern (a, b) and acquisition
Machine screen resolution (x, y) is thus calculate record cast index (a, b), wherein, a=x/a, b=y/b;
In the present embodiment, master pattern (a, b) is preferably master pattern (160,90);
S102, the operational order position (x1, y1) to screen for the acquisition, corresponding screen when being operated on screen
Position (x1, y1);
S103, according to record cast index (a, b) to obtain operational order position (x1, y1) carry out at the change of ratio
Reason, thus obtain the screen location information (a1, b1) of required record, wherein, a1=x1/a, b1=y1/b;
S104, temporally dimension carry out obtained screen location information (a1, b1) in storing step s103.
For the technical characteristic description of above-mentioned recording method, it is all be applied to the embodiment of following record system.
As shown in figure 3, a kind of operational order record system, this system includes:
First acquisition module 301, for obtaining the operational order position to screen;
Logging modle 302, for carrying out at the change of ratio according to the operational order position that record cast exponent pair obtains
Reason, thus obtain the screen location information of required record.
As the preferred implementation of this record system embodiment, described logging modle 302 is specifically for by operational order
Horizontal level in position is divided by with the horizontal proportion index in record cast index, thus obtaining the screen position of required record
Horizontal level in information;By the vertical scale index phase in the upright position in operational order position and record cast index
Remove, thus obtaining the upright position in the required screen location information recording.
As the preferred implementation of this record system embodiment, this system is also included for setting up record cast index
Record cast sets up module.
As the preferred implementation of this record system embodiment, described record cast sets up module specifically for obtaining record
The screen resolution of machine processed, then the recording machine screen resolution according to master pattern and acquisition is thus calculate record mould
Type index.
As the preferred implementation of this record system embodiment, described record cast sets up the record employed in module
Model index computing formula is:
A=x/a
B=y/b
Wherein, a is the horizontal proportion index in record cast index, and b is the vertical scale index in record cast index,
X is the horizontal pixel in recording machine screen resolution, and y is the vertical pixel in recording machine screen resolution, and a is in master pattern
Horizontal coefficients, b be master pattern in Vertical factor.
After operational order record is realized by above-mentioned method system, then can be enterprising as the mobile phone of playback engine in other
Row operational order plays back.And specifically playback scheme is as described below.
As shown in figure 4, a kind of operational order back method, the method includes:
Obtain the screen location information recorded;
According to the screen location information of playback mode index and acquisition, thus calculating the reality needing to execute operational order
Border screen position;
According to the actual screen position obtaining, thus operational order is executed on the relevant position of screen.For this playback
Method, it is to be applied to as on the mobile phone of playback engine, with true reduction mobile phone operation process.
As the preferred implementation of this back method embodiment, the described screen according to playback mode index and acquisition
Positional information, thus calculate need execute operational order actual screen position the step for, itself particularly as follows:
Horizontal level in the screen location information that will obtain is multiplied with the horizontal proportion index in playback mode index, from
And obtain the horizontal level in described actual screen position;Upright position in the screen location information that will obtain and playback mode
Vertical scale index in index is multiplied, thus obtaining the upright position in described actual screen position.
As the preferred implementation of this back method embodiment, in the described screen according to playback mode index and acquisition
Curtain positional information, thus be additionally provided with foundation playback before the step for calculate the actual screen position needing to execute operational order
The step for model index.
As the preferred implementation of this back method embodiment, described the step for set up playback mode index, its tool
Body is:
Obtain playback engine screen resolution, then the playback engine screen resolution according to master pattern and acquisition thus
Calculate playback mode index.
As the preferred implementation of this back method embodiment, described the step for set up playback mode index in adopted
Playback mode formula of index is:
A '=x '/a
B '=y '/b
Wherein, a ' is the horizontal proportion index in playback mode index, and b ' is that the vertical scale in playback mode index refers to
Number, x ' is the horizontal pixel in playback engine screen resolution, and y ' is the vertical pixel in playback engine screen resolution, and a is standard
Horizontal coefficients in model, b is the Vertical factor in master pattern.
One specific embodiment of back method of the present invention
As shown in figure 5, the step that a kind of operational order back method specifically includes is as follows:
S201, obtain playback engine screen resolution (x ', y '), then according to master pattern (a, b) and obtain return
Put machine screen resolution (x ', y ') thus calculating playback mode index (a ', b '), wherein, a '=x '/a, b '=y '/b;
The screen location information (a1, b1) that s202, acquisition are recorded;
When the screen location information recorded is multiple, then obtain the screen location information recorded in chronological order
(a1, b1);
S203, the screen location information (a1, b1) according to playback mode index (a ', b ') and acquisition, thus calculate
Need to execute the actual screen position (x2, y2) of operational order, wherein, x2=a1*a ', y2=b1*b ';
S204, the actual screen position (x2, y2) according to acquisition, thus play back this operation on the relevant position of screen refer to
Order, executes operational order on playback engine screen (x2, y2) this position.
For the technical characteristic description of above-mentioned back method, it is all be applied to the embodiment of following playback system.
As shown in fig. 6, a kind of operational order playback system, this system includes:
Second acquisition module 401, for obtaining the screen location information recorded;
Position computation module 402, for the screen location information according to playback mode index and acquisition, thus calculate
Need to execute the actual screen position of operational order;
Playback module 403, for according to the actual screen position obtaining, thus execute operation on the relevant position of screen
Instruction.
As the preferred implementation of this playback system embodiment, described position computation module 402 will be specifically for obtaining
Screen location information in horizontal level be multiplied with the horizontal proportion index in playback mode index, thus obtaining described reality
Horizontal level in screen position;Upright position in the screen location information that will obtain and the vertical ratio in playback mode index
Example index is multiplied, thus obtaining the upright position in described actual screen position.
As the preferred implementation of this playback system embodiment, this system is also included for setting up playback mode index
Playback mode sets up module.
As the preferred implementation of this playback system embodiment, described playback mode sets up module specifically for obtaining back
Put the screen resolution of machine, then the playback engine screen resolution according to master pattern and acquisition is thus calculate playback mould
Type index.
As the preferred implementation of this playback system embodiment, described playback mode sets up the playback employed in module
Model index computing formula is:
A '=x '/a
B '=y '/b
Wherein, a ' is the horizontal proportion index in playback mode index, and b ' is that the vertical scale in playback mode index refers to
Number, x ' is the horizontal pixel in playback engine screen resolution, and y ' is the vertical pixel in playback engine screen resolution, and a is standard
Horizontal coefficients in model, b is the Vertical factor in master pattern.
The master pattern in master pattern and back method in above-mentioned recording method, both horizontal coefficients and vertical system
The numerical value of number b can be identical or differ, and can be arranged accordingly according to actual.
For above-mentioned record scheme and playback scheme, in order to solve each mobile phone different system, different editions and produce
Compatibling problem, the present invention be realized by custom script form operational order playback execution.
In addition, for above-mentioned record scheme and playback scheme, one concrete application embodiment is as follows.
Part I: record (taking carry out clicking operation instruction on Semen setariae mobile phone 5 as a example)
1.1st, the screen resolution obtaining Semen setariae mobile phone 5 is 1920 × 1080, and by screen resolution, Criterion model is
160 × 90, calculating record cast index is 12 × 12;
1.2nd, obtain the operational order position to screen: each instruction of the operation of program monitoring screen, and obtain this
The position of instruction relative screen, such as: (960,540), by calculating, show that the screen position of required record is (80,45);
1.3rd, temporally dimension records each operational order data, i.e. the screen position of above-mentioned required record.
Part II: playback (by Huawei's honor freely play carry out playback operation instruction on 4x (mobile enhanced edition) as a example)
1.1st, obtaining playback engine screen resolution is 1280 × 720, and calculating playback mode index is (8 × 8);
1.2nd, in chronological order read operation instruction (80,45), calculate need operation screen position be (640 ×
360);
1.3rd, screen pixels point (640 × 360) are initiated to click on operational order.
Obtained by above-mentioned, the advantage included by the present invention has:
1st, reduce tester's duplication of labour;
2nd, reduce and omit, because of some steps, the leakage test problem occurring;
3rd, multiple stage playback machine can execute simultaneously, shortens execution time.
For the method for the present invention and system, it can be applied not only to android mobile phone, also can be applicable to other mobile phones,
Or in miscellaneous equipment.
It is more than that the preferable enforcement to the present invention is illustrated, but the invention is not limited to described enforcement
Example, those of ordinary skill in the art also can make a variety of equivalent variations without prejudice on the premise of present invention spirit or replace
Change, these equivalent deformation or replacement are all contained in the application claim limited range.
Claims (20)
1. a kind of operational order recording method is it is characterised in that the method includes:
Obtain the operational order position to screen;
Processed according to the change that the operational order position that record cast exponent pair obtains carries out ratio, thus obtaining required record
Screen location information.
2. according to claim 1 a kind of operational order recording method it is characterised in that described according to record cast exponent pair
The change that the operational order position obtaining carries out ratio is processed, thus the step for obtain the screen location information of required record,
Itself particularly as follows:
Horizontal level in operational order position is divided by with the horizontal proportion index in record cast index, thus obtaining required
Horizontal level in the screen location information of record;By hanging down in the upright position in operational order position and record cast index
Straight proportion index is divided by, thus obtaining the upright position in the required screen location information recording.
3. a kind of operational order recording method according to claim 1 or claim 2 is it is characterised in that described according to record cast
The change that the operational order position that exponent pair obtains carries out ratio is processed, thus obtain required record screen location information this
It is additionally provided with the step for set up record cast index before step.
4. according to claim 3 a kind of operational order recording method it is characterised in that described set up record cast index this
One step, itself particularly as follows:
Obtain the screen resolution of recording machine, then the recording machine screen resolution according to master pattern and acquisition is thus calculate
Draw record cast index.
5. according to claim 4 a kind of operational order recording method it is characterised in that described set up record cast index this
Record cast formula of index employed in one step is:
A=x/a
B=y/b
Wherein, a is the horizontal proportion index in record cast index, and b is the vertical scale index in record cast index, and x is
Horizontal pixel in recording machine screen resolution, y is the vertical pixel in recording machine screen resolution, and a is in master pattern
Horizontal coefficients, b is the Vertical factor in master pattern.
6. a kind of operational order record system is it is characterised in that this system includes:
First acquisition module, for obtaining the operational order position to screen;
Logging modle, the change for carrying out ratio according to the operational order position that record cast exponent pair obtains is processed, thus
Obtain the screen location information of required record.
7. according to claim 6 a kind of operational order record system it is characterised in that described logging modle specifically for will
Horizontal level in operational order position is divided by with the horizontal proportion index in record cast index, thus obtaining required record
Horizontal level in screen location information;By the vertical scale in the upright position in operational order position and record cast index
Index is divided by, thus obtaining the upright position in the required screen location information recording.
8. according to claim 6 or 7 a kind of operational order record system it is characterised in that this system is also included for building
The record cast of vertical record cast index sets up module.
9. according to claim 8 a kind of operational order record system it is characterised in that described record cast set up module tool
Body is used for obtaining the screen resolution of recording machine, and then the recording machine screen resolution according to master pattern and acquisition is thus count
Calculation draws record cast index.
10. according to claim 9 a kind of operational order record system it is characterised in that described record cast sets up module
Employed in record cast formula of index be:
A=x/a
B=y/b
Wherein, a is the horizontal proportion index in record cast index, and b is the vertical scale index in record cast index, and x is
Horizontal pixel in recording machine screen resolution, y is the vertical pixel in recording machine screen resolution, and a is in master pattern
Horizontal coefficients, b is the Vertical factor in master pattern.
A kind of 11. operational order back methods are it is characterised in that the method includes:
Obtain the screen location information recorded;
According to the screen location information of playback mode index and acquisition, thus calculating the actual screen needing to execute operational order
Curtain position;
According to the actual screen position obtaining, thus operational order is executed on the relevant position of screen.
12. according to claim 11 a kind of operational order back method it is characterised in that described according to playback mode index
And the screen location information obtaining, thus the step for calculate the actual screen position needing to execute operational order, its tool
Body is:
Horizontal level in the screen location information that will obtain is multiplied with the horizontal proportion index in playback mode index, thus
Horizontal level in described actual screen position;Upright position in the screen location information that will obtain and playback mode index
In vertical scale index be multiplied, thus obtaining the upright position in described actual screen position.
13. according to claim 11 or 12 a kind of operational order back method it is characterised in that described according to playback mould
Type index and the screen location information of acquisition, thus the step for calculate the actual screen position needing to execute operational order
It is additionally provided with the step for set up playback mode index before.
14. according to claim 13 a kind of operational order back method it is characterised in that described set up playback mode index
The step for, itself particularly as follows:
Obtain the screen resolution of playback engine, then the playback engine screen resolution according to master pattern and acquisition is thus calculate
Draw playback mode index.
15. according to claim 14 a kind of operational order back method it is characterised in that described set up playback mode index
The step for employed in playback mode formula of index be:
A '=x '/a
B '=y '/b
Wherein, a ' is the horizontal proportion index in playback mode index, and b ' is the vertical scale index in playback mode index, x '
For the horizontal pixel in playback engine screen resolution, y ' is the vertical pixel in playback engine screen resolution, and a is in master pattern
Horizontal coefficients, b be master pattern in Vertical factor.
A kind of 16. operational order playback systems are it is characterised in that this system includes:
Second acquisition module, for obtaining the screen location information recorded;
Position computation module, for the screen location information according to playback mode index and acquisition, thus calculate needs hold
The actual screen position of row operational order;
Playback module, for according to the actual screen position obtaining, thus execute operational order on the relevant position of screen.
17. according to claim 16 a kind of operational order playback system it is characterised in that described position computation module is concrete
For the horizontal level in the screen location information obtaining is multiplied with the horizontal proportion index in playback mode index, thus
Horizontal level in described actual screen position;Upright position in the screen location information that will obtain and playback mode index
In vertical scale index be multiplied, thus obtaining the upright position in described actual screen position.
18. according to claim 16 or 17 a kind of operational order playback system it is characterised in that this system also include for
The playback mode setting up playback mode index sets up module.
19. according to claim 18 a kind of operational order playback system it is characterised in that described playback mode sets up module
Specifically for obtain playback engine screen resolution, then the playback engine screen resolution according to master pattern and acquisition thus
Calculate playback mode index.
20. according to claim 19 a kind of operational order playback system it is characterised in that described playback mode sets up module
Employed in playback mode formula of index be:
A '=x '/a
B '=y '/b
Wherein, a ' is the horizontal proportion index in playback mode index, and b ' is the vertical scale index in playback mode index, x '
For the horizontal pixel in playback engine screen resolution, y ' is the vertical pixel in playback engine screen resolution, and a is in master pattern
Horizontal coefficients, b be master pattern in Vertical factor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610738149.9A CN106354500A (en) | 2016-08-26 | 2016-08-26 | Operational commands recording and playback method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610738149.9A CN106354500A (en) | 2016-08-26 | 2016-08-26 | Operational commands recording and playback method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106354500A true CN106354500A (en) | 2017-01-25 |
Family
ID=57855645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610738149.9A Pending CN106354500A (en) | 2016-08-26 | 2016-08-26 | Operational commands recording and playback method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106354500A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002010903A2 (en) * | 2000-08-01 | 2002-02-07 | Daimlerchrysler Ag | Method for loading software |
CN103928038A (en) * | 2014-04-29 | 2014-07-16 | 广东欧珀移动通信有限公司 | Electronic equipment test recording and playing back method |
CN104035664A (en) * | 2014-06-06 | 2014-09-10 | 北京安兔兔科技有限公司 | Display method and device for user interface of application program |
CN104866414A (en) * | 2014-02-24 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method, device and system for testing application program |
CN105204986A (en) * | 2014-06-24 | 2015-12-30 | 广州市动景计算机科技有限公司 | Automated product testing method, server and mobile equipment |
-
2016
- 2016-08-26 CN CN201610738149.9A patent/CN106354500A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002010903A2 (en) * | 2000-08-01 | 2002-02-07 | Daimlerchrysler Ag | Method for loading software |
CN104866414A (en) * | 2014-02-24 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method, device and system for testing application program |
CN103928038A (en) * | 2014-04-29 | 2014-07-16 | 广东欧珀移动通信有限公司 | Electronic equipment test recording and playing back method |
CN104035664A (en) * | 2014-06-06 | 2014-09-10 | 北京安兔兔科技有限公司 | Display method and device for user interface of application program |
CN105204986A (en) * | 2014-06-24 | 2015-12-30 | 广州市动景计算机科技有限公司 | Automated product testing method, server and mobile equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104375912B (en) | The measuring method and device of mobile terminal interim card | |
CN108897724A (en) | Function schedule determines method and device | |
CN104778124A (en) | Automatic testing method for software application | |
CN102880509B (en) | Compute unified device architecture (CUDA) based grid digital elevation model (DEM) neighborhood analysis system and method | |
CN110695520B (en) | Vision-based full-automatic galvanometer field calibration system and calibration method thereof | |
CN108415830A (en) | A kind of generation method and device of software test case | |
CN108021509B (en) | Test case dynamic sequencing method based on program behavior network aggregation | |
CN106408248A (en) | Power transmission line plotting field data acquisition system and processing method thereof | |
CN104216826A (en) | Test method and device | |
CN103065012B (en) | Method for creating wafer Map display model and using method thereof | |
CN103150226A (en) | Abnormal dump and recovery system for computer model and dump and recovery method thereof | |
CN104699516B (en) | Automatic identification Android mobile phone and the method and apparatus for installing driving under Windows | |
CN110334001A (en) | A kind of method and apparatus that batch automatically generates echo test | |
CN106354500A (en) | Operational commands recording and playback method and system | |
CN106817469B (en) | Terminal software testing method and system for simulating manual operation | |
CN115994742B (en) | Full life cycle management method and device for wet-mixed mortar plasticizer | |
CN106844211A (en) | Software testing method, device and system | |
CN114065336B (en) | Revit-based high formwork region inspection method, device, medium and equipment | |
CN107240150B (en) | Three-dimensional pipeline digital drawing method | |
CN103150251A (en) | Method for intelligently acquiring automated test object | |
CN109388680B (en) | Method and device for improving rendering efficiency of GIS point data at browser end | |
CN105740141B (en) | A kind of automated detection method and its device | |
CN114782692A (en) | House model repairing method and device, electronic equipment and readable storage medium | |
CN113343458A (en) | Model selection method and device for engine sensor, electronic equipment and storage medium | |
CN109885975B (en) | Continuous beam prestressed pipeline model processing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170125 |
|
RJ01 | Rejection of invention patent application after publication |