CN103984626B - A kind of method and device for generating test case script - Google Patents

A kind of method and device for generating test case script Download PDF

Info

Publication number
CN103984626B
CN103984626B CN201410201488.4A CN201410201488A CN103984626B CN 103984626 B CN103984626 B CN 103984626B CN 201410201488 A CN201410201488 A CN 201410201488A CN 103984626 B CN103984626 B CN 103984626B
Authority
CN
China
Prior art keywords
script
elementary function
user
function script
operating procedure
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.)
Active
Application number
CN201410201488.4A
Other languages
Chinese (zh)
Other versions
CN103984626A (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

This application provides a kind of method and device for generating test case script.Methods described includes:Obtain the Elementary Function script call operation of user's input;The corresponding Elementary Function script of the Elementary Function script call operation is assembled into test case script;Wherein, the Elementary Function script includes sequence of operation data and the Elementary Function scripted code for calling the sequence of operation data cell function script, and the sequence of operation data are that the corresponding peration data of the continuous operating procedure in part in all operationss step performed when being tested by user application program to be measured is constituted;Application program to be measured is tested using the test case script.Using the present processes or device, it can make that there is the relatively low degree of coupling between test case script and program to be tested, if program to be tested changes, it is only necessary to test case script is carried out simply to change, the human cost of modification process consuming is reduced.

Description

A kind of method and device for generating test case script
Technical field
The application is related to program test field, more particularly to a kind of method and device for generating test case script.
Background technology
In program development process, after a new programming is finished, it usually needs the program is tested.It is existing Have in technology, the method for testing for program is mainly application developer manually using the program, operates the program to perform pre- The function of first designing, judges whether the program can correctly be stably carried out above-mentioned functions.
As the increase of program development demand is, it is necessary to which the program tested is also more and more.The method of manual test will The many time and efforts of engaged test personnel.Therefore, in the prior art, start to enter line program survey by the way of automation Examination.
The mode of automation carries out program test, refers to, for program to be tested, generate a corresponding test case Script.Perform the test case script, it is possible to which program to be tested is tested automatically.In the prior art, generation test During being mainly with the method for case script according to program test, tester needs the operational order inputted, generates corresponding Script;Then control computer performs the script automatically, it is possible to program is tested automatically.
But, the method that test case script is generated in the prior art, script and the degree of coupling of program to be tested are too high, and one Denier program to be tested is changed because of situations such as edition upgrading, then needs largely to change test case script, even Need to write test case script again.
The content of the invention
The purpose of the application is to provide a kind of method and device for generating test case script, can make the pin of test program This has the relatively low degree of coupling between program to be tested, if program to be tested changes, it is only necessary to which test program is entered The simple modification of row, the human cost that reduction modification process expends.
To achieve the above object, this application provides following scheme:
According to the first possible implementation of the first aspect of the application, the application provides a kind of generation test case The method of script, including:
Obtain the Elementary Function script call operation of user's input;
The corresponding Elementary Function script of the Elementary Function script call operation is assembled into test case script;Wherein, The Elementary Function script includes sequence of operation data and the list for calling the sequence of operation data cell function script Meta function scripted code, the sequence of operation data are whole behaviour performed when being tested by user application program to be measured Make what the corresponding peration data of the continuous operating procedure in part in step was constituted, and the sequence of operation data and unit work( Energy scripted code is preserved respectively;
The application program to be measured is tested using the test case script;
Wherein, before the Elementary Function script call operation for obtaining user's input, in addition to:
The Elementary Function script for obtaining user's input records startup operation;
Record operating procedure performed when user is tested the application program to be measured;
The Elementary Function script for obtaining user's input records end operation;
Obtain the operating procedure institute that the user performs between the recording startup operation and the recording end operation Corresponding Elementary Function script;
It is then described to record operating procedure performed when user is tested the application program to be measured, specifically include:
Determine the characteristic image of the corresponding operation object of the operating procedure;
The characteristic image name of the characteristic image and characteristic image path are added in the sequence of operation data, so as to When being tested using the test case script the application program to be measured, according to characteristic image name and characteristic pattern As the path acquisition characteristic image, and judge that operating body is presently in by way of image recognition based on the characteristic image Image-context whether the image-context represented with the characteristic image matches.
Implemented with reference to one kind of the first specific implementation of second of possible implementation of first aspect Mode, the characteristic image of the corresponding operation object of the determination operating procedure, is specifically included:
Obtain the graphical information that user intercepts in the operation object;
The graphical information is defined as to the characteristic image of the corresponding operation object of the operating procedure.
With reference to second of specific implementation of second of possible implementation of first aspect, the recording user couple The application program to be measured operating procedure performed when being tested, is specifically included:
Obtain text message and/or keyboard operation information that user inputs when performing the operating procedure;
By the text message and/or the addition of keyboard operation information in the sequence of operation data, so as to using When stating test case script the application program to be measured being tested, the text message and/or keyboard operation are automatically entered Information.
With reference to the third specific implementation of second of possible implementation of first aspect, the recording user couple The application program to be measured operating procedure performed when being tested, is specifically included:
Obtain the forms name of the forms before being put when performing the operating procedure;
By forms name addition in the sequence of operation data, to use the test case script to described When application program to be measured is tested, the forms before being put based on forms name.
With reference to the third possible implementation of first aspect, the Elementary Function script of the acquisition user input is called After operation, in addition to:
Obtain the default Elementary Function script that user is selected based on default Elementary Function script listing;
The default Elementary Function script is added into the test case script, to realize the default unit Function script is assembled into the test case script;
Wherein, the default Elementary Function script includes:
Elementary Function script for controlling network supervisor;
And/or, the Elementary Function script for controlling external equipment.
It is described to obtain the use with reference to the 4th kind of specific implementation of second of possible implementation of first aspect The Elementary Function script corresponding to operating procedure that family is performed between the recording startup operation and the recording end operation Afterwards, in addition to:
Show the parameter modification interface in the Elementary Function script;
Receive user and the parameter modification operation that interface is inputted is changed by the parameter;
Changed and operated based on the parameter, change the parameter in the Elementary Function script.
According to the first possible implementation of the second aspect of the application, the application provides a kind of generation test case The device of script, including:
Call operation acquiring unit, the Elementary Function script call operation for obtaining user's input;
Test case script assembled rigid unit, for by the corresponding Elementary Function script of the Elementary Function script call operation It is assembled into test case script;Wherein, the Elementary Function script includes sequence of operation data and for calling the operation The Elementary Function scripted code of sequence data Elementary Function script, the sequence of operation data are to application program to be measured by user What the corresponding peration data of the continuous operating procedure in part when being tested in performed all operationss step was constituted, and institute State sequence of operation data and Elementary Function scripted code is preserved respectively;
Test cell, for being tested using the test case script the application program to be measured;
Described device, in addition to:
Startup operation acquiring unit is recorded, for before the Elementary Function script call operation of user's input is obtained, obtaining The Elementary Function script for taking family input records startup operation;
Operating procedure recording elements, for recording operation performed when user is tested the application program to be measured Step;
End operation acquiring unit is recorded, the Elementary Function script for obtaining user's input records end operation;
Elementary Function script obtaining unit, terminates for obtaining the user in the recording startup operation with the recording Elementary Function script corresponding to the operating procedure performed between operation;
Wherein, the operating procedure recording elements, the spy specifically for determining the corresponding operation object of the operating procedure Levy image;
And for the characteristic image name of the characteristic image and characteristic image path to be added in the sequence of operation number In, so as to when being tested using the test case script the application program to be measured, according to the characteristic image Name and characteristic image path obtain the characteristic image, and operation is judged by way of image recognition based on the characteristic image Whether the image-context represented with the characteristic image matches the image-context that body is presently in.
One kind with reference to the first concrete implementation mode of second of possible implementation of second aspect is more specific Implementation, the operating procedure recording elements determine the characteristic image of the corresponding operation object of the operating procedure, specifically Including obtaining the graphical information that user intercepts in the operation object;
And the graphical information is defined as to the characteristic image of the corresponding operation object of the operating procedure.
With reference to second of concrete implementation mode of second of possible implementation of second aspect, the operating procedure Recording elements, specifically for obtaining text message and/or the keyboard operation information that user inputs when performing the operating procedure;
And for the text message and/or keyboard operation information to be added in the sequence of operation data, so as to When being tested using the test case script the application program to be measured, automatically enter the text message and/or Keyboard operation information.
With reference to the third concrete implementation mode of second of possible implementation of second aspect, the operating procedure Recording elements, the forms name of the forms before being put when performing the operating procedure specifically for obtaining;
And for forms name to be added in the sequence of operation data, to use the test case pin When this is tested the application program to be measured, the forms before being put based on forms name.
With reference to the third possible implementation of second aspect, in addition to:
Default Elementary Function script acquiring unit, for obtain user's input Elementary Function script call operation it Afterwards, the default Elementary Function script that user is selected based on default Elementary Function script listing is obtained;
Default Elementary Function script adding device, for adding the default Elementary Function script to the test case In script, the default Elementary Function script is assembled into the test case script to realize;
Wherein, the default Elementary Function script includes:
Elementary Function script for controlling network supervisor;
And/or, the Elementary Function script for controlling external equipment.
With reference to the 4th kind of concrete implementation mode of second of possible implementation of second aspect, in addition to:
Parameter changes interface display unit, for obtaining the user in the recording startup operation and the recording knot After the Elementary Function script corresponding to operating procedure performed between beam operation, the parameter in the Elementary Function script is shown Change interface;
Parameter modification operation receiving unit, is grasped for receiving the parameter modification that user changes interface input by the parameter Make;
Parameter modifying unit, is operated for being changed based on the parameter, changes the parameter in the Elementary Function script.
The specific embodiment provided according to the application, this application discloses following technique effect:
The method or apparatus of generation test program disclosed in the present application, the Elementary Function script inputted by obtaining user is adjusted With operation;The corresponding Elementary Function script of the Elementary Function script call operation is assembled into test case script;Wherein, institute State multiple continuous operating procedures performed when being tested in Elementary Function script comprising user program, the unit work( Energy script includes the sequence of operation data being made up of the corresponding peration data of operating procedure each described and described for calling The Elementary Function scripted code of sequence of operation data cell function script;Due to testing procedure be divided into Elementary Function scripted code and Sequence of operation data are preserved respectively, are called respectively for each Elementary Function script by user complete so as to generate Test case script, so when program to be measured changes, it is only necessary to corresponding operation sequence in the step of modification changes Column data.It therefore, it can make that there is the relatively low degree of coupling between test case script and program to be tested, if to be tested Program changes, it is only necessary to test case script carry out simply change, reduce modification process consuming manpower into This.
Brief description of the drawings
, below will be to institute in embodiment in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the application Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the application scenarios schematic diagram of the method for the generation test case script of the application;
Fig. 2 is the flow chart of the embodiment of the method 1 of the generation test case script of the application;
Fig. 3 is the flow chart of the embodiment of the method 2 of the generation test case script of the application;
Fig. 4 is the flow chart of the embodiment of the method 3 of the generation test case script of the application;
Fig. 5 is the flow chart of the embodiment of the method 4 of the generation test case script of the application;
Fig. 6 is the flow chart of the device embodiment of the generation test case script of the application;
Fig. 7 is the structure chart of the calculate node of the application.
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 carried out clear, complete Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of the application protection.
It is below in conjunction with the accompanying drawings and specific real to enable above-mentioned purpose, the feature and advantage of the application more obvious understandable Mode is applied to be described in further detail the application.
Fig. 1 is the application scenarios schematic diagram of the method for the generation test case script of the application.As shown in figure 1, computer It can be communicated between 10 and equipment 20.Computer 10 can run various programs, including facility control program and Test case script.The facility control program is the program that setting operation is performed for control device 20.The test case Script be for test the facility control program whether the program that can normally run.
When the computer 10 runs the test case script, it can be set by running the facility control program pair Standby 20 issue control instruction, and control device 20 completes the operation of setting.Equipment 20 can be to the feedback of computer 10 and the operation phase The status information of pass, so that computer 10 knows whether equipment 20 completes the operation.
Fig. 2 is the flow chart of the embodiment of the method 1 of the generation test case script of the application.As shown in Fig. 2 this method can With including:
Step 201:Obtain the Elementary Function script call operation of user's input;
The Elementary Function script can be during user manually performs and application program to be measured is tested, by The script that the associative operation that the equipment such as computer are recorded is generated.Wherein, the application program to be measured can include setting Application program including standby control program.
In the present embodiment, first the application program to be measured can be operated manually by user.That is, user can pass through Manual mode inputs the operation to application program to be measured.These operations can realize the once survey to the application program to be measured Examination.
Step 202:The corresponding Elementary Function script of the Elementary Function script call operation is assembled into test case pin This;Wherein, the Elementary Function script includes sequence of operation data and for calling the sequence of operation data cell function The Elementary Function scripted code of script, the sequence of operation data are performed when being tested by user application program to be measured All operationss step in the corresponding peration data of the continuous operating procedure in part constitute;
Performed operation when user is tested program, can be divided into multiple units according to different operation purposes Function script.Performed multiple continuous operations when can be tested in each Elementary Function script comprising user program Step.The multiple continuous operating procedure can be that the user is performed when testing the application program to be measured A part in all operationss step.
The step can include input character string, activation/closing forms, wait forms activation, in limited time etc. in limited time Treat a forms closing/disappearance, reset frame size, search/navigate to characteristic pattern, wait a characteristic pattern appearance/disappearance, it is clear Empty shear plate, shear plate conversion etc..
Include the operation sequence being made up of the corresponding peration data of operating procedure each described in the Elementary Function script Column data.
A kind of specific implementation of sequence of operation data can be with as follows:
"Step:=", " Win:=", " Img_find:=", " TimeOut:=", " Img_find_nocare:=", " Mouse:=", " Key:=", " Delay:=".
Wherein, " Step:=" value behind middle equal sign, can represent the corresponding operating procedure of row sequence of operation data Operate purpose;"Win:=" value behind middle equal sign, can represent the currently active window;"Img_find:=" after middle equal sign The value in face, can represent the store path of characteristic pattern under current operation status and the title (after the concept of characteristic pattern of characteristic pattern Extended meeting is illustrated), " TimeOut:=" value behind middle equal sign, can represent a variety of implications, such as can represent in limited time A characteristic pattern to be found, or can represent to wait a characteristic pattern disappearance in limited time;"Img_find_nocare:=" medium Value behind number, can be represented if searched less than characteristic pattern, if carry out the prompting that reports an error;"Mouse:=" behind middle equal sign Value, can represent the operation that mouse is performed;"Key:=" value behind middle equal sign, can represent button operation or the input of keyboard A string of texts;"Delay:=" value behind middle equal sign, can represent the delay stand-by period after the execution of this operating procedure, Unit can be the second.
In above example, according to practical operation, can have concrete numerical value or mark behind equal sign.For example, As " Key:=" when the value behind middle equal sign is " v ", i.e. " Key:=v " can represent to need to perform in the step by lower keyboard The operation of V keys."Delay:=" when the value behind middle equal sign is 1, i.e. " Delay:=1 " it can represent that the step can be with after performing There is the delay time limit of 1 second.In practical application, the sequence of operation data can also have various implementations according to demand, this Place will not enumerate.
Also include Elementary Function scripted code in the Elementary Function script.The Elementary Function scripted code can be right The sequence of operation data are called.Purposeful coded description, the purpose can also be included in the Elementary Function script Coded description can describe the operation purpose of the Elementary Function script, so that developer is calling or changed the unit During function script, the operation purpose of step corresponding to the Elementary Function script is understood quickly.
In practical application, before the Elementary Function script call operation of user's input is obtained, following step can also be included Suddenly:
The Elementary Function script for obtaining user's input records startup operation;
Record operating procedure performed when user is tested the application program to be measured;
The Elementary Function script for obtaining user's input records end operation;
Obtain the operating procedure institute that the user performs between the recording startup operation and the recording end operation Corresponding Elementary Function script.
After user completes the test operation carried out to program, user can be recorded when performing the operating procedure Elementary Function script is preserved.
User can be called to the Elementary Function script of preservation.Pass through calling for user, multiple Elementary Function scripts It just can integrally constitute a test case script.
The Elementary Function script completed is recorded to may be displayed in the window that user is observed that.User can pass through point The Elementary Function script shown in window is hit, to be called to Elementary Function script.When user is to some Elementary Function pin Originally after being called, the corresponding title of Elementary Function script and parameter will be added in test case script;When user is logical Cross click multiple Elementary Function scripts are called after, it is possible to the multiple unit work(is added in test case script The corresponding title of energy script and parameter, so as to realize the assembly of Elementary Function script.
Step 203:Application program to be measured is tested using the test case script;
When being tested using the test case script application program to be measured, by the Elementary Function script Elementary Function scripted code, it is possible to achieve sequence of operation data are called.During the sequence of operation data are called, It can parse according to the sequence of operation data and obtain corresponding operating procedure code, institute is performed by equipment such as computers automatically Operating procedure code is stated, the test for application program to be measured is realized.
It should also be noted that, the method in the embodiment of the present invention, for the graphic user interface in application program to be measured Part, the operation that can be inputted with automatic recording user, generates the Elementary Function script of resolution chart user interface portion;For net Network management program or external equipment, then can be by the Elementary Function pin for controlling network supervisor or external equipment This, is written and stored in default Elementary Function script listing in advance, so that user can be directly invoked for controlling network pipe The Elementary Function script of reason program or external equipment.
Specifically, can be after the Elementary Function script call operation of user's input be obtained:
Obtain user based on default Elementary Function script listing selection default Elementary Function script;
The default Elementary Function script is added into the test case script, to realize the default unit Function script is assembled into the test case script;
Wherein, the default Elementary Function script includes:
Elementary Function script for controlling network supervisor;
And/or, the Elementary Function script for controlling external equipment.
By obtaining the default Elementary Function script that user selects;The default Elementary Function script is surveyed added to described In case script on probation, the function of test case script can be further improved, different Software tool is realized and different outer Mutually calling between portion's equipment.
In summary, in the present embodiment, by obtaining the Elementary Function script call operation that user inputs;By the unit The corresponding Elementary Function script of function script call operation is assembled into test case script;Wherein, in the Elementary Function script Performed multiple continuous operating procedures when being tested comprising user program, the Elementary Function script is included by each The sequence of operation data that the corresponding peration data of the operating procedure is constituted and the list for calling the sequence of operation data Meta function scripted code;Because testing procedure is divided into Elementary Function scripted code and sequence of operation data are preserved respectively, by User is called to generate complete test case script respectively for each Elementary Function script, so when journey to be tested When sequence changes, it is only necessary to corresponding sequence of operation data in the step of modification changes.It therefore, it can make test With having the relatively low degree of coupling between case script and program to be tested, if program to be tested changes, it is only necessary to test Carried out simply changing with case script, reduce the human cost of modification process consuming.
Fig. 3 is the flow chart of the embodiment of the method 2 of the generation test case script of the application.As shown in figure 3, this method can With including:
Step 301:The Elementary Function script for obtaining user's input records startup operation;
Step 302:In recording process, the characteristic image of the corresponding operation object of operating procedure is determined;
The characteristic image is used to represent the corresponding operation object of operating procedure.For example, some operating procedure is to be directed to window What body A was performed, then the region in whole or in part that can just intercept forms A is used as forms A characteristic image.Follow-up using survey When case script on probation performs the test operation to application program to be measured automatically, current institute can be judged according to the characteristic image It whether there is specific operation object in the operating environment at place.
Because user is when being manually entered test operation, the targeted operation object of same step is likely to be different 's.Accordingly, it would be desirable to the operation object corresponding to clearly each step.
For example, so that mouse is clicked on as an example, it is assumed that show A icons and B icons simultaneously on display interface, then user performs Mouse clicking operation, it may be possible to for A icons, it is also possible to be to be directed to B icons.In order to determine the operation of user's click Which object is, can regard the image information of the operation object as reference frame.
The characteristic image for determining the corresponding operation object of the operating procedure, can specifically include:
Obtain the graphical information that user intercepts in the operation object;
The graphical information is defined as to the characteristic image of the corresponding operation object of the operating procedure.
Step 303:The characteristic image name and characteristic image path that represent the operation object are added in the operation sequence In column data, so as to when being tested using the test case script the application program to be measured, according to the feature Image Name and characteristic image path obtain the characteristic image, and behaviour is judged by way of image recognition based on the characteristic image Whether the image-context represented with the characteristic image matches the image-context being presently in as body.
Wherein, the operating body can be the pointer shown on the screen of the electronic device during mouse action, also may be used With the cursor shown on the screen of the electronic device when being and carrying out words input operation.
In the present embodiment, the image of the subregion of the operation object can be intercepted, the figure that interception is obtained As information is named.The title of name can as the image information of the operation object mark.The mark is added After in the peration data, the image that the corresponding interception of the mark is obtained can also be preserved.
When the test program is tested program automatically, it is possible to intercepted according to the identifier lookup to described The image arrived, and the image of targeted operation object the step of with current automatic perform is compared.And then figure can be passed through As technologies such as identifications, whether the targeted operation object of the step of judging current automatic execution is correct operation object.Its In, image recognition can just refer to, to described will intercept obtained image according to the identifier lookup, with currently performing automatically The image of the targeted operation object of step is compared, and whether two images of identification are identical.
Step 304:The Elementary Function script for obtaining user's input records end operation;
Step 305:Obtain the behaviour that the user performs between the recording startup operation and the recording end operation Make the Elementary Function script corresponding to step;
Step 306:Obtain the Elementary Function script call operation of user's input;
Step 307:The corresponding Elementary Function script of the Elementary Function script call operation is assembled into test case pin This;Wherein, performed multiple continuous operating procedures when being tested in the Elementary Function script comprising user program, The Elementary Function script includes the sequence of operation data and use being made up of the corresponding peration data of operating procedure each described In the Elementary Function scripted code for calling the sequence of operation data cell function script;
Step 308:Application program to be measured is tested using the test case script.
In the present embodiment, by the characteristic image for determining the corresponding operation object of the operating procedure;The behaviour will be represented The characteristic image name and characteristic image path for making object are added in the peration data, to use the test case pin When this is tested the application program to be measured, the characteristic pattern is obtained according to characteristic image name and characteristic image path Picture, based on the characteristic image judged by way of image recognition image-context that operating body is presently in whether with the spy The image-context for levying graphical representation matches;It can judge in follow-up automatic testing process by technologies such as image recognitions Whether the targeted operation object of the step of going out current automatic execution is correct operation object, improves the essence of automatic testing process True property.
Fig. 4 is the flow chart of the embodiment of the method 3 of the generation test case script of the application.As shown in figure 4, this method can With including:
Step 401:The Elementary Function script for obtaining user's input records startup operation;
Step 402:Record operating procedure performed when user is tested the application program to be measured;
It is described to record operating procedure performed when user is tested program, it can specifically include:
Obtain text message and/or keyboard operation information that user inputs when performing the operating procedure;
By the text message and/or the addition of keyboard operation information in the sequence of operation data, so as to using When stating test case script the application program to be measured being tested, the text message and/or keyboard operation are automatically entered Information.
It is described to record operating procedure performed when user is tested program, it can also specifically include:
Obtain the forms name of the forms before being put when performing the operating procedure;Wherein, it is described put before forms, refer to current It is active, and in most cases with the forms shown by highlighted mode.
By forms name addition in the sequence of operation data, to use the test case script to described When application program to be measured is tested, the forms before being put based on forms name.
Step 403:The Elementary Function script for obtaining user's input records end operation;
Step 404:Obtain the behaviour that the user performs between the recording startup operation and the recording end operation Make the Elementary Function script corresponding to step.
Step 405:Obtain the Elementary Function script call operation of user's input;
Step 406:The corresponding Elementary Function script of the Elementary Function script call operation is assembled into test case pin This;Wherein, performed multiple continuous operating procedures when being tested in the Elementary Function script comprising user program, The Elementary Function script includes the sequence of operation data and use being made up of the corresponding peration data of operating procedure each described In the Elementary Function scripted code for calling the sequence of operation data cell function script;
Step 407:Application program to be measured is tested using the test case script.
In the present embodiment, performed operating procedure when being tested by recording user the application program to be measured, The text message and other keyboard operation information that can be inputted to user are recorded, and can also record the execution operation step Forms before being put when rapid.
Fig. 5 is the flow chart of the embodiment of the method 4 of the generation test case script of the application.As shown in figure 5, this method can With including:
Step 501:The Elementary Function script for obtaining user's input records startup operation;
Step 502:Record operating procedure performed when user is tested the application program to be measured;
Step 503:The Elementary Function script for obtaining user's input records end operation;
Step 504:Obtain the behaviour that the user performs between the recording startup operation and the recording end operation Make the Elementary Function script corresponding to step.
Step 505:Show the parameter modification interface in the Elementary Function script;
Step 506:Receive user and the parameter modification operation that interface is inputted is changed by the parameter;
Step 507:Changed and operated based on the parameter, change the parameter in the Elementary Function script.
Wherein, the parameter can be used for the parameter for representing the operation object of Elementary Function script including port numbers etc., also Business authentication mode and specific authentication code etc. can be included.
Step 508:Obtain the Elementary Function script call operation of user's input;
Step 509:The corresponding Elementary Function script of the Elementary Function script call operation is assembled into test case pin This;Wherein, performed multiple continuous operating procedures when being tested in the Elementary Function script comprising user program, The Elementary Function script includes the sequence of operation data and use being made up of the corresponding peration data of operating procedure each described In the Elementary Function scripted code for calling the sequence of operation data cell function script;
Step 510:Application program to be measured is tested using the test case script.
In the present embodiment, by showing that the parameter in the Elementary Function script changes interface;Reception user passes through described The parameter modification operation of parameter modification interface input;Changed and operated based on the parameter, changed in the Elementary Function script Parameter, can improve modification efficiency of the user to test script, during reduction modification test program spent manpower into This.
Present invention also provides a kind of device into test case script.
Fig. 6 is the flow chart of the device embodiment of the generation test case script of the application.As shown in fig. 6, the device can With including:
Call operation acquiring unit 601, the Elementary Function script call operation for obtaining user's input;
The Elementary Function script can be during user manually performs and application program to be measured is tested, by The script that the associative operation that the equipment such as computer are recorded is generated.Wherein, the application program to be measured can include setting Application program including standby control program.
In the present embodiment, first the application program to be measured can be operated manually by user.That is, user can pass through Manual mode inputs the operation to application program to be measured.These operations can realize the once survey to the application program to be measured Examination.
Test case script assembled rigid unit 602, for by the corresponding Elementary Function of the Elementary Function script call operation Script is assembled into test case script;Wherein, the Elementary Function script includes sequence of operation data and described for calling The Elementary Function scripted code of sequence of operation data cell function script, the sequence of operation data are to application to be measured by user What the corresponding peration data of the continuous operating procedure in part when program is tested in performed all operationss step was constituted;
Performed operation when user is tested program, can be divided into multiple units according to different operation purposes Function script.Performed multiple continuous operations when can be tested in each Elementary Function script comprising user program Step.
The step can include input character string, activation/closing forms, wait forms activation, in limited time etc. in limited time Treat a forms closing/disappearance, reset frame size, search/navigate to characteristic pattern, wait a characteristic pattern appearance/disappearance, it is clear Empty shear plate, shear plate conversion etc..
Include the operation sequence being made up of the corresponding peration data of operating procedure each described in the Elementary Function script Column data.
A kind of specific implementation of sequence of operation data can be with as follows:
"Step:=", " Win:=", " Img_find:=", " TimeOut:=", " Img_find_nocare:=", " Mouse:=", " Key:=", " Delay:=".
Wherein, " Step:=" value behind middle equal sign, can represent the corresponding operating procedure of row sequence of operation data Operate purpose,;"Win:=" value behind middle equal sign, can represent the currently active window;"Img_find:=" after middle equal sign The value in face, can represent the store path of characteristic pattern under current operation status and the title (after the concept of characteristic pattern of characteristic pattern Extended meeting is illustrated), " TimeOut:=" value behind middle equal sign, can represent a variety of implications, such as can represent in limited time A characteristic pattern to be found, or can represent to wait a characteristic pattern disappearance in limited time;"Img_find_nocare:=" medium Value behind number, can be represented if searched less than characteristic pattern, if carry out the prompting that reports an error;"Mouse:=" behind middle equal sign Value, can represent the operation that mouse is performed;"Key:=" value behind middle equal sign, can represent button operation or the input of keyboard A string of texts;"Delay:=" value behind middle equal sign, can represent the delay stand-by period after the execution of this operating procedure, Unit can be the second.
In above example, according to practical operation, can have concrete numerical value or mark behind equal sign.For example, As " Key:=" when the value behind middle equal sign is " v ", i.e. " Key:=v " can represent to need to perform in the step by lower keyboard The operation of V keys."Delay:=" when the value behind middle equal sign is 1, i.e. " Delay:=1 " it can represent that the step can be with after performing There is the delay time limit of 1 second.In practical application, the sequence of operation data can also have various implementations according to demand, this Place will not enumerate.
Also include Elementary Function scripted code in the Elementary Function script.The Elementary Function scripted code can be right The sequence of operation data are called.Purposeful coded description, the purpose can also be included in the Elementary Function script Coded description can describe the operation purpose of the Elementary Function script, so that developer is calling or changed the unit During function script, the operation purpose of step corresponding to the Elementary Function script is understood quickly.
In practical application, before the Elementary Function script call operation of user's input is obtained, following step can also be included Suddenly:
The Elementary Function script for obtaining user's input records startup operation;
Record operating procedure performed when user is tested the application program to be measured;
The Elementary Function script for obtaining user's input records end operation;
Generate the list corresponding to the operating procedure that the user performs between the startup operation and the end operation Meta function script.
After user completes the test operation carried out to program, user can be recorded when performing the operating procedure Elementary Function script is preserved.
User can be called to the Elementary Function script of preservation.Pass through calling for user, multiple Elementary Function scripts It just can integrally constitute a test case script.
Test cell 603, for being tested using the test case script application program to be measured.
When being tested using the test case script application program to be measured, by the Elementary Function script Elementary Function scripted code, it is possible to achieve sequence of operation data are called.During the sequence of operation data are called, It can parse according to the sequence of operation data and obtain corresponding operating procedure code, institute is performed by equipment such as computers automatically Operating procedure code is stated, the test for application program to be measured is realized.
In summary, in the present embodiment, by obtaining the Elementary Function script call operation that user inputs;By the unit The corresponding Elementary Function script of function script call operation is assembled into test case script;Wherein, in the Elementary Function script Performed multiple continuous operating procedures when being tested comprising user program, the Elementary Function script is included by each The sequence of operation data that the corresponding peration data of the operating procedure is constituted and the list for calling the sequence of operation data Meta function scripted code;Because testing procedure is divided into Elementary Function scripted code and sequence of operation data are preserved respectively, by User is called to generate complete test case script respectively for each Elementary Function script, so when journey to be tested When sequence changes, it is only necessary to corresponding sequence of operation data in the step of modification changes.It therefore, it can make test With having the relatively low degree of coupling between case script and program to be tested, if program to be tested changes, it is only necessary to test Carried out simply changing with case script, reduce the human cost of modification process consuming.
In practical application, described device can also include:
Startup operation acquiring unit is recorded, before the Elementary Function script call operation for obtaining user's input, is obtained The Elementary Function script of user's input records startup operation;
Operating procedure recording elements, for recording operation performed when user is tested the application program to be measured Step;
End operation acquiring unit is recorded, the Elementary Function script for obtaining user's input records end operation;
Elementary Function script obtaining unit, terminates for obtaining the user in the recording startup operation with the recording Elementary Function script corresponding to the operating procedure performed between operation.
In practical application, the operating procedure recording elements are specifically determined for the corresponding behaviour of the operating procedure Make the characteristic image of object;
And for the characteristic image name of the characteristic image and characteristic image path to be added in the sequence of operation number In, so as to when being tested using the test case script the application program to be measured, according to the characteristic image Name and characteristic image path obtain the characteristic image, and operation is judged by way of image recognition based on the characteristic image Whether the image-context represented with the characteristic image matches the image-context that body is presently in.
In practical application, the operating procedure recording elements determine the characteristic pattern of the corresponding operation object of the operating procedure Picture, can specifically include obtaining the graphical information that user intercepts in the operation object;
And for the graphical information to be defined as to the characteristic image of the corresponding operation object of the operating procedure.
In practical application, the operating procedure recording elements specifically can be used for obtaining user in the execution operation step The text message and/or keyboard operation information inputted when rapid;
And for the text message and/or keyboard operation information to be added in the sequence of operation data, so as to When being tested using the test case script the application program to be measured, automatically enter the text message and/or Keyboard operation information.
In practical application, the operating procedure recording elements specifically can be used for obtaining and be put when performing the operating procedure The forms name of preceding forms;
And for forms name to be added in the sequence of operation data, to use the test case pin When this is tested the application program to be measured, the forms before being put based on forms name.
In practical application, it can also include:
Default Elementary Function script acquiring unit, for obtain user's input Elementary Function script call operation it Afterwards, the default Elementary Function script that user is selected based on default Elementary Function script listing is obtained;
Default Elementary Function script adding device, for adding the default Elementary Function script to the test case In script, to realize the assembly of test case script;
Wherein, the default Elementary Function script includes:
Elementary Function script for controlling network supervisor;
And/or, the Elementary Function script for controlling external equipment.
In practical application, it can also include:
Parameter changes interface display unit, for obtaining the user in the recording startup operation and the recording knot After the Elementary Function script corresponding to operating procedure performed between beam operation, the parameter in the Elementary Function script is shown Change interface;
Parameter modification operation receiving unit, is grasped for receiving the parameter modification that user changes interface input by the parameter Make;
Parameter modifying unit, is operated for being changed based on the parameter, changes the parameter in the Elementary Function script.
In addition, the embodiment of the present application additionally provides a kind of calculate node, calculate node is probably the master comprising computing capability Machine server, or personal computer PC, or portable portable computer or terminal etc., the application is specifically real Example is applied not limit implementing for calculate node.
Fig. 7 is the structure chart of the calculate node of the application.As shown in fig. 7, calculate node 700 includes:
Processor (processor) 710, communication interface (Communications Interface) 720, memory (memory) 730, bus 740.
Processor 710, communication interface 720, memory 730 completes mutual communication by bus 740.
Processor 710, for configuration processor 732.
Specifically, program 732 can include program code, and described program code includes computer-managed instruction.
Processor 710 is probably a central processor CPU, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement one or more integrated electricity of the embodiment of the present application Road.
Memory 730, for depositing program 732.Memory 730 may include high-speed RAM memory, it is also possible to also include Nonvolatile memory (non-volatile memory), for example, at least one magnetic disk storage.
The corresponding module or unit that implement in embodiment shown in Figure 6 of each module, do not go to live in the household of one's in-laws on getting married herein in program 732 State.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.
Through the above description of the embodiments, those skilled in the art can be understood that the application can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware, but in many cases before Person is more preferably embodiment.Understood based on such, whole that the technical scheme of the application contributes to background technology or Person part can be embodied in the form of software product, and the computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions are to cause a computer equipment (can be personal computer, service Device, or the network equipment etc.) perform method described in some parts of each embodiment of the application or embodiment.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other Between the difference of embodiment, each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
Specific case used herein is set forth to the principle and embodiment of the application, and above example is said It is bright to be only intended to help and understand the present processes and its core concept;Simultaneously for those of ordinary skill in the art, foundation The thought of the application, will change in specific embodiments and applications.In summary, this specification content is not It is interpreted as the limitation to the application.

Claims (12)

1. a kind of method for generating test case script, it is characterised in that including:
Obtain the Elementary Function script call operation of user's input;
The corresponding Elementary Function script of the Elementary Function script call operation is assembled into test case script;Wherein, it is described Elementary Function script includes sequence of operation data and the unit work(for calling the sequence of operation data cell function script Energy scripted code, the sequence of operation data are all operationss steps performed when being tested by user application program to be measured What the corresponding peration data of the continuous operating procedure in part in rapid was constituted, and the sequence of operation data and Elementary Function pin This code is preserved respectively;
The application program to be measured is tested using the test case script;
Wherein, before the Elementary Function script call operation for obtaining user's input, in addition to:
The Elementary Function script for obtaining user's input records startup operation;
Record operating procedure performed when user is tested the application program to be measured;
The Elementary Function script for obtaining user's input records end operation;
Obtain corresponding to the operating procedure that the user performs between the recording startup operation and the recording end operation Elementary Function script;
It is then described to record operating procedure performed when user is tested the application program to be measured, specifically include:
Determine the characteristic image of the corresponding operation object of the operating procedure;
The characteristic image name of the characteristic image and characteristic image path are added in the sequence of operation data, to make When being tested with the test case script the application program to be measured, according to characteristic image name and characteristic image road Footpath obtains the characteristic image, and the figure that operating body is presently in is judged by way of image recognition based on the characteristic image As environment, whether the image-context represented with the characteristic image matches.
2. according to the method described in claim 1, it is characterised in that the operating procedure corresponding operation object of determining Characteristic image, is specifically included:
Obtain the graphical information that user intercepts in the operation object;
The graphical information is defined as to the characteristic image of the corresponding operation object of the operating procedure.
3. according to the method described in claim 1, it is characterised in that the recording user surveys to the application program to be measured Performed operating procedure, is specifically included during examination:
Obtain text message and/or keyboard operation information that user inputs when performing the operating procedure;
By the text message and/or the addition of keyboard operation information in the sequence of operation data, to be surveyed using described When case script on probation is tested the application program to be measured, the text message and/or keyboard operation information are automatically entered.
4. according to the method described in claim 1, it is characterised in that the recording user surveys to the application program to be measured Performed operating procedure, is specifically included during examination:
Obtain the forms name of the forms before being put when performing the operating procedure;
By forms name addition in the sequence of operation data, to use the test case script to described to be measured When application program is tested, the forms before being put based on forms name.
5. according to the method described in claim 1, it is characterised in that the Elementary Function script for obtaining user's input calls behaviour After work, in addition to:
Obtain the default Elementary Function script that user is selected based on default Elementary Function script listing;
The default Elementary Function script is added into the test case script, to realize the default Elementary Function Script is assembled into the test case script;
Wherein, the default Elementary Function script includes:
Elementary Function script for controlling network supervisor;
And/or, the Elementary Function script for controlling external equipment.
6. according to the method described in claim 1, it is characterised in that it is described obtain the user the recording startup operation with After the Elementary Function script corresponding to operating procedure performed between the recording end operation, in addition to:
Show the parameter modification interface in the Elementary Function script;
Receive user and the parameter modification operation that interface is inputted is changed by the parameter;
Changed and operated based on the parameter, change the parameter in the Elementary Function script.
7. a kind of device for generating test case script, it is characterised in that including:
Call operation acquiring unit, the Elementary Function script call operation for obtaining user's input;
Test case script assembled rigid unit, for the corresponding Elementary Function script of the Elementary Function script call operation is assembled Into test case script;Wherein, the Elementary Function script includes sequence of operation data and for calling the sequence of operation The Elementary Function scripted code of data cell function script, the sequence of operation data are that application program to be measured is carried out by user What the corresponding peration data of the continuous operating procedure in part during test in performed all operationss step was constituted, and the behaviour Make sequence data and Elementary Function scripted code is preserved respectively;
Test cell, for being tested using the test case script the application program to be measured;
Described device, in addition to:
Startup operation acquiring unit is recorded, for before the Elementary Function script call operation of user's input is obtained, obtaining and using The Elementary Function script of family input records startup operation;
Operating procedure recording elements, the operation step performed when user is tested the application program to be measured for recording Suddenly;
End operation acquiring unit is recorded, the Elementary Function script for obtaining user's input records end operation;
Elementary Function script obtaining unit, for obtaining the user in the recording startup operation and the recording end operation Between Elementary Function script corresponding to the operating procedure that performs;
Wherein, the operating procedure recording elements, the characteristic pattern specifically for determining the corresponding operation object of the operating procedure Picture;
And for the characteristic image name of the characteristic image and characteristic image path to be added in the sequence of operation data, So as to when being tested using the test case script the application program to be measured, according to characteristic image name and spy Levy image path and obtain the characteristic image, and judge that operating body is current by way of image recognition based on the characteristic image Whether the image-context represented with the characteristic image matches residing image-context.
8. device according to claim 7, it is characterised in that the operating procedure recording elements determine the operating procedure The characteristic image of corresponding operation object, specifically includes and obtains the graphical information that user intercepts in the operation object;
And the graphical information is defined as to the characteristic image of the corresponding operation object of the operating procedure.
9. device according to claim 7, it is characterised in that the operating procedure recording elements, is used specifically for obtaining Text message and/or keyboard operation information that family is inputted when performing the operating procedure;
And for the text message and/or keyboard operation information to be added in the sequence of operation data, to make When being tested with the test case script the application program to be measured, the text message and/or keyboard are automatically entered Operation information.
10. device according to claim 7, it is characterised in that the operating procedure recording elements, holds specifically for obtaining The forms name of forms before being put during the row operating procedure;
And for forms name to be added in the sequence of operation data, to use the test case script pair When the application program to be measured is tested, the forms before being put based on forms name.
11. device according to claim 7, it is characterised in that also include:
Default Elementary Function script acquiring unit, for after the Elementary Function script call operation of user's input is obtained, obtaining Take the default Elementary Function script that family is selected based on default Elementary Function script listing;
Default Elementary Function script adding device, for adding the default Elementary Function script to the test case script In, the default Elementary Function script is assembled into the test case script to realize;
Wherein, the default Elementary Function script includes:
Elementary Function script for controlling network supervisor;
And/or, the Elementary Function script for controlling external equipment.
12. device according to claim 7, it is characterised in that also include:
Parameter changes interface display unit, for obtaining the user in the recording startup operation and the recording end behaviour After Elementary Function script corresponding to the operating procedure performed between work, the parameter modification in the Elementary Function script is shown Interface;
Parameter modification operation receiving unit, is operated for receiving the parameter modification that user changes interface input by the parameter;
Parameter modifying unit, is operated for being changed based on the parameter, changes the parameter in the 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 CN103984626A (en) 2014-08-13
CN103984626B true 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)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155886B (en) * 2015-03-31 2019-05-14 北京奇虎科技有限公司 A kind of method and apparatus of key mouse script processing
CN106354482A (en) * 2015-07-13 2017-01-25 西安中兴新软件有限责任公司 Method and device for acquiring automated scripts and application method and device of automated scripts
CN106814629B (en) * 2015-11-27 2021-03-12 大唐移动通信设备有限公司 Method and device for controlling 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
CN107766226B (en) * 2016-08-18 2021-04-09 北京金山云网络技术有限公司 Test method and device
CN106528420B (en) * 2016-11-07 2019-04-05 中国工商银行股份有限公司 A kind of automated testing method and device of software interface
CN108287788A (en) * 2017-12-26 2018-07-17 广东睿江云计算股份有限公司 A kind of use-case step matching method based on test case, system
CN110175112A (en) * 2019-04-17 2019-08-27 武汉思普崚技术有限公司 The method and apparatus of Kernel-based methods management raising version testing efficiency
CN111176994B (en) * 2019-12-24 2023-03-31 北京轩宇信息技术有限公司 Unit test case generation method and device for embedded software IO port
CN114900569B (en) * 2022-05-17 2024-05-03 中国银行股份有限公司 Test script acquisition method and device

Citations (4)

* 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
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
CN103713989A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Test case generating method and test case generating device for user terminal

Family Cites Families (3)

* 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
CN101339534B (en) * 2008-06-17 2010-10-13 金蝶软件(中国)有限公司 Software test apparatus and test method
CN103365643B (en) * 2012-03-30 2017-07-21 Ge医疗系统环球技术有限公司 A kind of method and device for the test script for automatically generating graphic user interface

Patent Citations (4)

* 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
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
CN103713989A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Test case generating method and test case generating device for user terminal

Also Published As

Publication number Publication date
CN103984626A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN103984626B (en) A kind of method and device for generating test case script
US7617486B2 (en) Method and system to automate software testing using sniffer side and browser side recording and a toolbar interface
CN106649084A (en) Function call information obtaining method and apparatus, and test device
CN109669688A (en) Based on visual software development methodology, device, terminal device and storage medium
CN102053911A (en) Automated testing method and system based on Android and mobile terminal
US7885943B1 (en) IT compliance rules
CN108345543A (en) A kind of data processing method, device, equipment and storage medium
CN110515830A (en) Operation trace method for visualizing, device, equipment and storage medium
CN103309802A (en) Method and device for testing system stability in mobile terminal
WO2019155369A1 (en) Tri-affinity model driven method and platform for authoring, realizing, and analyzing a cross-platform application
CN110032519A (en) Cloud function adjustment method, device, computer equipment and storage medium
CN109634490A (en) A kind of list display method, device, equipment and storage medium
CN108111364B (en) Service system testing method and device
CN110532159A (en) Data decryptor method, apparatus, equipment and computer readable storage medium
CN111045653A (en) System generation method and device, computer readable medium and electronic equipment
US20200110592A1 (en) Auto-deployment of applications
CN113590454A (en) Test method, test device, computer equipment and storage medium
CN109491646A (en) A kind of message input method, device, electronic equipment and readable medium
US9723489B1 (en) Automated vulnerability discovery in mobile device applications
CN114502971A (en) Electronic product testing system for providing automated product testing
Serrano et al. Multimodal interaction on mobile phones: development and evaluation using ACICARE
CN105760300B (en) A kind of automated testing method and test macro of STK/UTK business
US11232019B1 (en) Machine learning based test coverage in a production environment
US10083106B2 (en) Computer aided bug reporting system for GUI applications
CN106528413A (en) Method and device for testing application program

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