CN101241466A - Embedded software test method and system - Google Patents
Embedded software test method and system Download PDFInfo
- Publication number
- CN101241466A CN101241466A CNA200710073296XA CN200710073296A CN101241466A CN 101241466 A CN101241466 A CN 101241466A CN A200710073296X A CNA200710073296X A CN A200710073296XA CN 200710073296 A CN200710073296 A CN 200710073296A CN 101241466 A CN101241466 A CN 101241466A
- Authority
- CN
- China
- Prior art keywords
- control
- recording
- action
- script
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a testing method of embedded software, firstly, recording operation of object machine to generate test script; then resetting recorded script. Programming pile program on the object machine, the pile program recording operating steps, data for parameter set and operating result of operator; transmitting to computer; testing program kept to script after receiving recorded data; repairing the value part in the script to parameter; establishing data corresponding to database file storage parameter on computer; running the testing program; testing the program script, reading data corresponding to the parameter database to replace parameter at the same time; analyzing the script and input in the object machine; the pile program analyzing and executing command in the script; returning the running result to computer and analyzing and output. The invention generating automatic testing use script by recording the object machine reduces workload of programming automatic testing use, improves the testing efficiency.
Description
[technical field]
The present invention relates to the software test field, relate in particular to test embedded software.
[background technology]
Widespread use along with software, people are also more and more higher to the expectation value of software, aspects such as the quality of software, performance, reliability also become the focus that people pay close attention to just gradually, software test is the effective ways whether verifying software can reach desired function, can guarantee software quality by software test, so software test is a very important job.Embedded software is the software that operates on the particular target system, and its hardware platform and operating system are special-purpose often, do not have versatility, the software that uses such as mobile phone, washing machine, set-top box, navigational system, medical treatment detection device etc.
The present method that embedded software is tested employing, normally manual establishment script calls the detective pole program that storage use-case on computers is handed down on the target embedded device by script and tests.This method needs the tester to possess certain robotization use-case to write ability, need carry out the hand-coding use-case, can not generate by recording the embedded software system test process.
In addition, the automation software testing instrument commonly used that is used on the PC has WINRUNNER, LOADRUNNER, ROBOT etc., though these Software Testing Tool that are used on the PC are all recorded and playback, all also be unrealized and script is carried out in the operation of embedded device record and reset.
Thereby, it is low that prior art exists testing efficiency, it is higher that operating personnel's automatic test cases is write Capability Requirement, need to use a large amount of testers, the human cost height, the operating process of target machine hand-manipulated can not be recorded and generate the automatic test cases script, can not record, edit and reset and the script of embedded software operation be realized the shortcomings such as test automation of embedded software.
[summary of the invention]
The objective of the invention is to solve defective of the prior art, a kind of method of testing and system that is used for embedded software is provided, generate the automatic test cases script by the operation of recording to target machine, by calling the different testing parameter data that leave in the database file, the script of test case is carried out simple editing move playback, promptly on tested equipment, finish a series of continuous actions, in addition, can also be by recording script being revised or direct compile script formation test case.
To achieve these goals, the technical solution used in the present invention is: a kind of method of testing of embedded software may further comprise the steps:
1) records operation, generate test script target machine;
2) script of resetting and being recorded;
Wherein, described step 1 comprises the steps:
11) result who utilizes the operation steps of the stake program recording operation personnel on the target machine, the data that are set up parameter and target machine to move, the object of recording comprises recording the operation of the graphic user interface of target machine, simulator operation and key point insertion operation;
12) data of recording are transferred to computing machine by PORT COM;
13) test procedure on the operation computing machine;
14) test procedure receives the data of recording, and the data of recording are saved as the script file with key word;
15) the needed value part of revising in the script is a parameter;
16) set up database file on computers, deposit the data of parameter correspondence;
Wherein, described step 2 comprises the steps:
21) test procedure on the operation computing machine;
22) test procedure invoke script file and read in corresponding data in the parameter database and replace parameter in the script file;
23) analyzing script file and import target machine;
24) instruction in the script is resolved and carried out to the stake program in the target machine;
25) operation result is returned computing machine analysis, and output test result.
Wherein state the method for recording of in the step 11 graphic user interface of target machine being operated and adopt " towards recording of control object " or " recording " towards the step operation.
Described " towards recording of control object " preferably triggered by mouse action, record a series of actions of mouse, wherein recording of mouse action only write down effective click that can change control behavior or property value, comprise the absolute path of control and the attribute of control, comprise the steps:
A1) click action of seizure mouse;
A2) judge that whether this click action is effective action, if not effective action, then ignores this action; If effective action, then execution in step A3;
A3) whether the control ID that judges click changes, and does not become if, and then ignores this click action; If control ID has changed, execution in step A4 then;
A4) generate the absolute path corresponding with this control, and the value after the change of record control property;
A5) in the test script of the value after uploading absolute path and control property and changing in the computing machine.
Described absolute path is meant from the initial interface of target machine graphical user interface, arrive the target control, by way of each window and window on clicked formed two tuples of control, the form of two tuples is (WndId, ItemId), wherein WndId is each grade window Id, and ItemId receives on this window effectively to click the reformed control Id of back attribute, absolute path is an operating process chain, describes the orderly ID set of click process.Such operational chain will go on record as a part of data of recording towards control, in recording process, also to write down simultaneously the result of variations of the property value of control, the record of control property is not the change process of certain control content of record, but after only writing down the change of control property value, the control property value when focus is left this control.
Wherein, described " recording towards step " is the operational code of the keypad code that is pressed on the keyboard of record object machine and knob rotation, and the operation of recording button or knob may further comprise the steps:
B1) action of seizure button or knob;
B2) whether the action of judging button or knob is effective action, if not effective action, then ignores this action; If effective action, then execution in step B3;
B3) keypad code of record button or the operational code of knob;
B4) in the test script of the operational code of uploading the keypad code of button or knob in the computing machine.
Also comprise the steps: in the described step 2
C1) choose script file, system relationship relevant parameters data file;
C2) read instruction and execution in the script file, test procedure is scaled relative path to former and later two absolute path in the implementation.
Described step C2 is a cyclic process, comprises the steps:
S1) whether decision instruction is the operation to the graphic user interface of target machine, if, then reset towards control object or towards the step operation, and execution in step S4; If not, execution in step S2 then;
S2) whether decision instruction is that key point is inserted operation, if then collect target machine information, then execution in step S4; If not, execution in step S3 then;
S3) whether decision instruction is the operation to simulator, if, then sending instructions to simulator, simulator sends signal, then execution in step S4; If not, execution in step S4;
S4) judge whether action sequence carries out end, if then jump out circulation and continue down to carry out; If action sequence is not carried out end, then continue to read the instruction that next bar is reset and moved, carry out above-mentioned steps S1.
For achieving the above object, another kind of technical scheme of the present invention is: a kind of test macro of embedded software comprises and records module and playback module; The described module of recording comprises: the operation steps that is used for the recording operation personnel, be set up the data of parameter, and the result's of target machine operation recording elements, the data that are used for recording transfer to the transmission unit of computing machine by PORT COM, be used to move the program run unit of the test procedure on the computing machine, the script file generation unit that is used to accept the test procedure instruction and the data of recording is saved as script file with key word, the required numerical value that is used for revising script file is the numerical value edit cell of parameter, is used to deposit the Database Unit of parameter corresponding data; Described playback module comprises: the file call unit that is used to move test procedure, invoke script file, the corresponding data that is used for receiving script file and reading in parameter database is replaced parameter, and analyzing script file, script file imported the data parsing and the performance element of target machine, be arranged in target machine, be used for resolving and carry out the stake program resolution unit of the instruction of script, be used to receive a result of program resolution unit operation and operation result is returned computing machine analysis, and the processing unit that outputs test result.
Described recording elements preferably includes towards the control object recording elements or towards the step recording elements.
Describedly comprise: first capture module that is used to record mouse action towards the control object recording elements, described first capture module is recorded a series of actions of mouse, wherein recording of mouse action only write down effective click that can change control behavior or property value, comprise the absolute path of control and the attribute of control; Be used to judge whether the click action is first judge module of effective action; Be used for judging second judge module whether the control ID that judges click after click action is effective action changes at first judge module; Be used for when second judge module judges that the control ID of click changes, generating the absolute path corresponding, first logging modle of the value after the record control property changes with this control; With first transport module of value in the test script of computing machine that is used for uploading after absolute path and control property change.
Described absolute path is meant from the initial interface of target machine graphical user interface, arrive the target control, by way of each window and window on clicked formed two tuples of control, the form of described two tuples is (WndId, ItemId), wherein WndId is each grade window Id, and ItemId receives on this window effectively to click back attribute or the reformed control Id of behavior.
Describedly record module towards step and comprise: second capture module that is used to catch button or knob action; The button or the knob action that are used for catching according to second capture module judge whether the action of button or knob is the 3rd judge module of effective action; The action that is used for judging button or knob at the 3rd judge module is second logging modle of the operational code of the keypad code of back record button or knob effectively; Second transport module of the operational code that is used for uploading the keypad code of button or knob in the test script of computing machine.
Described playback module also comprises: be used for the relating module according to the related relevant parameters data file of the script file of choosing; With the execution module of the instruction and the execution that are used for reading script file, described execution module is used in the process of implementation former and later two absolute path being scaled relative path.
Whether described execution module: being used for decision instruction is the 4th judge module that the graphic user interface of target machine is operated if comprising; Being used in the 4th judge module decision instruction is to reset when the graphic user interface of target machine is operated towards control object or towards the playback module of step operation; Being used in the 4th judge module decision instruction is not that whether decision instruction was the 5th judge module that key point is inserted operation when the graphic user interface of target machine was operated; Be used for when the 5th judge module decision instruction is key point insertion operation, collecting the information acquisition module of information on the target machine; Be used for the 5th judge module decision instruction be not key point when inserting operation decision instruction whether be the 6th judge module to the operation of simulator; Be used for sending the sending module of instruction to simulator; Be used for judging in any one back that is finished of playback module, information acquisition module and sending module whether action sequence carries out the 7th judge module of end, described the 7th judge module is used for after judging that action sequence is carried out end, then jumping out circulation continues down to carry out, when action sequence is not carried out end, then continue to read the instruction that next bar is reset and moved, control the 4th judge module instruction is judged.
The invention has the beneficial effects as follows: the present invention provides a kind of method of quick generation automatic test cases for the tester, utilize script to record reproducing process and improve the speed of writing the embedded software automatic test cases, for the tester, need not remember too much directive script." absolute path " mode of utilization deposit operation step makes each step path clear readable, utilizes relative path to reset and meets analog manual operation's reality.Record by operation, generate the automatic test cases script, reduced the workload of writing automatic test cases, accelerated the progress of test, improved testing efficiency, reduced cost tested equipment.
Feature of the present invention and advantage will be elaborated in conjunction with the accompanying drawings by embodiment.
[description of drawings]
Fig. 1 is to use the configuration diagram of test macro of the method for testing of a kind of embedded software of the present invention.
Fig. 2 is that test macro shown in Figure 1 is recorded the playback building-block of logic.
Fig. 3 is the process flow diagram of recording process among the present invention.
Fig. 4 records process flow diagram towards control object among the present invention.
Fig. 5 records process flow diagram towards step among the present invention.
Fig. 6 is the process flow diagram of playback procedure among the present invention.
Fig. 7 is that automatic test is recorded playback interface in the test macro shown in Figure 1.
[embodiment]
Below in conjunction with accompanying drawing specific embodiments of the invention are described in detail.
The configuration diagram of test macro is that example describes with the embedded software test of patient monitor as shown in Figure 1.System is made up of PC 1, simulator 2, patient monitor 3.PC 1 is the control core of whole test system, is the common computer that possesses RS-232 communication serial port and Ethernet card, operation automatic test program on it, and the script of recording also leaves on the PC 1; Simulator 2 is a kind of distinctive signal generators of simulating physiology signal, patient monitor 3 is tested target machine, the system software of patient monitor 3 self is the target to be measured of automatic test, and the system software of patient monitor 3 has complete graphic user interface, an operation stake program also on the patient monitor 3; PC 1 is connected by serial ports with simulator 2 and transmits data and instruction, simulator 2 is connected by special-purpose signal transmission link with patient monitor 3, accept PC 1 instruction back output signal to patient monitor 3 by simulator 2, be connected by ethernet link between PC 1 and the patient monitor 3, use and transmit data and instruction based on the agreement of TCP/IP.
Wherein, patient monitor 3 can also be replaced by other tested target machine, and simulator 2 also can be the signal generator that produces needed signal according to the difference of tested target machine.
Test macro is recorded the playback logical organization as shown in Figure 2, flow process such as Fig. 3 of recording playback arrive shown in Figure 6, the logical process of program run is: the test procedure on the PC 1 sends record command to patient monitor 3 by " control transmitting element ", patient monitor 3 receives the instruction back and carries out data parsing by " packet resolution unit one ", resolving back startup " operation capturing unit " records manual operations, record is to the manual operations of target machine and the operation information of target machine, and the content recorded returned to test procedure, it is script file that test procedure is preserved institute's recorded content; In recording process, also recorded simultaneously down by the operation of serial ports control simulator 2 in the test procedure; Playback time is given " control transmitting element " after then resolving script by test procedure by " script logging analytic unit ", " control transmitting element " issues target machine " packet resolution unit one " again, give " script executing unit " after the parsing and carry out operation replay, collect relevant test data simultaneously, return to test procedure by " data feedback unit ", finish relatively also by " subtest unit one " output report by " test key point comparing unit ".
Wherein, the flow process of a kind of embodiment of recording process comprises the steps: as shown in Figure 3
R1) judge whether operational motion is recorded, if then recording operation moves script, execution in step R4 then; If not, execution in step R2 then;
R2) judge whether to add key point, if then in recording sequence, add key point, then execution in step R4; If not, execution in step R3 then;
R3) whether decision instruction is the operation to simulator, if, then sending instructions to simulator, simulator sends signal, then execution in step R4; If not, execution in step R4;
R4) judge to record whether finish, if record end; Do not finish if record, then execution in step R1 continues to record next operation, and above-mentioned steps is carried out in circulation.
The method for recording that graphic user interface is operated adopts " towards recording of control object " and " recording towards the step operation " two kinds of methods.
" towards recording of control object " is to be triggered by mouse action, a series of actions of recording mouse, and as shown in Figure 4, operating process is:
A1) click action of seizure mouse;
A2) judge whether this click action is effective action;
A3) if not effective action, then ignore this action, finish recording process; If A4 is then carried out in effectively action;
A4) whether the control ID that judges click changes, and does not become if, and then ignores this click action, finishes recording process; If control ID has changed, then carry out A5;
A5) generate the absolute path corresponding, and write down the value after this control property changes with this control;
A6) in the test script of the value after uploading absolute path and control property and changing in the computing machine.
In accompanying drawing 4, the change of the control ID that mentions is actually when carrying out mouse action, the change of the current focus that mouse is pointed, because transferring to from a control, focus can cause control ID to change on another control, have only when the stake program detects because click causes focus to change and illustrate that just the operation to this control finishes, just can trigger and record this moment, can avoid recording the not final attribute of confirming like this changes, promptly be not all to keep a record to clicking each time, just original control property is kept a record when having only focus to change, whether this writes down the condition of recording operation.When change absolute path and the control property value that writes down control when the control ID that causes changes because of focus.The result that some control produces after by click such as " conventional push button " is that tested target program is carried out the respective handling function, but control self attributes value is not changed, control only bears the behavior of click action, this situation thinks that the control behavior changes, can carry out the respective handling function because click the tested target program in back in addition, so be effective click, the other control can make property value change after by click.So mouse action is only recorded effective click that record can change control behavior or property value, the coordinate that does not write down mouse changes and in the click of inoperative position, does not promptly write down not cause that the interface changes and do not cause the invalid clicks that back-end data changes.The content of record mouse comprises the value after the attribute of the absolute path of control and control changes.
Described absolute path is meant from the initial interface of target machine graphical user interface, arrive the target control, by way of each window and window on clicked formed two tuples of control, the form of two tuples is (WndId, ItemId), wherein WndId is each grade window Id, and ItemId is the reformed control Id of attribute on this window, absolute path is an operating process chain, describes the orderly ID set of click process.For example, the action of an operating process is " master menu " clicked among the TOOLBAR of figure initial interface, enters master menu, and " patient management " clicked in the master menu adopts wall scroll again, and then the mouse action of this operating process record is:
①(ID_DESKTOP,IDV_TOOLBAR)(IDV_TOOLBAR,IDC_TOOL_B_MAINMENU_N)
②(ID?DESKTOP,IDV?TOOLBAR)(IDV?T00LBAR,IDC_TOOL_B_MAINMENU_N)
(IDD_MAIN_MENU,IDC_MAINMENUDLG_B_PATIENT)
This is two absolute path, all is from the initial interface record, 1. corresponding first click action in path, 2. corresponding second click action in path.From the path 2. again as can be seen, arrive the patient management menu bar button in the master menu, by way of the main menu button on the TOOLBAR, so they all are absolute path from the initial interface opening entry; If each two tuple is regarded as a node on the operating process chain, article one path has only two each and every one nodes so, second operational chain has three nodes, such operational chain will go on record as a part of data of recording towards control, in recording process, also to write down simultaneously the result of variations of the property value of control, the record of control property is not the change process of certain control content of record, and after only writing down the change of control property value, the control property value when cursor leaves this control.Each control property value disposal route is as follows:
A) conventional push button: write down property value during clicked recording and change into 1, represent clicked mistake; There are not clicked then not record path and property value;
B) multiselect button: write down property value during selected recording and change into 1; Cancellation is chosen and is write down property value when recording and change into 0;
C) radio button: write down property value during selected recording and change into 1; Cancellation is chosen and is write down property value when recording and change into 0;
D) edit box: then write down the character string in the Edit frame after filling in;
E) combobox: the sequence number that writes down selected clauses and subclauses;
F) trim button: the control displayed value after the record fine setting.
In addition, " towards recording of control object " also can be triggered by button, operation to button causes moving of focus, focus is transferred to from a control and can be caused control ID to change on another control, so when a stake program detects because button is pressed also can trigger when causing focus to change records, but to recording of actuation of keys also is only to write down effective click that can change control behavior or property value, after control ID changes, generate absolute path according to this control, and write down the value after this control property changes.
Described " recording towards step " is be pressed on the record object switch dish keypad code of key and the operational code of knob rotation, these keypad codes or operational code are write as the instruction that is easy to discern when forming script, for example, operational code in the carryover preface that knob is counterclockwise is 0x35, the instruction that is easy to discern of being write as in script is ACLK, can be write as ACLK3 if make knob change 3 next scripts counterclockwise, step is recorded record as control object one and is replenished, such as the grid control more complicated, be difficult to realization by recording/reproducing method merely and maybe can't realize recording/reproducing towards control object, because the complex control of form and so on may comprise a plurality of child controls, often be difficult to determine focus is on which child control, the also difficult in addition attribute change that causes complicated father's control with accurate recording to the operation child control, step is recorded and is abandoned writing down the control property value and be changed to cost, but employing is recorded to solve towards step this problem is oversimplified, because step is recorded the number of operations that only needs record button or knob.The recording process of an actuation of keys is represented as shown in Figure 5.At first, catch the action of button or knob; Then, judge whether the action of button or knob is effective action,, then ignore this action if not effective action; If effective action, then write down the operational code of the keypad code or the knob of button; At last, the operational code of the keypad code of button or knob is uploaded in the test script in the computing machine.
Script generative process corresponding to target machine is: the stake program that resides in recording process on the target machine will capture the data such as " action, path, property values " that " recording towards control object " or " recording towards step " produces, these data are organized bag, pass through ethernet link, use is transferred to PC based on the agreement of TCP/IP, PC then according to a preconcerted arrangement agreement packet is unpacked, then directive script and simultaneously storing path and property value are translated in action; Script generative process corresponding to simulator is: PC sends the instruction that simulator itself just can be discerned by serial ports to simulator when recording, and simultaneously these instructions is write in the script file in the directive script mode of easier reading.
The test case that playback is recorded as shown in Figure 6, comprises the steps: at first, and scene is arranged before resetting, and chooses script file, system relationship relevant parameters data file; Then, read instruction and execution in the script file, described instruction and execution of reading in the script file comprises the steps:
S1) whether decision instruction is the operation to the graphic user interface of target machine, if, then reset towards control object or towards the step operation, and execution in step S4; If not, execution in step S2 then;
S2) whether decision instruction is that key point is inserted operation, if then collect target machine information, then execution in step S4; If not, execution in step S3 then;
S3) whether decision instruction is the operation to simulator, if, then sending instructions to simulator, simulator sends signal, then execution in step S4; If not, execution in step S4;
S4) judge whether action sequence carries out end, if, then continue down to carry out, the scene after resetting is recovered, finish replay operations; If action sequence is not carried out end, then continue to read the instruction that next bar is reset and moved, carry out above-mentioned steps S1 then.
Wherein, before resetting scene arrange with Fig. 3 in record before the scene layout corresponding, be to arrange the more preceding machines configurations of test, comprise the software initialization of finishing the circuit connection and finishing by manual, such as carrying out the machine initialization directive before resetting/recording by directive script; It is the hardware and software test environment of cancelling the usefulness of resetting/record that the back scene of resetting/record is recovered.Choose script file when resetting beginning; In case auto-associating relevant parameters data file is understood by system after choosing script file, read the instruction in the file and make an explanation, system can automatically seek corresponding parameter value and replace this parameter when running into parameter in interpretation process in the supplemental characteristic file, system can judge that current is which takes turns playback during replacement, system uses the numerical value of respective wheel and replaces parameter, for example PRESS3 represents that knob presses 3 times, and being write as parametric form and be exactly PRESS $a , $a is parameter; Test procedure can be converted into " relative path " to former and later two " absolute path " and carries out in the implementation, and this method according to " relative path " execution command is more near " institute record be put " thought.Now illustrate the notion of " relative path ", if with A, B, node in expression such as the C path, the absolute path that the first step is read from script in the playback procedure is " A--〉B--〉C ", arrive C from A after the executable operations, this moment, this paths just became the current path at cursor place, second absolute path from script, read of step for " A--〉B--〉C--D--E ", Here it is second destination path that will carry out of step, detective pole program meeting automatic comparison object path and current path, converse relative path and be " D--〉E ", like this, tested program will continue to carry out " D--〉E " having operated on the basis of the first step, and can not carry out E from A according to absolute path.
The content of recording in order to write down, the present invention has defined the simple and clear script of a cover, and the key word and the grammar explanation thereof that use in the script are as follows:
CASE CASEEND
The expression use-case begins and end mark, match use, CASE heel use-case ID and use-case title
For example: first use-case of CASE n
……
CASE?END
N represents the use-case numbering, and " first use-case " is the use-case title
GOTO localizing objects control
For example: GOTO IDV_BIS_PV IDC_BIS_PV_B_NAME
IDD_BIS_PSD IDC_BIS_PSD_SB_BIS_LO
Expression is that the control DATA of IDC_BIS_PSD_SB_BIS_LO represents value setting through arriving ID after a series of actions
For example: the property value of DATA 20 expression controls is set to 20
OBSERVE is provided with the observation point mark, is no value simple instruction.
PSACTION is provided with the simulator instruction
For example: simulator parameter simulation heartbeat number of times 60/ minute is set
PSACTION ECG BPM 60bpm
Circulation of LOOP LOOPEND assignment procedure and number of times
For example: LOOP 3
GOTO IDV_NIBP_PV?IDC_NIBP_PV_B_NAME
LOOPEND
The number of times that the process of 3 expression LOOP between LOOPEND that wherein LOOP was expert at carried out repeatedly
The instruction of REMARK note
For example: this is delegation's note instruction for REMARK.
The PRESS knob is pressed
For example: PRESS 3 expression knobs are by 3 times.
The CLK knob changes clockwise
The ACLK knob changes counterclockwise
Record interface such as Fig. 7 of playback in the test procedure.Be described below:
Wherein, recording process is:
(1) configure computing machine and target machine and simulator physical connection by Fig. 1, the test procedure of operation on the computing machine enters and records playback interface such as Fig. 7, enter this interface before, system can point out and require the script name selecting test block place catalogue and will generate.
(2) fill in the use-case title, click " recording beginning " button, manual executable operations on target machine; All simulator operations are carried out by the simulator soft keyboard in the test procedure, and insert test critical observation point at the needs test analysis or when being worth comparison, point " stops to record " button after executing all operations, can generate the test case script, certainly if want to abandon recording, then can " abandon recording " button by point midway.
(3) record and to select " script editor " button to open the script of recording after finishing, according to the script syntax rule script step of recording is carried out simple editing, such as adding circulation, change parameter, increasing test data, for use in regression test or pressure test.
Wherein, playback procedure is:
(1) configuring test scene by Fig. 1 is hardware environment and software test condition, open after configuration is finished and record playback interface as shown in Figure 7, system can list all use-case titles of preservation with form of scripts, according to title, the test that selection will be carried out is also specified and is carried out number of times, saving options of execution result also can be pointed out by system, promptly selects to preserve the test data of collecting in all test processs or only keep the result, and some the Replay button begins to carry out.
(2) system's test of resetting automatically, in the test process for each use-case compare test key point one by one, all by then being recorded as " PASS ", otherwise " FAIL ".
(3) carrying out end back system can point out, and generates destination file automatically, and the use-case of all " FAIL " is marked with red big font; And according to execution script file and the name preservation automatically of execution concluding time.
The realization system for carrying out said process comprises records module and playback module; The described module of recording comprises: the operation steps that is used for the recording operation personnel, be set up the data of parameter, and the result's of target machine operation recording elements, the data that are used for recording transfer to the transmission unit of computing machine by PORT COM, be used to move the program run unit of the test procedure on the computing machine, the script file generation unit that is used to accept the test procedure instruction and the data of recording is saved as script file with key word, the required numerical value that is used for revising script file is the numerical value edit cell of parameter, is used to deposit the Database Unit of parameter corresponding data; Described playback module comprises: the file call unit that is used to move test procedure, invoke script file, the corresponding data that is used for receiving script file and reading in parameter database is replaced parameter, and analyzing script file, script file imported the data parsing and the performance element of target machine, be arranged in target machine, be used for resolving and carry out the stake program resolution unit of the instruction of script, be used to receive a result of program resolution unit operation and operation result is returned computing machine analysis, and the processing unit that outputs test result.
Described recording elements comprises towards the control object recording elements or towards the step recording elements.
Describedly comprise: first capture module that is used to record mouse action towards the control object recording elements, described first capture module is recorded a series of actions of mouse, wherein recording of mouse action only write down effective click that can change control behavior or property value, comprise the absolute path of control and the attribute of control; Be used to judge whether the click action is first judge module of effective action; Be used for judging second judge module whether the control ID that judges click after click action is effective action changes at first judge module; Be used for when second judge module judges that the control ID of click changes, generate the absolute path corresponding, write down first logging modle of the value after the control property change with this control; With first transport module of value in the test script of computing machine that is used for uploading after absolute path and control property change.
Describedly record module towards step and comprise: second capture module that is used to catch button or knob action; The button or the knob action that are used for catching according to second capture module judge whether the action of button or knob is the 3rd judge module of effective action; The action that is used for judging button or knob at the 3rd judge module is second logging modle of the operational code of the keypad code of back record button or knob effectively; Second transport module of the operational code that is used for uploading the keypad code of button or knob in the test script of computing machine.
Described playback module also comprises: be used for the relating module according to the related relevant parameters data file of the script file of choosing; With the execution module of the instruction and the execution that are used for reading script file, described execution module is used in the process of implementation former and later two absolute path being scaled relative path.
Whether described execution module: being used for decision instruction is the 4th judge module that the graphic user interface of target machine is operated if comprising; Being used in the 4th judge module decision instruction is to reset when the graphic user interface of target machine is operated towards control object or towards the playback module of step operation; Being used in the 4th judge module decision instruction is not that whether decision instruction was the 5th judge module that key point is inserted operation when the graphic user interface of target machine was operated; Be used for when the 5th judge module decision instruction is key point insertion operation, collecting the information acquisition module of information on the target machine; Be used for the 5th judge module decision instruction be not key point when inserting operation decision instruction whether be the 6th judge module to the operation of simulator; Be used for sending the sending module of instruction to simulator; Be used for judging in any one back that is finished of playback module, information acquisition module and sending module whether action sequence carries out the 7th judge module of end, described the 7th judge module is used for after judging that action sequence is carried out end, then jumping out circulation continues down to carry out, when action sequence is not carried out end, then continue to read the instruction that next bar is reset and moved, control the 4th judge module instruction is judged.
It more than is the detailed description of the present invention being carried out in conjunction with embodiment, the present invention is the playback formula of the recording method of testing that is used for embedded software test, not only can be applied in and carry out software test in the medical monitoring equipment, also can be used for other industry and similarly carry out software test in the embedding equipment; Method for recording among the present invention can also need be followed the tracks of with recording user operation and preserves in the embedded product of daily record and use at some.Therefore,, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention for the general technical staff of the technical field of the invention.
Claims (14)
1. the method for testing of an embedded software is characterized in that, may further comprise the steps:
1) records operation, generate test script target machine;
2) script of resetting and being recorded;
Wherein, described step 1 comprises the steps:
11) result who utilizes the operation steps of the stake program recording operation personnel on the target machine, the data that are set up parameter and target machine to move, the object of recording comprises recording the operation of the graphic user interface of target machine, simulator operation and key point insertion operation;
12) data of recording are transferred to computing machine by PORT COM;
13) test procedure on the operation computing machine;
14) test procedure receives the data of recording, and the data of recording are saved as the script file with key word;
15) the needed value part of revising in the script is a parameter;
16) set up database file on computers, deposit the data of parameter correspondence;
Wherein, described step 2 comprises the steps:
21) test procedure on the operation computing machine;
22) test procedure invoke script file and read in corresponding data in the parameter database and replace parameter in the script file;
23) analyzing script file and import target machine;
24) instruction in the script is resolved and carried out to the stake program in the target machine;
25) operation result is returned computing machine analysis, and output test result.
2. the method for testing of embedded software as claimed in claim 1 is characterized in that: the method for recording employing of in the described step 11 graphic user interface of target machine being operated " towards recording of control object " or " recording towards the step operation ".
3. the method for testing of embedded software as claimed in claim 2, it is characterized in that: described " towards recording of control object " is to be triggered by mouse action, record a series of actions of mouse, wherein recording of mouse action only write down effective click that can change control behavior or property value, comprise the absolute path of control and the attribute of control, comprise the steps:
A1) click action of seizure mouse;
A2) judge that whether this click action is effective action, if not effective action, then ignores this action; If effective action, then execution in step A3;
A3) whether the control ID that judges click changes, and does not become if, and then ignores this click action; If control ID has changed, execution in step A4 then;
A4) generate the absolute path corresponding with this control, and the value after the change of record control property;
A5) in the test script of the value after uploading absolute path and control property and changing in the computing machine.
4. the method for testing of embedded software as claimed in claim 3, it is characterized in that: described absolute path is meant from the initial interface of target machine graphical user interface, arrive the target control, by way of each window and window on clicked formed two tuples of control, the form of described two tuples is (WndId, ItemId), wherein WndId is each grade window Id, and ItemId receives on this window effectively to click back attribute or the reformed control Id of behavior.
5. the method for testing of embedded software as claimed in claim 2, it is characterized in that: described " recording towards step " is the operational code of the keypad code that is pressed on the keyboard of record object machine and knob rotation, and the operation of recording button or knob may further comprise the steps:
B1) action of seizure button or knob;
B2) whether the action of judging button or knob is effective action, if not effective action, then ignores this action; If effective action, then execution in step B3;
B3) keypad code of record button or the operational code of knob;
B4) in the test script of the operational code of uploading the keypad code of button or knob in the computing machine.
6. as the method for testing of each described embedded software in the claim 1 to 5, it is characterized in that: also comprise the steps: in the described step 2
C1) choose script file, system relationship relevant parameters data file;
C2) read instruction and execution in the script file, test procedure is scaled relative path to former and later two absolute path in the implementation.
7. the method for testing of embedded software as claimed in claim 6, it is characterized in that: described step C2 is a cyclic process, comprises the steps:
S1) whether decision instruction is the operation to the graphic user interface of target machine, if, then reset towards control object or towards the step operation, and execution in step S4; If not, execution in step S2 then;
S2) whether decision instruction is that key point is inserted operation, if then collect target machine information, then execution in step S4; If not, execution in step S3 then;
S3) whether decision instruction is the operation to simulator, if, then sending instructions to simulator, simulator sends signal, then execution in step S4; If not, execution in step S4;
S4) judge whether action sequence carries out end, if then jump out circulation and continue down to carry out; If action sequence is not carried out end, then continue to read the instruction that next bar is reset and moved, carry out above-mentioned steps S1.
8. the test macro of an embedded software is characterized in that: comprise and record module and playback module; The described module of recording comprises:
The recording elements that is used for the result of recording operation personnel's operation steps, the data that are set up parameter and target machine operation;
The data that are used for recording transfer to the transmission unit of computing machine by PORT COM;
Be used to move the program run unit of the test procedure on the computing machine;
The script file generation unit that is used to accept the test procedure instruction and the data of recording is saved as script file with key word;
The required numerical value that is used for revising script file is the numerical value edit cell of parameter;
Be used to deposit the Database Unit of parameter corresponding data;
Described playback module comprises:
Be used to move the file call unit of test procedure, invoke script file;
The corresponding data that is used for receiving script file and reading in parameter database is replaced parameter, and analyzing script file, script file is imported the data parsing and the performance element of target machine;
Be arranged in target machine, be used for resolving and carry out the stake program resolution unit of the instruction of script;
Be used to receive a result of program resolution unit operation and operation result is returned computing machine analysis, and the processing unit that outputs test result.
9. embedded software test as claimed in claim 8 system, it is characterized in that: described recording elements comprises towards the control object recording elements or towards the step recording elements.
10. embedded software test as claimed in claim 9 system is characterized in that: describedly comprise towards the control object recording elements:
Be used to record first capture module of mouse action, described first capture module is recorded a series of actions of mouse, wherein recording of mouse action only write down effective click that can change control behavior or property value, comprise the absolute path of control and the attribute of control;
Be used to judge whether the click action is first judge module of effective action;
Be used for judging second judge module whether the control ID that judges click after click action is effective action changes at first judge module;
Be used for when second judge module judges that the control ID of click changes, generate the absolute path corresponding, write down first logging modle of the value after the control property change with this control;
Be used for uploading control ID and control property and change after first transport module of value in the test script of computing machine.
11. the test macro of embedded software as claimed in claim 10, it is characterized in that: described absolute path is meant from the initial interface of target machine graphical user interface, arrive the target control, by way of each window and window on clicked formed two tuples of control, the form of described two tuples is (WndId, ItemId), wherein WndId is each grade window Id, and ItemId receives on this window effectively to click back attribute or the reformed control Id of behavior.
12. the test macro of embedded software as claimed in claim 9 is characterized in that: describedly record module towards step and comprise:
Be used to catch second capture module of button or knob action;
The button or the knob action that are used for catching according to second capture module judge whether the action of button or knob is the 3rd judge module of effective action;
The action that is used for judging button or knob at the 3rd judge module is second logging modle of the operational code of the keypad code of back record button or knob effectively;
Second transport module of the operational code that is used for uploading the keypad code of button or knob in the test script of computing machine.
13. the test macro of embedded software as claimed in claim 8 is characterized in that: described playback module also comprises: be used for the relating module according to the related relevant parameters data file of the script file of choosing; With the execution module of the instruction and the execution that are used for reading script file, described execution module is used in the process of implementation former and later two absolute path being scaled relative path.
14. the test macro of embedded software as claimed in claim 13 is characterized in that: described execution module comprises:
Whether be used for decision instruction is the 4th judge module that the graphic user interface of target machine is operated;
Being used in the 4th judge module decision instruction is to reset when the graphic user interface of target machine is operated towards control object or towards the playback module of step operation;
Being used in the 4th judge module decision instruction is not that whether decision instruction was the 5th judge module that key point is inserted operation when the graphic user interface of target machine was operated;
Be used for when the 5th judge module decision instruction is key point insertion operation, collecting the information acquisition module of information on the target machine;
Be used for the 5th judge module decision instruction be not key point when inserting operation decision instruction whether be the 6th judge module to the operation of simulator;
Be used for sending the sending module of instruction to simulator;
Be used for judging in any one back that is finished of playback module, information acquisition module and sending module whether action sequence carries out the 7th judge module of end, described the 7th judge module is used for after judging that action sequence is carried out end, then jumping out circulation continues down to carry out, when action sequence is not carried out end, then continue to read the instruction that next bar is reset and moved, control the 4th judge module instruction is judged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710073296XA CN101241466B (en) | 2007-02-08 | 2007-02-08 | Embedded software test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710073296XA CN101241466B (en) | 2007-02-08 | 2007-02-08 | Embedded software test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101241466A true CN101241466A (en) | 2008-08-13 |
CN101241466B CN101241466B (en) | 2010-09-29 |
Family
ID=39933009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710073296XA Expired - Fee Related CN101241466B (en) | 2007-02-08 | 2007-02-08 | Embedded software test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101241466B (en) |
Cited By (57)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101957793A (en) * | 2010-09-03 | 2011-01-26 | 中国科学院软件研究所 | Android and android derivative system-oriented method for playing back software operation record |
CN102004695A (en) * | 2010-12-08 | 2011-04-06 | 深圳市茁壮网络股份有限公司 | Method and system for testing browser |
CN102169457A (en) * | 2010-02-25 | 2011-08-31 | 通用汽车环球科技运作有限责任公司 | Functional test generation through model inversion |
CN102360333A (en) * | 2011-10-17 | 2012-02-22 | 哈尔滨工业大学 | Method for analyzing reliability of component software considering failure recovery process based on HISQM (Hybrid Infinite Server Queue Module) |
CN102486748A (en) * | 2010-12-02 | 2012-06-06 | 金蝶软件(中国)有限公司 | Method and device for performance test |
CN102495802A (en) * | 2011-12-26 | 2012-06-13 | 华为技术有限公司 | Method and device for testing software system, and computer system |
CN102508762A (en) * | 2011-09-29 | 2012-06-20 | 用友软件股份有限公司 | Data interaction control device and data interaction control method |
CN102519514A (en) * | 2011-11-16 | 2012-06-27 | 中国电子科技集团公司第四十一研究所 | One-click automatic testing realization method of electronic test instrument |
CN102541734A (en) * | 2011-12-27 | 2012-07-04 | Tcl集团股份有限公司 | Method and device for testing pressure of equipment based on android platform |
CN102622234A (en) * | 2012-03-07 | 2012-08-01 | 迈普通信技术股份有限公司 | Development system and method for automatic test case |
CN102636704A (en) * | 2012-03-05 | 2012-08-15 | 深圳市英威腾电气股份有限公司 | Testing method, device and system for electronic product |
CN102750135A (en) * | 2011-04-20 | 2012-10-24 | 卡斯柯信号有限公司 | Isolation-based software designing method |
CN102955692A (en) * | 2011-08-29 | 2013-03-06 | 鸿富锦精密工业(深圳)有限公司 | Parameter analyzing tool and analyzing method |
CN102999344A (en) * | 2012-11-30 | 2013-03-27 | 广东欧珀移动通信有限公司 | Intelligent terminal and method and device for user-defined operation set thereof |
CN101706750B (en) * | 2009-11-16 | 2013-04-10 | 西安邮电学院 | Detective pole acquiring method based on embedded type simulator |
CN103116541A (en) * | 2013-01-24 | 2013-05-22 | 无锡飞翎电子有限公司 | Debugging detection method of washing machine embedding type system utilizing computer |
CN103135986A (en) * | 2013-01-25 | 2013-06-05 | 中国人民解放军装甲兵工程学院 | Method and system for operation collection |
CN103365770A (en) * | 2012-04-09 | 2013-10-23 | 陆兵 | Mobile terminal software testing system and software testing method |
CN103530218A (en) * | 2013-10-09 | 2014-01-22 | 韩金倡 | Monitoring triggering method based on behavior detection |
CN103793324A (en) * | 2012-10-26 | 2014-05-14 | 三星电子株式会社 | Testing apparatus for embedded software, testing method thereof and test scenario composing method |
CN103928038A (en) * | 2014-04-29 | 2014-07-16 | 广东欧珀移动通信有限公司 | Electronic equipment test recording and playing back method |
CN103927257A (en) * | 2013-01-16 | 2014-07-16 | 珠海市君天电子科技有限公司 | Method and device for triggering android behavior event |
CN104142883A (en) * | 2013-05-08 | 2014-11-12 | 阿里巴巴集团控股有限公司 | Testing method and recording tool |
CN104424089A (en) * | 2013-08-21 | 2015-03-18 | 中兴通讯股份有限公司 | Terminal testing method and device |
CN104423961A (en) * | 2013-09-11 | 2015-03-18 | 阿里巴巴集团控股有限公司 | Method and system for generating testing script |
CN104794050A (en) * | 2014-01-21 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Application program test method, device and system |
CN104820638A (en) * | 2015-04-17 | 2015-08-05 | 中国电子科技集团公司第四十一研究所 | Embedded whole machine automatic testing method |
CN104956339A (en) * | 2013-01-31 | 2015-09-30 | 惠普发展公司,有限责任合伙企业 | Generating software test script from video |
CN105607985A (en) * | 2015-09-29 | 2016-05-25 | 中国船舶重工集团公司第七0九研究所 | Qt graphical interface software-based operation log recording method and system |
CN105718370A (en) * | 2016-01-21 | 2016-06-29 | 上海斐讯数据通信技术有限公司 | Android equipment test method and test device |
CN103885439B (en) * | 2014-03-21 | 2016-06-29 | 上海富欣智能交通控制有限公司 | The automatization test system of railway signal computer interlock system |
CN105893255A (en) * | 2016-03-30 | 2016-08-24 | 西安电子工程研究所 | Radar seeker data processing DSP software testing method |
CN106021099A (en) * | 2016-05-12 | 2016-10-12 | 上海联彤网络通讯技术有限公司 | System and method for achieving UI automatic test of intelligent terminal |
CN106155886A (en) * | 2015-03-31 | 2016-11-23 | 北京奇虎科技有限公司 | The method and apparatus that a kind of key Mus script processes |
CN106155649A (en) * | 2015-03-31 | 2016-11-23 | 北京奇虎科技有限公司 | A kind of key Mus script processing method and device |
CN106528413A (en) * | 2016-10-27 | 2017-03-22 | 北京锐安科技有限公司 | Method and device for testing application program |
CN106603260A (en) * | 2015-10-19 | 2017-04-26 | 北京京东尚科信息技术有限公司 | WCF service test method |
CN106708528A (en) * | 2016-12-28 | 2017-05-24 | 北京奇虎科技有限公司 | Script generating method and device |
CN106844202A (en) * | 2016-12-30 | 2017-06-13 | 和创(北京)科技股份有限公司 | Generate the method and terminal device of test case |
CN107733735A (en) * | 2017-06-01 | 2018-02-23 | 云智慧(北京)科技有限公司 | Script recording system and method |
CN107908553A (en) * | 2017-11-02 | 2018-04-13 | 平安科技(深圳)有限公司 | Correlation testing method, application server and computer-readable recording medium |
CN108563539A (en) * | 2018-03-21 | 2018-09-21 | 广州视源电子科技股份有限公司 | Interface testing method, server, readable storage medium and system |
CN109299009A (en) * | 2018-09-25 | 2019-02-01 | 金蝶软件(中国)有限公司 | Data test method, apparatus, computer equipment and storage medium |
CN104461855B (en) * | 2013-09-22 | 2019-03-26 | 腾讯科技(北京)有限公司 | A kind of Web automated testing method, system and device |
CN109684196A (en) * | 2018-11-01 | 2019-04-26 | 北京中清龙图网络技术有限公司 | A kind of test method and device |
CN110554939A (en) * | 2019-08-01 | 2019-12-10 | 深圳亿智时代科技有限公司 | method, system and terminal for debugging embedded equipment |
CN110837467A (en) * | 2019-10-30 | 2020-02-25 | 深圳开立生物医疗科技股份有限公司 | Software testing method, device and system |
CN110990283A (en) * | 2019-12-04 | 2020-04-10 | 中国直升机设计研究所 | Method for automatically testing robustness of airborne display and control software |
CN111880026A (en) * | 2020-07-07 | 2020-11-03 | 武汉精立电子技术有限公司 | Panel inspection device |
CN113127348A (en) * | 2021-04-19 | 2021-07-16 | 广州掌动智能科技有限公司 | Method, system and storage medium for recording automatic test script of software |
CN113448820A (en) * | 2020-03-25 | 2021-09-28 | 中移(成都)信息通信科技有限公司 | Webpage testing method and device |
CN113505439A (en) * | 2021-07-27 | 2021-10-15 | 北京微纳星空科技有限公司 | Test method, device, equipment and storage medium |
CN113778890A (en) * | 2021-09-16 | 2021-12-10 | 平安银行股份有限公司 | Code testing method and device, electronic equipment and storage medium |
CN113923443A (en) * | 2021-09-27 | 2022-01-11 | 深圳市天视通视觉有限公司 | Network video recorder testing method and device and computer readable storage medium |
CN114153726A (en) * | 2021-11-25 | 2022-03-08 | 麒麟软件有限公司 | Login test method and device based on linux desktop operating system |
CN114839920A (en) * | 2022-04-28 | 2022-08-02 | 广东博力威科技股份有限公司 | Battery protection board test macro instruction based on motion capture and control system thereof |
CN116301471A (en) * | 2023-05-18 | 2023-06-23 | 深圳前海环融联易信息科技服务有限公司 | Method for realizing automatic file insertion and automatic file insertion method |
-
2007
- 2007-02-08 CN CN200710073296XA patent/CN101241466B/en not_active Expired - Fee Related
Cited By (83)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101706750B (en) * | 2009-11-16 | 2013-04-10 | 西安邮电学院 | Detective pole acquiring method based on embedded type simulator |
CN102169457A (en) * | 2010-02-25 | 2011-08-31 | 通用汽车环球科技运作有限责任公司 | Functional test generation through model inversion |
CN101957793A (en) * | 2010-09-03 | 2011-01-26 | 中国科学院软件研究所 | Android and android derivative system-oriented method for playing back software operation record |
CN102486748A (en) * | 2010-12-02 | 2012-06-06 | 金蝶软件(中国)有限公司 | Method and device for performance test |
CN102486748B (en) * | 2010-12-02 | 2015-07-15 | 金蝶软件(中国)有限公司 | Method and device for performance test |
CN102004695A (en) * | 2010-12-08 | 2011-04-06 | 深圳市茁壮网络股份有限公司 | Method and system for testing browser |
CN102750135A (en) * | 2011-04-20 | 2012-10-24 | 卡斯柯信号有限公司 | Isolation-based software designing method |
CN102750135B (en) * | 2011-04-20 | 2015-01-21 | 卡斯柯信号有限公司 | Isolation-based software designing method |
CN102955692A (en) * | 2011-08-29 | 2013-03-06 | 鸿富锦精密工业(深圳)有限公司 | Parameter analyzing tool and analyzing method |
CN102508762A (en) * | 2011-09-29 | 2012-06-20 | 用友软件股份有限公司 | Data interaction control device and data interaction control method |
CN102360333B (en) * | 2011-10-17 | 2015-08-19 | 哈尔滨工业大学 | The component software reliability analysis method of troubleshooting process is considered based on HISQM queuing model |
CN102360333A (en) * | 2011-10-17 | 2012-02-22 | 哈尔滨工业大学 | Method for analyzing reliability of component software considering failure recovery process based on HISQM (Hybrid Infinite Server Queue Module) |
CN102519514A (en) * | 2011-11-16 | 2012-06-27 | 中国电子科技集团公司第四十一研究所 | One-click automatic testing realization method of electronic test instrument |
CN102519514B (en) * | 2011-11-16 | 2015-01-14 | 中国电子科技集团公司第四十一研究所 | One-click automatic testing realization method of electronic test instrument |
CN102495802A (en) * | 2011-12-26 | 2012-06-13 | 华为技术有限公司 | Method and device for testing software system, and computer system |
CN102495802B (en) * | 2011-12-26 | 2015-03-18 | 华为技术有限公司 | Method and device for testing software system, and computer system |
CN102541734A (en) * | 2011-12-27 | 2012-07-04 | Tcl集团股份有限公司 | Method and device for testing pressure of equipment based on android platform |
CN102541734B (en) * | 2011-12-27 | 2014-12-17 | Tcl集团股份有限公司 | Method and device for testing pressure of equipment based on android platform |
CN102636704A (en) * | 2012-03-05 | 2012-08-15 | 深圳市英威腾电气股份有限公司 | Testing method, device and system for electronic product |
CN102622234B (en) * | 2012-03-07 | 2015-07-15 | 迈普通信技术股份有限公司 | Development system and method for automatic test case |
CN102622234A (en) * | 2012-03-07 | 2012-08-01 | 迈普通信技术股份有限公司 | Development system and method for automatic test case |
CN103365770B (en) * | 2012-04-09 | 2016-01-13 | 上海马乐软件有限公司 | Mobile terminal software test macro and method for testing software |
CN103365770A (en) * | 2012-04-09 | 2013-10-23 | 陆兵 | Mobile terminal software testing system and software testing method |
CN103793324A (en) * | 2012-10-26 | 2014-05-14 | 三星电子株式会社 | Testing apparatus for embedded software, testing method thereof and test scenario composing method |
CN102999344A (en) * | 2012-11-30 | 2013-03-27 | 广东欧珀移动通信有限公司 | Intelligent terminal and method and device for user-defined operation set thereof |
CN103927257A (en) * | 2013-01-16 | 2014-07-16 | 珠海市君天电子科技有限公司 | Method and device for triggering android behavior event |
CN103116541A (en) * | 2013-01-24 | 2013-05-22 | 无锡飞翎电子有限公司 | Debugging detection method of washing machine embedding type system utilizing computer |
CN103135986B (en) * | 2013-01-25 | 2015-11-25 | 中国人民解放军装甲兵工程学院 | A kind of operation acquisition method and system |
CN103135986A (en) * | 2013-01-25 | 2013-06-05 | 中国人民解放军装甲兵工程学院 | Method and system for operation collection |
US10019346B2 (en) | 2013-01-31 | 2018-07-10 | Entit Software Llc | Generating software test script from video |
CN104956339A (en) * | 2013-01-31 | 2015-09-30 | 惠普发展公司,有限责任合伙企业 | Generating software test script from video |
CN104142883A (en) * | 2013-05-08 | 2014-11-12 | 阿里巴巴集团控股有限公司 | Testing method and recording tool |
CN104142883B (en) * | 2013-05-08 | 2017-04-12 | 阿里巴巴集团控股有限公司 | Testing method and recording tool |
CN104424089A (en) * | 2013-08-21 | 2015-03-18 | 中兴通讯股份有限公司 | Terminal testing method and device |
CN104423961A (en) * | 2013-09-11 | 2015-03-18 | 阿里巴巴集团控股有限公司 | Method and system for generating testing script |
CN104423961B (en) * | 2013-09-11 | 2017-11-17 | 阿里巴巴集团控股有限公司 | A kind of method and system for generating test script |
CN104461855B (en) * | 2013-09-22 | 2019-03-26 | 腾讯科技(北京)有限公司 | A kind of Web automated testing method, system and device |
CN103530218A (en) * | 2013-10-09 | 2014-01-22 | 韩金倡 | Monitoring triggering method based on behavior detection |
CN104794050B (en) * | 2014-01-21 | 2018-09-18 | 腾讯科技(深圳)有限公司 | The test method of application program, apparatus and system |
CN104794050A (en) * | 2014-01-21 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Application program test method, device and system |
CN103885439B (en) * | 2014-03-21 | 2016-06-29 | 上海富欣智能交通控制有限公司 | The automatization test system of railway signal computer interlock system |
CN103928038A (en) * | 2014-04-29 | 2014-07-16 | 广东欧珀移动通信有限公司 | Electronic equipment test recording and playing back method |
CN103928038B (en) * | 2014-04-29 | 2017-06-30 | 广东欧珀移动通信有限公司 | The test recording of electronic equipment and back method |
CN106155886B (en) * | 2015-03-31 | 2019-05-14 | 北京奇虎科技有限公司 | A kind of method and apparatus of key mouse script processing |
CN106155886A (en) * | 2015-03-31 | 2016-11-23 | 北京奇虎科技有限公司 | The method and apparatus that a kind of key Mus script processes |
CN106155649A (en) * | 2015-03-31 | 2016-11-23 | 北京奇虎科技有限公司 | A kind of key Mus script processing method and device |
CN106155649B (en) * | 2015-03-31 | 2020-02-14 | 北京奇虎科技有限公司 | Keyboard and mouse script processing method and device |
CN104820638A (en) * | 2015-04-17 | 2015-08-05 | 中国电子科技集团公司第四十一研究所 | Embedded whole machine automatic testing method |
CN105607985A (en) * | 2015-09-29 | 2016-05-25 | 中国船舶重工集团公司第七0九研究所 | Qt graphical interface software-based operation log recording method and system |
CN105607985B (en) * | 2015-09-29 | 2018-02-06 | 中国船舶重工集团公司第七0九研究所 | Operation log recording method and system based on Qt graphic interface softwares |
CN106603260A (en) * | 2015-10-19 | 2017-04-26 | 北京京东尚科信息技术有限公司 | WCF service test method |
CN105718370A (en) * | 2016-01-21 | 2016-06-29 | 上海斐讯数据通信技术有限公司 | Android equipment test method and test device |
CN105893255A (en) * | 2016-03-30 | 2016-08-24 | 西安电子工程研究所 | Radar seeker data processing DSP software testing method |
CN106021099A (en) * | 2016-05-12 | 2016-10-12 | 上海联彤网络通讯技术有限公司 | System and method for achieving UI automatic test of intelligent terminal |
CN106528413A (en) * | 2016-10-27 | 2017-03-22 | 北京锐安科技有限公司 | Method and device for testing application program |
CN106708528A (en) * | 2016-12-28 | 2017-05-24 | 北京奇虎科技有限公司 | Script generating method and device |
WO2018121582A1 (en) * | 2016-12-28 | 2018-07-05 | 北京奇虎科技有限公司 | Script generation method and device |
CN106844202A (en) * | 2016-12-30 | 2017-06-13 | 和创(北京)科技股份有限公司 | Generate the method and terminal device of test case |
CN107733735A (en) * | 2017-06-01 | 2018-02-23 | 云智慧(北京)科技有限公司 | Script recording system and method |
CN107908553A (en) * | 2017-11-02 | 2018-04-13 | 平安科技(深圳)有限公司 | Correlation testing method, application server and computer-readable recording medium |
CN108563539A (en) * | 2018-03-21 | 2018-09-21 | 广州视源电子科技股份有限公司 | Interface testing method, server, readable storage medium and system |
CN109299009A (en) * | 2018-09-25 | 2019-02-01 | 金蝶软件(中国)有限公司 | Data test method, apparatus, computer equipment and storage medium |
CN109684196B (en) * | 2018-11-01 | 2024-01-09 | 北京中清龙图网络技术有限公司 | Test method and device |
CN109684196A (en) * | 2018-11-01 | 2019-04-26 | 北京中清龙图网络技术有限公司 | A kind of test method and device |
CN110554939A (en) * | 2019-08-01 | 2019-12-10 | 深圳亿智时代科技有限公司 | method, system and terminal for debugging embedded equipment |
CN110837467B (en) * | 2019-10-30 | 2024-04-16 | 深圳开立生物医疗科技股份有限公司 | Software testing method, device and system |
CN110837467A (en) * | 2019-10-30 | 2020-02-25 | 深圳开立生物医疗科技股份有限公司 | Software testing method, device and system |
CN110990283A (en) * | 2019-12-04 | 2020-04-10 | 中国直升机设计研究所 | Method for automatically testing robustness of airborne display and control software |
CN113448820A (en) * | 2020-03-25 | 2021-09-28 | 中移(成都)信息通信科技有限公司 | Webpage testing method and device |
CN111880026B (en) * | 2020-07-07 | 2023-08-04 | 武汉精立电子技术有限公司 | Panel inspection device |
CN111880026A (en) * | 2020-07-07 | 2020-11-03 | 武汉精立电子技术有限公司 | Panel inspection device |
CN113127348A (en) * | 2021-04-19 | 2021-07-16 | 广州掌动智能科技有限公司 | Method, system and storage medium for recording automatic test script of software |
CN113127348B (en) * | 2021-04-19 | 2021-10-15 | 广州掌动智能科技有限公司 | Method, system and storage medium for recording automatic test script of software |
CN113505439A (en) * | 2021-07-27 | 2021-10-15 | 北京微纳星空科技有限公司 | Test method, device, equipment and storage medium |
CN113778890B (en) * | 2021-09-16 | 2023-06-30 | 平安银行股份有限公司 | Code testing method and device, electronic equipment and storage medium |
CN113778890A (en) * | 2021-09-16 | 2021-12-10 | 平安银行股份有限公司 | Code testing method and device, electronic equipment and storage medium |
CN113923443A (en) * | 2021-09-27 | 2022-01-11 | 深圳市天视通视觉有限公司 | Network video recorder testing method and device and computer readable storage medium |
CN114153726A (en) * | 2021-11-25 | 2022-03-08 | 麒麟软件有限公司 | Login test method and device based on linux desktop operating system |
CN114153726B (en) * | 2021-11-25 | 2024-05-17 | 麒麟软件有限公司 | Login test method and device based on linux desktop operating system |
CN114839920A (en) * | 2022-04-28 | 2022-08-02 | 广东博力威科技股份有限公司 | Battery protection board test macro instruction based on motion capture and control system thereof |
CN114839920B (en) * | 2022-04-28 | 2024-09-17 | 广东博力威科技股份有限公司 | Battery protection board test macro instruction based on motion capture and control system thereof |
CN116301471A (en) * | 2023-05-18 | 2023-06-23 | 深圳前海环融联易信息科技服务有限公司 | Method for realizing automatic file insertion and automatic file insertion method |
CN116301471B (en) * | 2023-05-18 | 2023-09-01 | 深圳前海环融联易信息科技服务有限公司 | Method for realizing automatic file insertion and automatic file insertion method |
Also Published As
Publication number | Publication date |
---|---|
CN101241466B (en) | 2010-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101241466B (en) | Embedded software test method and system | |
Zimmermann et al. | Petri net modelling and performability evaluation with TimeNET 3.0 | |
CN102915242B (en) | A kind of method utilizing graphical operation code to programme | |
US5045994A (en) | Emulation process having several displayed input formats and output formats and windows for creating and testing computer systems | |
CN108763068A (en) | A kind of automated testing method and terminal based on machine learning | |
Zhang et al. | An automatic approach to model checking UML state machines | |
CN104991763B (en) | A kind of general interface Behavior- Based control system | |
CN107368408A (en) | A kind of software fault towards interface injects automated testing method | |
CN101025686A (en) | Automation test system and test script generating and operating method | |
CN111782539B (en) | Test diagnosis integrated development platform based on domestic operating system | |
CN106557413A (en) | Based on the method and apparatus that code coverage obtains test case | |
CN101888318B (en) | A kind of system and method for testing performance index of communication system | |
CN106649084A (en) | Function call information obtaining method and apparatus, and test device | |
CN102567201A (en) | Method for automatically recovering cross-model GUI (graphic user interface) test scripts | |
CN102722440A (en) | Debugging device of executive codes of embedded system, debugging method and embedded system | |
CN104035873A (en) | Method and device for generating testing codes | |
CN106021816A (en) | Method for achieving distributed system behavior simulated analysis tool based on behavior tree | |
CN102999419B (en) | A kind of Android test incident record back method and device | |
CN112765020A (en) | Automatic testing method of computer interlocking system | |
CN109876445A (en) | A kind of high decoupling bootstrap technique and system of Behavior-based control tree | |
CN100555219C (en) | Atom manipulation encapsulation apparatus and method | |
CN108197019A (en) | Test system, test equipment, the test method of smart card | |
CN102707712B (en) | Electronic equipment fault diagnosis method and system | |
CN109634253A (en) | A kind of automatic flow control method and system | |
CN102479152A (en) | Method and device for obtaining tool automatic test results on basis of Android platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100929 Termination date: 20150208 |
|
EXPY | Termination of patent right or utility model |