CN103984626A - Method and device for generating test-case script - Google Patents

Method and device for generating test-case script Download PDF

Info

Publication number
CN103984626A
CN103984626A CN201410201488.4A CN201410201488A CN103984626A CN 103984626 A CN103984626 A CN 103984626A CN 201410201488 A CN201410201488 A CN 201410201488A CN 103984626 A CN103984626 A CN 103984626A
Authority
CN
China
Prior art keywords
script
elementary function
user
function script
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410201488.4A
Other languages
Chinese (zh)
Other versions
CN103984626B (en
Inventor
孟斌
武锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410201488.4A priority Critical patent/CN103984626B/en
Publication of CN103984626A publication Critical patent/CN103984626A/en
Application granted granted Critical
Publication of CN103984626B publication Critical patent/CN103984626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The application of the invention provides a method and a device for generating a test-case script. The method comprises the following steps of acquiring the unit function script calling operation input by a user; splicing unit function scripts corresponding to the unit function script calling operation into the test-case script, wherein the unit function script comprises operation sequence data and a unit function script code which is used for calling the unit function script with the operation sequence data, and the operation sequence data are formed by operation data corresponding to partially continuous operating steps in all executed operating steps when the user tests an application program to be tested; testing the application program to be tested by adopting the test-case script. By adopting the method or the device disclosed by the application of the invention, the test-case script and the program to be tested can have lower coupling degree; if the program to be tested is changed, only the test-case script needs to be simply modified, so that the manpower cost consumed in the modifying process is lowered.

Description

A kind of method of generating test use case script and device
Technical field
The application relates to program test field, particularly relates to a kind of method and device of generating test use case script.
Background technology
In program development process, after a new program design, conventionally need to test this program.In prior art, for the method for testing of program, be mainly that program development personnel manually use this program, operate this program and carry out the function of design in advance, judge the execution above-mentioned functions whether this program can be correctly stable.
Along with the increase of program development demand, the program that need to test is also more and more.The method of manual test is by a lot of time and efforts of engaged test personnel.Therefore,, in prior art, start to adopt the mode of robotization to carry out program test.
The mode of robotization is carried out program test, refers to for program to be tested, generates a corresponding test case script.Carry out this test case script, just can automatically test program to be tested.In prior art, the method for generating test use case script is mainly according in program test process, and the operational order that tester need to input, generates corresponding script; Then control this script of computer automatic execution, just can automatically to program, test.
But, the method of generating test use case script in prior art, the degree of coupling of script and program to be tested is too high, once program to be tested is because the situations such as edition upgrading change, need test case script to revise in a large number, even need again to write test case script.
Summary of the invention
The application's object is to provide a kind of method and device of generating test use case script, can make to there is the lower degree of coupling between the script of test procedure and program to be tested, if program change to be tested, only need to carry out simple modification to test procedure, reduce the human cost that modification process expends.
For achieving the above object, the application provides following scheme:
The implementation possible according to the first of the application's first aspect, the application provides a kind of method of generating test use case script, comprising:
Obtain the Elementary Function script call operation of user's input;
Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, described Elementary Function script comprises sequence of operation data and for calling the Elementary Function scripted code of described sequence of operation data cell function script, and described sequence of operation data are that the service data corresponding to operation steps of the partial continuous in all operations were step performed when application program to be measured is tested by user forms;
Adopt described test case script to test described application program to be measured.
In conjunction with the possible implementation of the second of first aspect, described in obtain the Elementary Function script call operation of user input before, also comprise:
Obtain the Elementary Function script of user's input and record startup operation;
Record user's performed operation steps when described application program to be measured is tested;
Obtain the Elementary Function script of user's input and record end operation;
Obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation.
In conjunction with the first specific implementation of the possible implementation of the second of first aspect, described in record user's performed operation steps when described application program to be measured is tested, specifically comprise:
Determine the characteristic image of the operand that described operation steps is corresponding;
The characteristic image name of described characteristic image and characteristic image path are added in described sequence of operation data, so that when using described test case script to test described application program to be measured, according to described characteristic image name and characteristic image path, obtain described characteristic image, and whether the current residing image-context of mode decision operation body by image recognition matches with the image-context that described characteristic image represents based on described characteristic image.
In conjunction with a kind of specific implementation of the first specific implementation of the possible implementation of the second of first aspect, the described characteristic image of determining the operand that described operation steps is corresponding, specifically comprises:
Obtain the graphical information that user intercepts on described operand;
Described graphical information is defined as to the characteristic image of operand corresponding to described operation steps.
In conjunction with the second specific implementation of the possible implementation of the second of first aspect, described in record user's performed operation steps when described application program to be measured is tested, specifically comprise:
Obtain text message and/or keyboard operation information that user inputs when carrying out described operation steps;
Described text message and/or keyboard operation information are added in described sequence of operation data, to when using described test case script to test described application program to be measured, automatically input described text message and/or keyboard operation information.
In conjunction with the third specific implementation of the possible implementation of the second of first aspect, described in record user's performed operation steps when described application program to be measured is tested, specifically comprise:
Obtain the forms name of putting front forms while carrying out described operation steps;
Described forms name is added in described sequence of operation data, to when using described test case script to test described application program to be measured, put front described forms based on described forms name.
In conjunction with the third possible implementation of first aspect, described in obtain the Elementary Function script call operation of user input after, also comprise:
Obtain the default Elementary Function script that the Elementary Function script listing of user based on default selected;
Add described default Elementary Function script to described test case script, to realize, described default Elementary Function script is assembled into described test case script;
Wherein, described default Elementary Function script comprises:
For controlling the Elementary Function script of network supervisor;
And/or, for controlling the Elementary Function script of external unit.
In conjunction with the 4th kind of specific implementation of the possible implementation of the second of first aspect, described in obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation after, also comprise:
Show the parameter modification interface in described Elementary Function script;
Reception user operates by the parameter modification of described parameter modification interface input;
Based on described parameter modification operation, revise the parameter in described Elementary Function script.
The implementation possible according to the first of the application's second aspect, the application provides a kind of device of generating test use case script, comprising:
Call operation acquiring unit, for obtaining the Elementary Function script call operation of user's input;
The assembled unit of test case script, for being assembled into test case script by Elementary Function script corresponding to described Elementary Function script call operation; Wherein, described Elementary Function script comprises sequence of operation data and for calling the Elementary Function scripted code of described sequence of operation data cell function script, and described sequence of operation data are that the service data corresponding to operation steps of the partial continuous in all operations were step performed when application program to be measured is tested by user forms;
Test cell, for adopting described test case script to test described application program to be measured.
In conjunction with the possible implementation of the second of second aspect, described device also comprises:
Record startup operation acquiring unit, for before obtaining the Elementary Function script call operation of user's input, obtain the Elementary Function script of user's input and record startup operation;
Operation steps recording elements, for recording user's performed operation steps when described application program to be measured is tested;
Record end operation acquiring unit, for obtaining the Elementary Function script of user's input, record end operation;
Elementary Function script obtains unit, for obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation.
In conjunction with the concrete implementation of the first of the possible implementation of the second of second aspect, described operation steps recording elements, specifically for determining the characteristic image of the operand that described operation steps is corresponding;
And for the characteristic image name of described characteristic image and characteristic image path are added on to described sequence of operation data, so that when using described test case script to test described application program to be measured, according to described characteristic image name and characteristic image path, obtain described characteristic image, and whether the current residing image-context of mode decision operation body by image recognition matches with the image-context that described characteristic image represents based on described characteristic image.
A kind of implementation more specifically in conjunction with the concrete implementation of the first of the possible implementation of the second of second aspect, described operation steps recording elements is determined the characteristic image of the operand that described operation steps is corresponding, specifically comprises and obtains the graphical information that user intercepts on described operand;
And described graphical information is defined as to the characteristic image of operand corresponding to described operation steps.
In conjunction with the concrete implementation of the second of the possible implementation of the second of second aspect, described operation steps recording elements, text message and/or the keyboard operation information specifically for obtaining user, when carrying out described operation steps, inputted;
And for described text message and/or keyboard operation information are added on to described sequence of operation data, to when using described test case script to test described application program to be measured, automatically input described text message and/or keyboard operation information.
In conjunction with the third concrete implementation of the possible implementation of the second of second aspect, described operation steps recording elements, the forms name of the forms before putting while carrying out described operation steps specifically for obtaining;
And for described forms name is added on to described sequence of operation data, to when using described test case script to test described application program to be measured, put front described forms based on described forms name.
The third possible implementation in conjunction with second aspect, also comprises:
Default Elementary Function script acquiring unit, for after obtaining the Elementary Function script call operation of user's input, obtains the default Elementary Function script that the Elementary Function script listing of user based on default selected;
Default Elementary Function script adding device, for adding described default Elementary Function script to described test case script, is assembled into described test case script to realize by described default Elementary Function script;
Wherein, described default Elementary Function script comprises:
For controlling the Elementary Function script of network supervisor;
And/or, for controlling the Elementary Function script of external unit.
The 4th kind of concrete implementation in conjunction with the possible implementation of the second of second aspect, also comprises:
Parameter modification interface display unit, for obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation after, show the parameter modification interface in described Elementary Function script;
Parameter modification operation receiving element, operates for receiving the parameter modification of user by described parameter modification interface input;
Parameter modifying unit, for based on described parameter modification operation, revises the parameter in described Elementary Function script.
The specific embodiment providing according to the application, the application discloses following technique effect:
Method or the device of the disclosed generation test procedure of the application, by obtaining the Elementary Function script call operation of user's input; Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, performed a plurality of continuous operation steps when comprising user in described Elementary Function script program being tested, described Elementary Function script comprises the sequence of operation data that consist of service data corresponding to operation steps described in each and for calling the Elementary Function scripted code of described sequence of operation data cell function script; Because testing procedure is divided into Elementary Function scripted code and sequence of operation data are preserved respectively, thereby call respectively and generate complete test case script for each Elementary Function script by user, so when until measuring program change, only need to revise corresponding sequence of operation data in the step of change.Therefore, can make to there is the lower degree of coupling between test case script and program to be tested, if program change to be tested only need to be carried out simple modification to test case script, reduce the human cost that modification process expends.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiment of the application, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the application scenarios schematic diagram of method of the application's generating test use case script;
Fig. 2 is the process flow diagram of embodiment of the method 1 of the application's generating test use case script;
Fig. 3 is the process flow diagram of embodiment of the method 2 of the application's generating test use case script;
Fig. 4 is the process flow diagram of embodiment of the method 3 of the application's generating test use case script;
Fig. 5 is the process flow diagram of embodiment of the method 4 of the application's generating test use case script;
Fig. 6 is the process flow diagram of device embodiment of the application's generating test use case script;
Fig. 7 is the structural drawing of the application's computing node.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
For the application's above-mentioned purpose, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
Fig. 1 is the application scenarios schematic diagram of method of the application's generating test use case script.As shown in Figure 1, between computing machine 10 and equipment 20, can communicate.Computing machine 10 can move various programs, comprising facility control program and test case script.Described facility control program is the program of setting operation of carrying out for opertaing device 20.Described test case script is the program that whether can normally move for testing described facility control program.
When the described test case script of described computing machine 10 operation, can to equipment 20, issue steering order by moving described facility control program, opertaing device 20 completes the operation of setting.Equipment 20 can operate relevant status information to this to computing machine 10 feedbacks, thereby makes computing machine 10 know whether equipment 20 has completed this operation.
Fig. 2 is the process flow diagram of embodiment of the method 1 of the application's generating test use case script.As shown in Figure 2, the method can comprise:
Step 201: the Elementary Function script call operation of obtaining user's input;
Described Elementary Function script can be manually to carry out in the process that application program to be measured is tested user, by equipment such as computing machines, records the script that the associative operation that gets off generates.Wherein, described application program to be measured can be the application program that comprises facility control program.
In the present embodiment, can first by user, manually to described application program to be measured, be operated.That is, user can input the operation to application program to be measured manually.These operations can realize the once test to described application program to be measured.
Step 202: Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, described Elementary Function script comprises sequence of operation data and for calling the Elementary Function scripted code of described sequence of operation data cell function script, and described sequence of operation data are that the service data corresponding to operation steps of the partial continuous in all operations were step performed when application program to be measured is tested by user forms;
Performed operation when user tests program, can be divided into according to different operation objects a plurality of Elementary Function scripts.Performed a plurality of continuous operation steps in the time of can comprising user in each Elementary Function script program is tested.Described a plurality of continuous operation steps can be described user part in performed all operations were step when described application program to be measured is tested.
Described step can comprise input of character string, activation/close forms, waits for that forms activate, wait for that forms are closed/disappeared in limited time in limited time, replacement frame size, search/navigate to characteristic pattern, wait for that shear plate appears/disappear, empties in a characteristic pattern, shear plate is changed etc.
In described Elementary Function script, include the sequence of operation data that formed by service data corresponding to operation steps described in each.
A kind of specific implementation of sequence of operation data can be as follows:
"Step:=","Win:=","Img_find:=","TimeOut:=","Img_find_nocare:=","Mouse:=","Key:=","Delay:="。
Wherein, equal sign value below in " Step:=", can represent the operation object of the operation steps that this line operate sequence data is corresponding; Equal sign value below in " Win:=", can represent the window of current activation; Equal sign value below in " Img_find:=", the title (after the concept of characteristic pattern, extended meeting describes) that can represent store path and the characteristic pattern of the characteristic pattern under current operation status, equal sign value below in " TimeOut:=", can represent multiple implication, such as a characteristic pattern to be found such as representing in limited time, or can represent to wait for that a characteristic pattern disappears in limited time; In " Img_find_nocare:=", equal sign value below, can represent whether, if searched less than characteristic pattern, prompting reports an error; In " Mouse:=", equal sign value below, can represent the operation that mouse is carried out; In " Key:=", equal sign value below, can represent the button operation of keyboard or a string text of input; Equal sign value below in " Delay:=", can represent the time delay stand-by period after this operation steps is carried out, and unit can be second.
In example above, according to practical operation, all can have concrete numerical value or sign after equal sign.For example, when the value in " Key:=" after equal sign is " v ", " Key:=v " can represent the operation that needs execution to press V key on lower keyboard in this step.In " Delay:=", equal sign value is below 1 o'clock, and " Delay:=1 " can represent can there be the time delay time limit of 1 second after this step is carried out.In practical application, described sequence of operation data can also have various implementations according to demand, will not enumerate herein.
In described Elementary Function script, also include Elementary Function scripted code.Described Elementary Function scripted code can call described sequence of operation data.In described Elementary Function script, can also include object coded description, described object coded description can be described the operation object of described Elementary Function script, so that developer when calling or revising described Elementary Function script, understands the operation object of the step that described Elementary Function script is corresponding rapidly.
In practical application, before obtaining the Elementary Function script call operation of user's input, can also comprise the following steps:
Obtain the Elementary Function script of user's input and record startup operation;
Record user's performed operation steps when described application program to be measured is tested;
Obtain the Elementary Function script of user's input and record end operation;
Obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation.
When user completes after the test operation that program is carried out, the Elementary Function script that user can be recorded when carrying out described operation steps is preserved.
User can call the Elementary Function script of preserving.By calling of user, a plurality of Elementary Function scripts just can wholely form a test case script.
The Elementary Function script of having recorded may be displayed in the window that user can observe.User can, by the Elementary Function script showing in window, call Elementary Function script.After user calls some Elementary Function scripts, in test case script, will add title and parameter that this Elementary Function script is corresponding; After user calls a plurality of Elementary Function scripts by click, just can in test case script, add corresponding title and the parameter of described a plurality of Elementary Function script, thereby realize the assembled of Elementary Function script.
Step 203: adopt described test case script to test application program to be measured;
While adopting described test case script to test application program to be measured, by the Elementary Function scripted code in described Elementary Function script, can realize calling sequence of operation data.In calling the process of described sequence of operation data, can resolve and obtain corresponding operation steps code according to described sequence of operation data, by equipment such as computing machines, automatically perform described operation steps code, realize the test for application program to be measured.
Also it should be noted that, the method in the embodiment of the present invention, for the graphic user interface part in application program to be measured, can automatic recording user the operation of input, generate the Elementary Function script of resolution chart user interface part; For network supervisor or external unit, can be by for controlling the Elementary Function script of network supervisor or external unit, write in advance and be stored in default Elementary Function script listing, so that user can directly call for controlling the Elementary Function script of network supervisor or external unit.
Concrete, can be after obtaining the Elementary Function script call operation of user's input:
Obtain user based on the default Elementary Function script selected of default Elementary Function script listing;
Add described default Elementary Function script to described test case script, to realize, described default Elementary Function script is assembled into described test case script;
Wherein, described default Elementary Function script comprises:
For controlling the Elementary Function script of network supervisor;
And/or, for controlling the Elementary Function script of external unit.
The default Elementary Function script of selecting by obtaining user; Described default Elementary Function script is added in described test case script, can further improves the function of test case script, realize mutually calling between different Software tools and different external unit.
In sum, in the present embodiment, by obtaining the Elementary Function script call operation of user's input; Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, performed a plurality of continuous operation steps when comprising user in described Elementary Function script program being tested, described Elementary Function script comprises the sequence of operation data that consist of service data corresponding to operation steps described in each and for calling the Elementary Function scripted code of described sequence of operation data; Because testing procedure is divided into Elementary Function scripted code and sequence of operation data are preserved respectively, thereby call respectively and generate complete test case script for each Elementary Function script by user, so when program change to be tested, only need to revise corresponding sequence of operation data in the step of change.Therefore, can make to there is the lower degree of coupling between test case script and program to be tested, if program change to be tested only need to be carried out simple modification to test case script, reduce the human cost that modification process expends.
Fig. 3 is the process flow diagram of embodiment of the method 2 of the application's generating test use case script.As shown in Figure 3, the method can comprise:
Step 301: the Elementary Function script that obtains user's input is recorded startup operation;
Step 302: in recording process, determine the characteristic image of the operand that operation steps is corresponding;
Described characteristic image is for representing the operand that operation steps is corresponding.For example, certain operation steps is carried out for forms A, so just can intercept the region in whole or in part of forms A as the characteristic image of forms A.When following adopted test case script automatically performs the test operation to application program to be measured, can, according to described characteristic image, judge in current residing operating environment whether have specific operand.
Because user is when the manual input test operation, same step for operand be likely different.Therefore, need the corresponding operand of clear and definite each step.
For example, take mouse click as example, suppose to show A icon and B icon on display interface simultaneously, the mouse clicking operation that user carries out, likely for A icon, also likely for B icon.In order to determine which the operand that user clicks is, can be using the image information of described operand as with reference to foundation.
The described characteristic image of determining the operand that described operation steps is corresponding, specifically can comprise:
Obtain the graphical information that user intercepts on described operand;
Described graphical information is defined as to the characteristic image of operand corresponding to described operation steps.
Step 303: the characteristic image name and the characteristic image path that represent described operand are added in described sequence of operation data, so that when using described test case script to test described application program to be measured, according to described characteristic image name and characteristic image path, obtain described characteristic image, whether the current residing image-context of mode decision operation body based on described characteristic image by image recognition matches with the image-context that described characteristic image represents.
Wherein, described operating body can be the pointer showing on the screen of electronic equipment while carrying out mouse action, can be also the cursor showing on the screen of electronic equipment while carrying out words input operation.
In the present embodiment, can intercept the image of the subregion of described operand, the image information that intercepting is obtained is named.The title of name can be used as the sign of the image information of described operand.After described sign is added in described service data, the image that intercepting corresponding to described sign can also be obtained is preserved.
When described test procedure is tested automatically to program, just can find the image that described intercepting obtains according to described sign, and with the current step automatically performing for the image of operand compare.And then can be by technology such as image recognitions, judge the current step automatically performing for operand whether be correct operand.Wherein, image recognition just can refer to, will find the image that described intercepting obtains according to described sign, with the current step automatically performing for the image of operand compare, whether identically identify two images.
Step 304: the Elementary Function script that obtains user's input is recorded end operation;
Step 305: obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation;
Step 306: the Elementary Function script call operation of obtaining user's input;
Step 307: Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, performed a plurality of continuous operation steps when comprising user in described Elementary Function script program being tested, described Elementary Function script comprises the sequence of operation data that consist of service data corresponding to operation steps described in each and for calling the Elementary Function scripted code of described sequence of operation data cell function script;
Step 308: adopt described test case script to test application program to be measured.
In the present embodiment, by determining the characteristic image of the operand that described operation steps is corresponding; The characteristic image name and the characteristic image path that represent described operand are added in described service data, so that when using described test case script to test described application program to be measured, according to described characteristic image name and characteristic image path, obtain described characteristic image, whether the current residing image-context of mode decision operation body based on described characteristic image by image recognition matches with the image-context that described characteristic image represents; Can be by technology such as image recognitions in follow-up automatic testing process, judge the current step automatically performing for operand whether be correct operand, improve the accuracy of automatic testing process.
Fig. 4 is the process flow diagram of embodiment of the method 3 of the application's generating test use case script.As shown in Figure 4, the method can comprise:
Step 401: the Elementary Function script that obtains user's input is recorded startup operation;
Step 402: record user's performed operation steps when described application program to be measured is tested;
Performed operation steps when the described user of recording tests program, specifically can comprise:
Obtain text message and/or keyboard operation information that user inputs when carrying out described operation steps;
Described text message and/or keyboard operation information are added in described sequence of operation data, to when using described test case script to test described application program to be measured, automatically input described text message and/or keyboard operation information.
Performed operation steps when the described user of recording tests program, specifically can also comprise:
Obtain the forms name of putting front forms while carrying out described operation steps; Wherein, described in forms before putting, refer to current in state of activation, and in most of the cases with the shown forms of highlighted mode.
Described forms name is added in described sequence of operation data, to when using described test case script to test described application program to be measured, put front described forms based on described forms name.
Step 403: the Elementary Function script that obtains user's input is recorded end operation;
Step 404: obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation.
Step 405: the Elementary Function script call operation of obtaining user's input;
Step 406: Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, performed a plurality of continuous operation steps when comprising user in described Elementary Function script program being tested, described Elementary Function script comprises the sequence of operation data that consist of service data corresponding to operation steps described in each and for calling the Elementary Function scripted code of described sequence of operation data cell function script;
Step 407: adopt described test case script to test application program to be measured.
In the present embodiment, by recording user's performed operation steps when described application program to be measured is tested, can record to text message and other keyboard operation information of user's input the forms before putting in the time of can also recording the described operation steps of execution.
Fig. 5 is the process flow diagram of embodiment of the method 4 of the application's generating test use case script.As shown in Figure 5, the method can comprise:
Step 501: the Elementary Function script that obtains user's input is recorded startup operation;
Step 502: record user's performed operation steps when described application program to be measured is tested;
Step 503: the Elementary Function script that obtains user's input is recorded end operation;
Step 504: obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation.
Step 505: show the parameter modification interface in described Elementary Function script;
Step 506: reception user operates by the parameter modification of described parameter modification interface input;
Step 507: based on described parameter modification operation, revise the parameter in described Elementary Function script.
Wherein, described parameter can comprise that port numbers etc. is for representing the parameter of the operand of Elementary Function script, can also comprise business authentication mode and concrete authentication code etc.
Step 508: the Elementary Function script call operation of obtaining user's input;
Step 509: Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, performed a plurality of continuous operation steps when comprising user in described Elementary Function script program being tested, described Elementary Function script comprises the sequence of operation data that consist of service data corresponding to operation steps described in each and for calling the Elementary Function scripted code of described sequence of operation data cell function script;
Step 510: adopt described test case script to test application program to be measured.
In the present embodiment, by showing the parameter modification interface in described Elementary Function script; Reception user operates by the parameter modification of described parameter modification interface input; Based on described parameter modification operation, revise the parameter in described Elementary Function script, can improve the modification efficiency of user to test script, reduce spent human cost in the process of revising test procedure.
The application also provides a kind of device that becomes test case script.
Fig. 6 is the process flow diagram of device embodiment of the application's generating test use case script.As shown in Figure 6, this device can comprise:
Call operation acquiring unit 601, for obtaining the Elementary Function script call operation of user's input;
Described Elementary Function script can be manually to carry out in the process that application program to be measured is tested user, by equipment such as computing machines, records the script that the associative operation that gets off generates.Wherein, described application program to be measured can be the application program that comprises facility control program.
In the present embodiment, can first by user, manually to described application program to be measured, be operated.That is, user can input the operation to application program to be measured manually.These operations can realize the once test to described application program to be measured.
The assembled unit 602 of test case script, for being assembled into test case script by Elementary Function script corresponding to described Elementary Function script call operation; Wherein, described Elementary Function script comprises sequence of operation data and for calling the Elementary Function scripted code of described sequence of operation data cell function script, and described sequence of operation data are that the service data corresponding to operation steps of the partial continuous in all operations were step performed when application program to be measured is tested by user forms;
Performed operation when user tests program, can be divided into according to different operation objects a plurality of Elementary Function scripts.Performed a plurality of continuous operation steps in the time of can comprising user in each Elementary Function script program is tested.
Described step can comprise input of character string, activation/close forms, waits for that forms activate, wait for that forms are closed/disappeared in limited time in limited time, replacement frame size, search/navigate to characteristic pattern, wait for that shear plate appears/disappear, empties in a characteristic pattern, shear plate is changed etc.
In described Elementary Function script, include the sequence of operation data that formed by service data corresponding to operation steps described in each.
A kind of specific implementation of sequence of operation data can be as follows:
"Step:=","Win:=","Img_find:=","TimeOut:=","Img_find_nocare:=","Mouse:=","Key:=","Delay:="。
Wherein, equal sign value below in " Step:=", can represent the operation object of the operation steps that this line operate sequence data is corresponding; Equal sign value below in " Win:=", can represent the window of current activation; Equal sign value below in " Img_find:=", the title (after the concept of characteristic pattern, extended meeting describes) that can represent store path and the characteristic pattern of the characteristic pattern under current operation status, equal sign value below in " TimeOut:=", can represent multiple implication, such as a characteristic pattern to be found such as representing in limited time, or can represent to wait for that a characteristic pattern disappears in limited time; In " Img_find_nocare:=", equal sign value below, can represent whether, if searched less than characteristic pattern, prompting reports an error; In " Mouse:=", equal sign value below, can represent the operation that mouse is carried out; In " Key:=", equal sign value below, can represent the button operation of keyboard or a string text of input; Equal sign value below in " Delay:=", can represent the time delay stand-by period after this operation steps is carried out, and unit can be second.
In example above, according to practical operation, all can have concrete numerical value or sign after equal sign.For example, when the value in " Key:=" after equal sign is " v ", " Key:=v " can represent the operation that needs execution to press V key on lower keyboard in this step.In " Delay:=", equal sign value is below 1 o'clock, and " Delay:=1 " can represent can there be the time delay time limit of 1 second after this step is carried out.In practical application, described sequence of operation data can also have various implementations according to demand, will not enumerate herein.
In described Elementary Function script, also include Elementary Function scripted code.Described Elementary Function scripted code can call described sequence of operation data.In described Elementary Function script, can also include object coded description, described object coded description can be described the operation object of described Elementary Function script, so that developer when calling or revising described Elementary Function script, understands the operation object of the step that described Elementary Function script is corresponding rapidly.
In practical application, before obtaining the Elementary Function script call operation of user's input, can also comprise the following steps:
Obtain the Elementary Function script of user's input and record startup operation;
Record user's performed operation steps when described application program to be measured is tested;
Obtain the Elementary Function script of user's input and record end operation;
Generate the corresponding Elementary Function script of operation steps that described user carries out between described startup operation and described end operation.
When user completes after the test operation that program is carried out, the Elementary Function script that user can be recorded when carrying out described operation steps is preserved.
User can call the Elementary Function script of preserving.By calling of user, a plurality of Elementary Function scripts just can wholely form a test case script.
Test cell 603, for adopting described test case script to test application program to be measured.
While adopting described test case script to test application program to be measured, by the Elementary Function scripted code in described Elementary Function script, can realize calling sequence of operation data.In calling the process of described sequence of operation data, can resolve and obtain corresponding operation steps code according to described sequence of operation data, by equipment such as computing machines, automatically perform described operation steps code, realize the test for application program to be measured.
In sum, in the present embodiment, by obtaining the Elementary Function script call operation of user's input; Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, performed a plurality of continuous operation steps when comprising user in described Elementary Function script program being tested, described Elementary Function script comprises the sequence of operation data that consist of service data corresponding to operation steps described in each and for calling the Elementary Function scripted code of described sequence of operation data; Because testing procedure is divided into Elementary Function scripted code and sequence of operation data are preserved respectively, thereby call respectively and generate complete test case script for each Elementary Function script by user, so when program change to be tested, only need to revise corresponding sequence of operation data in the step of change.Therefore, can make to there is the lower degree of coupling between test case script and program to be tested, if program change to be tested only need to be carried out simple modification to test case script, reduce the human cost that modification process expends.
In practical application, described device can also comprise:
Record startup operation acquiring unit, before obtaining the Elementary Function script call operation of user's input, obtain the Elementary Function script of user's input and record startup operation;
Operation steps recording elements, for recording user's performed operation steps when described application program to be measured is tested;
Record end operation acquiring unit, for obtaining the Elementary Function script of user's input, record end operation;
Elementary Function script obtains unit, for obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation.
In practical application, described operation steps recording elements, specifically can be for determining the characteristic image of the operand that described operation steps is corresponding;
And for the characteristic image name of described characteristic image and characteristic image path are added on to described sequence of operation data, so that when using described test case script to test described application program to be measured, according to described characteristic image name and characteristic image path, obtain described characteristic image, and whether the current residing image-context of mode decision operation body by image recognition matches with the image-context that described characteristic image represents based on described characteristic image.
In practical application, described operation steps recording elements is determined the characteristic image of the operand that described operation steps is corresponding, specifically can comprise and obtain the graphical information that user intercepts on described operand;
And for described graphical information being defined as to the characteristic image of operand corresponding to described operation steps.
In practical application, described operation steps recording elements, text message and/or the keyboard operation information that specifically can when carrying out described operation steps, input for obtaining user;
And for described text message and/or keyboard operation information are added on to described sequence of operation data, to when using described test case script to test described application program to be measured, automatically input described text message and/or keyboard operation information.
In practical application, described operation steps recording elements, specifically can be for obtaining the forms name of the forms before putting while carrying out described operation steps;
And for described forms name is added on to described sequence of operation data, to when using described test case script to test described application program to be measured, put front described forms based on described forms name.
In practical application, can also comprise:
Default Elementary Function script acquiring unit, for after obtaining the Elementary Function script call operation of user's input, obtains the default Elementary Function script that the Elementary Function script listing of user based on default selected;
Default Elementary Function script adding device, for adding described default Elementary Function script to described test case script, to realize the assembled of test case script;
Wherein, described default Elementary Function script comprises:
For controlling the Elementary Function script of network supervisor;
And/or, for controlling the Elementary Function script of external unit.
In practical application, can also comprise:
Parameter modification interface display unit, for obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation after, show the parameter modification interface in described Elementary Function script;
Parameter modification operation receiving element, operates for receiving the parameter modification of user by described parameter modification interface input;
Parameter modifying unit, for based on described parameter modification operation, revises the parameter in described Elementary Function script.
In addition, the embodiment of the present application also provides a kind of computing node, computing node may be the host server that comprises computing power, or personal computer PC, or portable portable computer or terminal etc., the application's specific embodiment does not limit the specific implementation of computing node.
Fig. 7 is the structural drawing of the application's computing node.As shown in Figure 7, computing node 700 comprises:
Processor (processor) 710, communication interface (Communications Interface) 720, storer (memory) 730, bus 740.
Processor 710, communication interface 720, storer 730 completes mutual communication by bus 740.
Processor 710, for executive routine 732.
Particularly, program 732 can comprise program code, and described program code comprises computer-managed instruction.
Processor 710 may be a central processor CPU, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or is configured to implement one or more integrated circuit of the embodiment of the present application.
Storer 730, for depositing program 732.Storer 730 may comprise high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.
Corresponding module or unit in program 732 in the specific implementation of each module embodiment shown in Figure 6, be not repeated herein.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add essential hardware platform by software and realize, can certainly all by hardware, implement, but in a lot of situation, the former is better embodiment.Understanding based on such, what the application's technical scheme contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the application or embodiment.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Applied specific case herein the application's principle and embodiment are set forth, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof; Meanwhile, for one of ordinary skill in the art, the thought according to the application, all will change in specific embodiments and applications.In sum, this description should not be construed as the restriction to the application.

Claims (16)

1. a method for generating test use case script, is characterized in that, comprising:
Obtain the Elementary Function script call operation of user's input;
Elementary Function script corresponding to described Elementary Function script call operation is assembled into test case script; Wherein, described Elementary Function script comprises sequence of operation data and for calling the Elementary Function scripted code of described sequence of operation data cell function script, and described sequence of operation data are that the service data corresponding to operation steps of the partial continuous in all operations were step performed when application program to be measured is tested by user forms;
Adopt described test case script to test described application program to be measured.
2. method according to claim 1, is characterized in that, described in obtain the Elementary Function script call operation of user input before, also comprise:
Obtain the Elementary Function script of user's input and record startup operation;
Record user's performed operation steps when described application program to be measured is tested;
Obtain the Elementary Function script of user's input and record end operation;
Obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation.
3. method according to claim 2, is characterized in that, described in record user's performed operation steps when described application program to be measured is tested, specifically comprise:
Determine the characteristic image of the operand that described operation steps is corresponding;
The characteristic image name of described characteristic image and characteristic image path are added in described sequence of operation data, so that when using described test case script to test described application program to be measured, according to described characteristic image name and characteristic image path, obtain described characteristic image, and whether the current residing image-context of mode decision operation body by image recognition matches with the image-context that described characteristic image represents based on described characteristic image.
4. method according to claim 3, is characterized in that, the described characteristic image of determining the operand that described operation steps is corresponding, specifically comprises:
Obtain the graphical information that user intercepts on described operand;
Described graphical information is defined as to the characteristic image of operand corresponding to described operation steps.
5. method according to claim 2, is characterized in that, described in record user's performed operation steps when described application program to be measured is tested, specifically comprise:
Obtain text message and/or keyboard operation information that user inputs when carrying out described operation steps;
Described text message and/or keyboard operation information are added in described sequence of operation data, to when using described test case script to test described application program to be measured, automatically input described text message and/or keyboard operation information.
6. method according to claim 2, is characterized in that, described in record user's performed operation steps when described application program to be measured is tested, specifically comprise:
Obtain the forms name of putting front forms while carrying out described operation steps;
Described forms name is added in described sequence of operation data, to when using described test case script to test described application program to be measured, put front described forms based on described forms name.
7. method according to claim 1, is characterized in that, described in obtain the Elementary Function script call operation of user input after, also comprise:
Obtain the default Elementary Function script that the Elementary Function script listing of user based on default selected;
Add described default Elementary Function script to described test case script, to realize, described default Elementary Function script is assembled into described test case script;
Wherein, described default Elementary Function script comprises:
For controlling the Elementary Function script of network supervisor;
And/or, for controlling the Elementary Function script of external unit.
8. method according to claim 2, is characterized in that, described in obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation after, also comprise:
Show the parameter modification interface in described Elementary Function script;
Reception user operates by the parameter modification of described parameter modification interface input;
Based on described parameter modification operation, revise the parameter in described Elementary Function script.
9. a device for generating test use case script, is characterized in that, comprising:
Call operation acquiring unit, for obtaining the Elementary Function script call operation of user's input;
The assembled unit of test case script, for being assembled into test case script by Elementary Function script corresponding to described Elementary Function script call operation; Wherein, described Elementary Function script comprises sequence of operation data and for calling the Elementary Function scripted code of described sequence of operation data cell function script, and described sequence of operation data are that the service data corresponding to operation steps of the partial continuous in all operations were step performed when application program to be measured is tested by user forms;
Test cell, for adopting described test case script to test described application program to be measured.
10. device according to claim 9, is characterized in that, also comprises:
Record startup operation acquiring unit, for before obtaining the Elementary Function script call operation of user's input, obtain the Elementary Function script of user's input and record startup operation;
Operation steps recording elements, for recording user's performed operation steps when described application program to be measured is tested;
Record end operation acquiring unit, for obtaining the Elementary Function script of user's input, record end operation;
Elementary Function script obtains unit, for obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation.
11. devices according to claim 10, is characterized in that, described operation steps recording elements, specifically for determining the characteristic image of the operand that described operation steps is corresponding;
And for the characteristic image name of described characteristic image and characteristic image path are added on to described sequence of operation data, so that when using described test case script to test described application program to be measured, according to described characteristic image name and characteristic image path, obtain described characteristic image, and whether the current residing image-context of mode decision operation body by image recognition matches with the image-context that described characteristic image represents based on described characteristic image.
12. devices according to claim 11, is characterized in that, described operation steps recording elements is determined the characteristic image of the operand that described operation steps is corresponding, specifically comprise and obtain the graphical information that user intercepts on described operand;
And described graphical information is defined as to the characteristic image of operand corresponding to described operation steps.
13. devices according to claim 10, is characterized in that, described operation steps recording elements, text message and/or the keyboard operation information specifically for obtaining user, when carrying out described operation steps, inputted;
And for described text message and/or keyboard operation information are added on to described sequence of operation data, to when using described test case script to test described application program to be measured, automatically input described text message and/or keyboard operation information.
14. devices according to claim 10, is characterized in that, described operation steps recording elements, the forms name of the forms before putting while carrying out described operation steps specifically for obtaining;
And for described forms name is added on to described sequence of operation data, to when using described test case script to test described application program to be measured, put front described forms based on described forms name.
15. devices according to claim 9, is characterized in that, also comprise:
Default Elementary Function script acquiring unit, for after obtaining the Elementary Function script call operation of user's input, obtains the default Elementary Function script that the Elementary Function script listing of user based on default selected;
Default Elementary Function script adding device, for adding described default Elementary Function script to described test case script, is assembled into described test case script to realize by described default Elementary Function script;
Wherein, described default Elementary Function script comprises:
For controlling the Elementary Function script of network supervisor;
And/or, for controlling the Elementary Function script of external unit.
16. devices according to claim 10, is characterized in that, also comprise:
Parameter modification interface display unit, for obtain described user described record startup operation and described in record the corresponding Elementary Function script of the operation steps of carrying out between end operation after, show the parameter modification interface in described Elementary Function script;
Parameter modification operation receiving element, operates for receiving the parameter modification of user by described parameter modification interface input;
Parameter modifying unit, for based on described parameter modification operation, revises the parameter in described Elementary Function script.
CN201410201488.4A 2014-05-13 2014-05-13 A kind of method and device for generating test case script Active CN103984626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410201488.4A CN103984626B (en) 2014-05-13 2014-05-13 A kind of method and device for generating test case script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410201488.4A CN103984626B (en) 2014-05-13 2014-05-13 A kind of method and device for generating test case script

Publications (2)

Publication Number Publication Date
CN103984626A true CN103984626A (en) 2014-08-13
CN103984626B CN103984626B (en) 2017-07-28

Family

ID=51276616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410201488.4A Active CN103984626B (en) 2014-05-13 2014-05-13 A kind of method and device for generating test case script

Country Status (1)

Country Link
CN (1) CN103984626B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893243A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Test frame used for test tool, and test tool
CN106155886A (en) * 2015-03-31 2016-11-23 北京奇虎科技有限公司 The method and apparatus that a kind of key Mus script processes
CN106201873A (en) * 2016-07-01 2016-12-07 网易(杭州)网络有限公司 The treating method and apparatus of test script
WO2017008744A1 (en) * 2015-07-13 2017-01-19 西安中兴新软件有限责任公司 Automation script acquisition method and device, and automation script application method and device
CN106528420A (en) * 2016-11-07 2017-03-22 中国工商银行股份有限公司 Automatic test method and device for software interface
CN106814629A (en) * 2015-11-27 2017-06-09 大唐移动通信设备有限公司 A kind of method and device of control smart home
CN107766226A (en) * 2016-08-18 2018-03-06 北京金山云网络技术有限公司 A kind of method of testing and device
CN108287788A (en) * 2017-12-26 2018-07-17 广东睿江云计算股份有限公司 A kind of use-case step matching method based on test case, system
CN109753437A (en) * 2019-01-11 2019-05-14 平安科技(深圳)有限公司 Method of generating test program and device, storage medium, electronic equipment
CN110175112A (en) * 2019-04-17 2019-08-27 武汉思普崚技术有限公司 The method and apparatus of Kernel-based methods management raising version testing efficiency
CN111176994A (en) * 2019-12-24 2020-05-19 北京轩宇信息技术有限公司 Unit test case generation method and device for embedded software IO port
CN114900569A (en) * 2022-05-17 2022-08-12 中国银行股份有限公司 Method and device for acquiring test script

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060372A (en) * 2007-06-26 2007-10-24 华为技术有限公司 A method and system for rapid creating the automation test script
CN101135989A (en) * 2006-08-31 2008-03-05 中国银联股份有限公司 Automatization test method and device for Web applied system
CN101339534A (en) * 2008-06-17 2009-01-07 金蝶软件(中国)有限公司 Software test apparatus and test method
CN102279798A (en) * 2011-08-30 2011-12-14 中国工商银行股份有限公司 Software testing method and system based on point function driving
CN102355384A (en) * 2011-10-13 2012-02-15 纳龙(苏州)信息技术有限公司 Communication standard of automated testing for monitoring system
CN103365643A (en) * 2012-03-30 2013-10-23 Ge医疗系统环球技术有限公司 Method and device for automatically generating testing script of graphical user interface
CN103713989A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Test case generating method and test case generating device for user terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135989A (en) * 2006-08-31 2008-03-05 中国银联股份有限公司 Automatization test method and device for Web applied system
CN101060372A (en) * 2007-06-26 2007-10-24 华为技术有限公司 A method and system for rapid creating the automation test script
CN101339534A (en) * 2008-06-17 2009-01-07 金蝶软件(中国)有限公司 Software test apparatus and test method
CN102279798A (en) * 2011-08-30 2011-12-14 中国工商银行股份有限公司 Software testing method and system based on point function driving
CN102355384A (en) * 2011-10-13 2012-02-15 纳龙(苏州)信息技术有限公司 Communication standard of automated testing for monitoring system
CN103365643A (en) * 2012-03-30 2013-10-23 Ge医疗系统环球技术有限公司 Method and device for automatically generating testing script of graphical user interface
CN103713989A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Test case generating method and test case generating device for user terminal

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155886A (en) * 2015-03-31 2016-11-23 北京奇虎科技有限公司 The method and apparatus that a kind of key Mus script processes
CN106155886B (en) * 2015-03-31 2019-05-14 北京奇虎科技有限公司 A kind of method and apparatus of key mouse script processing
WO2017008744A1 (en) * 2015-07-13 2017-01-19 西安中兴新软件有限责任公司 Automation script acquisition method and device, and automation script application method and device
CN106814629B (en) * 2015-11-27 2021-03-12 大唐移动通信设备有限公司 Method and device for controlling smart home
CN106814629A (en) * 2015-11-27 2017-06-09 大唐移动通信设备有限公司 A kind of method and device of control smart home
CN105893243A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Test frame used for test tool, and test tool
CN106201873A (en) * 2016-07-01 2016-12-07 网易(杭州)网络有限公司 The treating method and apparatus of test script
CN107766226A (en) * 2016-08-18 2018-03-06 北京金山云网络技术有限公司 A kind of method of testing and device
CN106528420B (en) * 2016-11-07 2019-04-05 中国工商银行股份有限公司 A kind of automated testing method and device of software interface
CN106528420A (en) * 2016-11-07 2017-03-22 中国工商银行股份有限公司 Automatic test method and device for software interface
CN108287788A (en) * 2017-12-26 2018-07-17 广东睿江云计算股份有限公司 A kind of use-case step matching method based on test case, system
CN109753437A (en) * 2019-01-11 2019-05-14 平安科技(深圳)有限公司 Method of generating test program and device, storage medium, electronic equipment
CN110175112A (en) * 2019-04-17 2019-08-27 武汉思普崚技术有限公司 The method and apparatus of Kernel-based methods management raising version testing efficiency
CN111176994A (en) * 2019-12-24 2020-05-19 北京轩宇信息技术有限公司 Unit test case generation method and device for embedded software IO port
CN111176994B (en) * 2019-12-24 2023-03-31 北京轩宇信息技术有限公司 Unit test case generation method and device for embedded software IO port
CN114900569A (en) * 2022-05-17 2022-08-12 中国银行股份有限公司 Method and device for acquiring test script
CN114900569B (en) * 2022-05-17 2024-05-03 中国银行股份有限公司 Test script acquisition method and device

Also Published As

Publication number Publication date
CN103984626B (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN103984626A (en) Method and device for generating test-case script
EP3809257B1 (en) Naming robotic process automation activities according to automatically detected target labels
US10853232B2 (en) Adaptive system for mobile device testing
US7856619B2 (en) Method and system for automated testing of a graphic-based programming tool
US9280451B2 (en) Testing device
CN107644286B (en) Workflow processing method and device
CN108228287B (en) QT-based user interface control generation method and device
CN109739855B (en) Method and system for realizing data sheet splicing and automatically training machine learning model
CN106649084A (en) Function call information obtaining method and apparatus, and test device
CN101751329B (en) Method and system for realizing automatic testing
CN102999419B (en) A kind of Android test incident record back method and device
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
CN112465466B (en) Method, device, computer equipment and storage medium for executing flow task
CN108595343A (en) The test method and device of application program
CN104375934A (en) Method for testing reliability of Android mobile phone software
US20200110592A1 (en) Auto-deployment of applications
US20140082582A1 (en) Resource Tracker
US20080057914A1 (en) Pseudo-Remote Terminal IOTA Mobile Diagnostics and Electronic Customer Care
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN109614325B (en) Method and device for determining control attribute, electronic equipment and storage medium
US20180365132A1 (en) Adaptive software testing
CN102945122B (en) For mobile terminal provides method and the client of adaptive read interface
CN105653441A (en) Method and system for UI traversal testing
CN111061522A (en) Method, device, equipment and storage medium for generating front-end card assembly based on back end
CN114579118A (en) Programming method and system, equipment, storage medium

Legal Events

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