CN107480048A - Testing tool generation method, device, storage medium and computer equipment - Google Patents

Testing tool generation method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN107480048A
CN107480048A CN201710571513.1A CN201710571513A CN107480048A CN 107480048 A CN107480048 A CN 107480048A CN 201710571513 A CN201710571513 A CN 201710571513A CN 107480048 A CN107480048 A CN 107480048A
Authority
CN
China
Prior art keywords
target detection
detection instrument
testing tool
generated
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710571513.1A
Other languages
Chinese (zh)
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.)
Shenzhen Mavericks Online Internet Information Consulting Co Ltd
Original Assignee
Shenzhen Mavericks Online Internet Information Consulting 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 Shenzhen Mavericks Online Internet Information Consulting Co Ltd filed Critical Shenzhen Mavericks Online Internet Information Consulting Co Ltd
Priority to CN201710571513.1A priority Critical patent/CN107480048A/en
Publication of CN107480048A publication Critical patent/CN107480048A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of testing tool generation method, device, storage medium and computer equipment, methods described includes:Web test frames are imported into eclipse development platforms, the web test frames integrate a variety of class libraries for being used to develop testing tool;Java server page files corresponding with target detection instrument to be generated are created under the path that the web test frames are specified;Call target detection instrument corresponding to method exploitation generation corresponding with the target detection instrument to be generated in the class libraries;The target detection instrument is packed and is deployed to corresponding test environment.The above method can improve the development efficiency of testing tool.

Description

Testing tool generation method, device, storage medium and computer equipment
Technical field
The present invention relates to software testing technology field, is situated between more particularly to a kind of testing tool generation method, device, storage Matter and computer equipment.
Background technology
Software Testing Tool is some simple problems of software is intuitively shown in face of reader by some instruments, Tester can be so set preferably to find out the place of software error.In software test procedure, it is necessary to for different tests Demand, develop corresponding Software Testing Tool.
But in conventional art, different testing tools is generated, it is necessary to design different methods, causes testing tool to be developed Efficiency it is low.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, there is provided a kind of testing tool generation method, device, storage medium And computer equipment, improve the efficiency that testing tool is developed.
A kind of testing tool generation method, including:
Web test frames are imported into eclipse development platforms, the web test frames integrate a variety of for developing test The class libraries of instrument;
Java services corresponding with target detection instrument to be generated are created under the path that the web test frames are specified Device pagefile;
Call mesh corresponding to method exploitation generation corresponding with the target detection instrument to be generated in the class libraries Mark testing tool;
The target detection instrument is packed and is deployed to corresponding test environment.
In one embodiment, described the step of web test frames are imported into eclipse development platforms, includes:
The code of the web test frames is obtained by the eclipse development platforms;
The code is uploaded to database server and changes the connection configuration of java databases.
In one embodiment, it is described to call side corresponding with the target detection instrument to be generated in the class libraries Include corresponding to method exploitation generation the step of target detection instrument:
A setting instruction is buried in reception, is set and is buried a little in the java server page files;
Obtain current visitor's IP address;
The method in the class libraries is called to realize the correlation function of the target detection instrument to be generated;
Dispose the test environment of the target detection instrument to be generated.
In one embodiment, before the described the step of testing tool is packed and is deployed to corresponding test environment Also include:
Breakpoint setup instruction is received, breakpoint is set in eclipse development platforms according to breakpoint setup instruction;
Testing tool is debugged according to the breakpoint.
A kind of testing tool generating means, including:
Web test frame import moduls, for web test frames to be imported into eclipse development platforms, the web tests Framework integrates a variety of class libraries for being used to develop testing tool;
File creation module, for being created under the path that the web test frames are specified and target detection to be generated Java server page files corresponding to instrument;
Target detection too development module, it is relative with the target detection instrument to be generated in the class libraries for calling Target detection instrument corresponding to the method exploitation generation answered;
Deployment module, for the target detection instrument to be packed and is deployed to corresponding test environment.
In one embodiment, the web test frames import modul includes:
Code obtaining module, for obtaining the code of the web test frames by the eclipse development platforms;
Code uploading module, match somebody with somebody for the code to be uploaded to database server and change the connection of java databases Put.
In one embodiment, the target detection too development module includes:
A setup module is buried, a setting instruction is buried for receiving, sets and buried a little in the java server page files;
IP address acquisition module, for obtaining current visitor's IP address;
Function realizes module, for calling the method in the class libraries to realize the phase of the target detection instrument to be generated Close function;
Test environment deployment module, for disposing the test environment of the target detection instrument to be generated.
In one embodiment, described device also includes:
Breakpoint setup module, for receiving breakpoint setup instruction, developed and put down in eclipse according to breakpoint setup instruction Breakpoint is set in platform;
Debugging module, for being debugged according to the breakpoint to testing tool.
A kind of computer-readable recording medium, computer executable instructions are stored with computer-readable recording medium, count When calculation machine executable instruction is executed by processor so that computing device following steps:
Web test frames are imported into eclipse development platforms, the web test frames integrate a variety of for developing test The class libraries of instrument;
Java services corresponding with target detection instrument to be generated are created under the path that the web test frames are specified Device pagefile;
Call mesh corresponding to method exploitation generation corresponding with the target detection instrument to be generated in the class libraries Mark testing tool;
The target detection instrument is packed and is deployed to corresponding test environment.
In one embodiment, it is described that web test frames are imported into eclipse development platforms, including:
The code of the web test frames is obtained by the eclipse development platforms;
The code is uploaded to database server and changes the connection configuration of java databases.
In one embodiment, it is described to call side corresponding with the target detection instrument to be generated in the class libraries Target detection instrument corresponding to method exploitation generation, including:
A setting instruction is buried in reception, is set and is buried a little in the java server page files;
Obtain current visitor's IP address;
The method in the class libraries is called to realize the correlation function of the target detection instrument to be generated;
Dispose the test environment of the target detection instrument to be generated.
In one embodiment, when computer executable instructions are executed by processor so that computing device will test work Tool is packed and is deployed to after corresponding test environment, also performs following steps:
Breakpoint setup instruction is received, breakpoint is set in eclipse development platforms according to breakpoint setup instruction;
Testing tool is debugged according to the breakpoint.
A kind of computer equipment, including memory and processor, computer-readable instruction, computer are stored in memory When readable instruction is executed by processor so that computing device following steps:
Web test frames are imported into eclipse development platforms, the web test frames integrate a variety of for developing test The class libraries of instrument;
Java services corresponding with target detection instrument to be generated are created under the path that the web test frames are specified Device pagefile;
Call mesh corresponding to method exploitation generation corresponding with the target detection instrument to be generated in the class libraries Mark testing tool;
The target detection instrument is packed and is deployed to corresponding test environment.
In one embodiment, it is described that web test frames are imported into eclipse development platforms, including:
The code of the web test frames is obtained by the eclipse development platforms;
The code is uploaded to database server and changes the connection configuration of java databases.
In one embodiment, it is described to call side corresponding with the target detection instrument to be generated in the class libraries Target detection instrument corresponding to method exploitation generation, including:
A setting instruction is buried in reception, is set and is buried a little in the java server page files;
Obtain current visitor's IP address;
The method in the class libraries is called to realize the correlation function of the target detection instrument to be generated;
Dispose the test environment of the target detection instrument to be generated.
In one embodiment, computer-readable instruction causes computing device that the testing tool is packed and is deployed to Before the step of corresponding test environment, following steps are also performed:
Breakpoint setup instruction is received, breakpoint is set in eclipse development platforms according to breakpoint setup instruction;
Testing tool is debugged according to the breakpoint.
Above-mentioned testing tool generation method, device, readable storage medium storing program for executing and computer equipment, by by web test blocks Frame is imported in eclipse development platforms, is created under the path that the web test frames are specified and target detection work to be generated Java server page files corresponding to tool, when carrying out the exploitation of testing tool, it may be selected to call integrated in web test frames Class libraries of respectively increasing income, improve testing tool exploitation efficiency, to realize the quick exploitation of testing tool.
Brief description of the drawings
Fig. 1 is the flow chart of testing tool generation method in one embodiment;
Fig. 2 is the flow chart that web test frames are imported to eclipse development platforms in one embodiment;
Fig. 3 is that method exploitation generation corresponding with target detection instrument to be generated in class libraries is called in one embodiment The flow chart of corresponding target detection instrument;
Fig. 4 is the flow chart of testing tool generation method in another embodiment;
Fig. 5 is the structured flowchart of testing tool generating means in one embodiment;
Fig. 6 is the structured flowchart of web test frame import moduls in one embodiment;
Fig. 7 is the structured flowchart of target detection too development module in one embodiment;
Fig. 8 is the structured flowchart of testing tool generating means in another embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In one embodiment, as shown in Figure 1, there is provided a kind of testing tool generation method, this method include:
Step S110, web test frames are imported into eclipse development platforms, the web test frames integrate a variety of for opening Send out the class libraries of testing tool.
Specifically, svn (Subversion) resources bank that eclipse development platforms can be used to carry quickly introduces function will Web test frames import.
In one embodiment, web test frames are integrated with following class libraries of increasing income:junit、jmf、httpclient、 htmlparser、htmlcleaner、commons-net、commons-email、commons-dbcp、commons-dbcp2、 commons-pool2、dom4j、mysql-connector-java、selenium-java、json、jsch、quartz、 jfreechart、ews-java-api、poi、poi-ooxml、javax.servlet-api、commons-fileupload、 Svnkit etc..
Step S120, created under the path that web test frames are specified corresponding with target detection instrument to be generated Java server page files.
Specifically, web test frames provide a set of development specifications, and user is when carrying out testing tool exploitation, according to this Development specifications is Maked Path, and JSP (Java Server Pages, the java servers page) file is created under the path, is used Code and various resources when testing tool exploitation is stored.
In one embodiment, the testing tool that can be generated includes:Test environment rapid deployment, test environment are integrated Management, shell far calls, api interface testings, SQL far calls, test job daily paper, test assignment waiting table, test are asked Topic tracking etc..
Step S130, call mesh corresponding to method exploitation generation corresponding with target detection instrument to be generated in class libraries Mark testing tool.
Specifically, web test frames include control of authority module to realize control of the web test frames to user right, Therefore, it is necessary to first call control of authority module to obtain user right before carrying out the exploitation of testing tool.Authority is obtained to open afterwards Beginning writes the exploitation that code realizes testing tool.
In one embodiment, in the development process of testing tool, following methods can be called:String processing, date Processing, abnormality processing, the transmission of Email/Exchange mails, Report Form Design, timed task, Shell remotely perform, SQL is long-range Perform, send HTTP message, EDI and the test common method such as import and export.
Step S140, target detection instrument is packed and is deployed to corresponding test environment.
Specifically, in the present embodiment, using ANT (Another Neat Tool, another clean and tidy instrument) to testing work The java files of tool are compiled, packed and dispose.Ant is allowed to compile this file, it is necessary first to write a Build configuration File.In general, this file is named as build.xml.
Above-mentioned testing tool generation method, by the way that web test frames are imported in eclipse development platforms, surveyed in web Java server page files corresponding with target detection instrument to be generated are created under the path that examination framework is specified, are being surveyed During the exploitation of trial work tool, it may be selected to call the class libraries of respectively increasing income integrated in web test frames, improve the effect of testing tool exploitation Rate, to realize the quick exploitation of testing tool.
In one embodiment, as shown in Fig. 2 web test frames are imported into eclipse development platforms, including:
Step S111, the code of web test frames is obtained by eclipse development platforms.
Step S112, code is uploaded to database server and changes the connection configuration of java databases.
Specifically, in one embodiment, eclipse preserves the code of acquisition to svn local repositories, by svn sheets Ground resources bank establishes long-range connection with corresponding database server, while can set remote access resources bank link (URL), Uploaded in case being downloaded in eclipse development platforms.
In one embodiment, as shown in figure 3, calling method corresponding with target detection instrument to be generated in class libraries Target detection instrument corresponding to exploitation generation, including:
Step S131, reception bury a setting instruction, set and buried a little in the java server page files.
Specifically, bury and a little refer to burying point code in somewhere one section of setting, so that system buries point code by this section Go to obtain log recording.For example the operating process that user changes certain system information is recorded, the modification is by clicking on " preservation " Button submits modification information, then just needs the clicking operation in " preservations " button to realize that adding one section in code buries a generation Code, the data for needing to capture are set, system will receive these data automatically and be stored in inside system, so as to realize inquiry. Wherein, bury point code be by be embedded into browser end/application client collection user behavior data program code and Rear end is used to monitor the whether abnormal program code composition of user behavior data collection result.It can be got by burying point code Bury the data for user behavior information analysis of point code capture.For example, can be by webpage embedded set JavaScript Script, when the user accesses a web page, triggering statistics script, which obtains, accesses data, and rear end java applet judges whether data structure is different Often.
Step S132, obtain current visitor's IP address.
Specifically, after obtaining IP address, user corresponding to the IP address is given to distribute authority by authority management module.
Step S133, the method in class libraries is called to realize the correlation function of target detection instrument to be generated.
Specifically, testing tool is analyzed, obtains the functional requirement of testing tool, called according to the functional requirement Method corresponding with the function writes code in the class libraries that web test frames integrate.
In one embodiment, after written in code is complete, the newly-built related list in project database, such as inquiry form, increase Revise and look into general list and all kinds of far call lists etc., to realize all kinds of interface testings, lift testing efficiency.
Step S134, dispose the test environment of target detection instrument to be generated.
In one embodiment, as shown in figure 4, testing tool is packed and also wrapped before test environment corresponding to being deployed to Include:
Step S150, breakpoint setup instruction is received, set according to breakpoint setup instruction in eclipse development platforms disconnected Point.
Specifically, when startup application program is debugged, Eclipse, which can be automatically switched to, fixes a breakdown (DEBUG) thoroughly View.Now, breakpoint can be set in bag browser (Package Explorer) view of Java perspective views, double-clicks selection Source code file, it is opened in an editing machine.
In one embodiment, may be selected to set row breakpoint (Line breakpoints), method is as follows:Travel through code, Mouse is placed on the mark column (in the left side of editor zone) of suspect code a line, double-clicks i.e. settable breakpoint.
In one embodiment, can also be that above-mentioned Line Breakpoint set a condition, then when program is run During to the breakpoint, only meet the condition of setting, can just be interrupted, method is as follows:Click the line code by right key, select breakpoint category Property (Breakpoint Properties), in the properties dialog of ejection, chooses " condition (Conditional) ", then Default condition is inputted in text box.When " count%2==0 " is inputted such as in text box, the condition represents, works as program When running to 20 row, only when count is even number, program can be just interrupted.
Step S160, testing tool is debugged according to breakpoint.
Specifically, when running into breakpoint from the background, into DEBUG debugging modes, shortcut F5, F6, F7 single step can be used to hold Line program, wherein:
F5 is indicated entry into inside the function of the row;
F6 represents that a line a line performs;
F7 represents to exit current function;
In one embodiment, the direct configuration processors of shortcut F8 also can be used, i.e., if there is breakpoint below, then run To at next breakpoint, program has otherwise been run.
In one embodiment, after being debugged to testing tool, in addition to testing procedure, log in web frameworks can Depending on changing the page, testing procedure description information is write, you can automation is tested.
In one embodiment, as shown in figure 5, also providing a kind of testing tool generating means 200, including:
Web test frames import modul 210, for web test frames to be imported into eclipse development platforms, web test blocks Frame integrates a variety of class libraries for being used to develop testing tool;
File creation module 220, for being created under the path that web test frames are specified and target detection work to be generated Java server page files corresponding to tool;
Target detection too development module 230, it is corresponding with target detection instrument to be generated in class libraries for calling Target detection instrument corresponding to method exploitation generation;
Deployment module 240, for target detection instrument to be packed and is deployed to corresponding test environment.
In one embodiment, as shown in fig. 6, web test frames import modul 210 includes:
Code obtaining module 211, for obtaining the code of web test frames by eclipse development platforms;
Code uploading module 212, for code to be uploaded into database server and changes the connection configuration of java databases.
In one embodiment, as shown in fig. 7, target detection too development module 230 includes:
A setup module 231 is buried, a setting instruction is buried for receiving, sets and buried a little in java server page files;
IP address acquisition module 232, for obtaining current visitor's IP address;
Function realizes module 233, for calling the method in class libraries to realize the related work(of target detection instrument to be generated Energy;
Test environment deployment module 234, for disposing the test environment of target detection instrument to be generated.
In one embodiment, as shown in figure 8, said apparatus also includes:
Breakpoint setup module 250, for receiving breakpoint setup instruction, developed and put down in eclipse according to breakpoint setup instruction Breakpoint is set in platform;
Debugging module 260, for being debugged according to breakpoint to testing tool.
In one embodiment, computer executable instructions are stored with computer-readable recording medium, computer can be held When row instruction is executed by processor so that computing device following steps:Web test frames are imported into eclipse development platforms, The web test frames integrate a variety of class libraries for being used to develop testing tool;Create and treat under the path that web test frames are specified Java server page files corresponding to the target detection instrument of generation;Call class libraries in target detection instrument phase to be generated Target detection instrument corresponding to corresponding method exploitation generation;Target detection instrument is packed and is deployed to corresponding test wrapper Border.
In one embodiment, web test frames are imported into eclipse development platforms, including:Developed by eclipse Platform obtains the code of web test frames;Code is uploaded to database server and changes the connection configuration of java databases.
In one embodiment, method exploitation life corresponding with target detection instrument to be generated in the class libraries is called Into corresponding target detection instrument, including:A setting instruction is buried in reception, is set and is buried a little in java server page files;Obtain Take current visitor's IP address;The method in class libraries is called to realize the correlation function of target detection instrument to be generated;Deployment is treated The test environment of the target detection instrument of generation.
In one embodiment, when computer executable instructions are executed by processor so that computing device will test work Tool is packed and is deployed to before corresponding test environment, also performs following steps:Breakpoint setup instruction is received, according to breakpoint setup Instruction sets breakpoint in eclipse development platforms;Testing tool is debugged according to breakpoint.
In one embodiment, a kind of computer equipment, including memory and processor are also provided, stored in memory Computer-readable instruction, when computer-readable instruction is executed by processor so that computing device following steps:Web is tested Framework imports eclipse development platforms, and the web test frames integrate a variety of class libraries for being used to develop testing tool;Tested in web Java server page files corresponding with target detection instrument to be generated are created under the path that framework is specified;Call in class libraries Target detection instrument corresponding to the method exploitation generation corresponding with target detection instrument to be generated;Target detection instrument is beaten Wrap and be deployed to corresponding test environment.
In one embodiment, web test frames are imported into eclipse development platforms, including:Developed by eclipse Platform obtains the code of web test frames;Code is uploaded to database server and changes the connection configuration of java databases.
In one embodiment, method exploitation life corresponding with target detection instrument to be generated in the class libraries is called Into corresponding target detection instrument, including:A setting instruction is buried in reception, is set and is buried a little in java server page files;Obtain Take current visitor's IP address;The method in class libraries is called to realize the correlation function of target detection instrument to be generated;Deployment is treated The test environment of the target detection instrument of generation.
In one embodiment, when computer-readable instruction is executed by processor so that computing device is by testing tool Pack and be deployed to before corresponding test environment, also perform following steps:Breakpoint setup instruction is received, is referred to according to breakpoint setup Order sets breakpoint in eclipse development platforms;Testing tool is debugged according to breakpoint.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of testing tool generation method, methods described include:
Web test frames are imported into eclipse development platforms, the web test frames integrate a variety of for developing testing tool Class libraries;
Java server pages corresponding with target detection instrument to be generated are created under the path that the web test frames are specified Face file;
Target corresponding to method exploitation generation corresponding with the target detection instrument to be generated in the class libraries is called to survey Trial work has;
The target detection instrument is packed and is deployed to corresponding test environment.
2. according to the method for claim 1, it is characterised in that described that web test frames are imported into eclipse development platforms The step of include:
The code of the web test frames is obtained by the eclipse development platforms;
The code is uploaded to database server and changes the connection configuration of java databases.
3. according to the method for claim 1, it is characterised in that it is described call in the class libraries with the target to be generated Include corresponding to the corresponding method exploitation generation of testing tool the step of target detection instrument:
A setting instruction is buried in reception, is set and is buried a little in the java server page files;
Obtain current visitor's IP address;
The method in the class libraries is called to realize the correlation function of the target detection instrument to be generated;
Dispose the test environment of the target detection instrument to be generated.
4. according to the method for claim 1, it is characterised in that described that the testing tool is packed and is deployed to corresponding Also include before the step of test environment:
Breakpoint setup instruction is received, breakpoint is set in eclipse development platforms according to breakpoint setup instruction;
Testing tool is debugged according to the breakpoint.
5. a kind of testing tool generating means, it is characterised in that described device includes:
Web test frame import moduls, for web test frames to be imported into eclipse development platforms, the web test frames Integrated a variety of class libraries for being used to develop testing tool;
File creation module, for being created under the path that the web test frames are specified and target detection instrument to be generated Corresponding java server page files;
Target detection too development module, it is corresponding with the target detection instrument to be generated in the class libraries for calling Target detection instrument corresponding to method exploitation generation.
Deployment module, for the target detection instrument to be packed and is deployed to corresponding test environment.
6. device according to claim 4, it is characterised in that the web test frames import modul includes:
Code obtaining module, for obtaining the code of the web test frames by the eclipse development platforms;
Code uploading module, for the code to be uploaded into database server and changes the connection configuration of java databases.
7. device according to claim 4, it is characterised in that the target detection too development module includes:
A setup module is buried, a setting instruction is buried for receiving, sets and buried a little in the java server page files;
IP address acquisition module, for obtaining current visitor's IP address;
Function realizes module, for calling the method in the class libraries to realize the related work(of the target detection instrument to be generated Energy;
Test environment deployment module, for disposing the test environment of the target detection instrument to be generated.
8. device according to claim 4, it is characterised in that described device also includes:
Breakpoint setup module, for receiving breakpoint setup instruction, according to breakpoint setup instruction in eclipse development platforms Breakpoint is set;
Debugging module, for being debugged according to the breakpoint to testing tool.
9. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Executable instruction, when the computer executable instructions are executed by processor so that the computing device Claims 1-4 Any one of method the step of.
10. a kind of computer equipment, it is characterised in that including memory and processor, computer is stored in the memory Readable instruction, when the computer-readable instruction is by the computing device so that the computing device Claims 1-4 Any one of method the step of.
CN201710571513.1A 2017-07-13 2017-07-13 Testing tool generation method, device, storage medium and computer equipment Pending CN107480048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710571513.1A CN107480048A (en) 2017-07-13 2017-07-13 Testing tool generation method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710571513.1A CN107480048A (en) 2017-07-13 2017-07-13 Testing tool generation method, device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN107480048A true CN107480048A (en) 2017-12-15

Family

ID=60596561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710571513.1A Pending CN107480048A (en) 2017-07-13 2017-07-13 Testing tool generation method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN107480048A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510287A (en) * 2018-01-16 2018-09-07 平安科技(深圳)有限公司 Judgment method, electronic device and the computer readable storage medium that client pays a return visit
WO2020024408A1 (en) * 2018-08-03 2020-02-06 平安科技(深圳)有限公司 Test device, test method and storage medium
CN113722229A (en) * 2021-09-06 2021-11-30 挂号网(杭州)科技有限公司 Software testing method and device, electronic equipment and storage medium
CN116383093A (en) * 2023-06-05 2023-07-04 成都佰维存储科技有限公司 Windows test environment deployment method and device, readable storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873872B1 (en) * 2001-07-10 2011-01-18 Versata Development Group, Inc. System and method for remotely debugging application programs
CN105389261A (en) * 2015-12-23 2016-03-09 北京奇虎科技有限公司 Asynchronous testing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873872B1 (en) * 2001-07-10 2011-01-18 Versata Development Group, Inc. System and method for remotely debugging application programs
CN105389261A (en) * 2015-12-23 2016-03-09 北京奇虎科技有限公司 Asynchronous testing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王艳梅: "基于Selenium的Web应用测试框架的开发", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510287A (en) * 2018-01-16 2018-09-07 平安科技(深圳)有限公司 Judgment method, electronic device and the computer readable storage medium that client pays a return visit
CN108510287B (en) * 2018-01-16 2020-06-30 平安科技(深圳)有限公司 Client return visit judgment method, electronic device and computer readable storage medium
WO2020024408A1 (en) * 2018-08-03 2020-02-06 平安科技(深圳)有限公司 Test device, test method and storage medium
CN113722229A (en) * 2021-09-06 2021-11-30 挂号网(杭州)科技有限公司 Software testing method and device, electronic equipment and storage medium
CN116383093A (en) * 2023-06-05 2023-07-04 成都佰维存储科技有限公司 Windows test environment deployment method and device, readable storage medium and electronic equipment
CN116383093B (en) * 2023-06-05 2023-08-08 成都佰维存储科技有限公司 Windows test environment deployment method and device, readable storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US8578342B2 (en) Fault detection and localization in dynamic software applications requiring user inputs and persistent states
US8943478B2 (en) Fault detection and localization in dynamic software applications
Jin et al. Automated behavioral regression testing
US9043761B2 (en) Fault localization using condition modeling and return value modeling
Fraser et al. Generating parameterized unit tests
US20110016456A1 (en) Generating additional user inputs for fault detection and localization in dynamic software applications
Soltani et al. A guided genetic algorithm for automated crash reproduction
CN106681912A (en) Method and device for automatic testing of code coverage rate, applied to Android system
CN107480048A (en) Testing tool generation method, device, storage medium and computer equipment
Nayrolles et al. JCHARMING: A bug reproduction approach using crash traces and directed model checking
Alves et al. Prioritizing test cases for early detection of refactoring faults
Stocco et al. Why creating web page objects manually if it can be done automatically?
Tonella et al. Recent advances in web testing
Panichella et al. Evosuite at the sbst 2020 tool competition
CN111859380A (en) Zero false alarm detection method for Android App vulnerability
Li et al. ADAutomation: An activity diagram based automated GUI testing framework for smartphone applications
Tiwari et al. Production monitoring to improve test suites
Marchetto et al. Crawlability metrics for automated web testing
US7409677B1 (en) Method and system for creation and use of embedded trace description
Schoofs et al. Ampyfier: Test amplification in python
CN110633199A (en) Testing apparatus, method, and medium for block chain supporting intelligent contract
Thooriqoh et al. Selenium Framework for Web Automation Testing: A Systematic Literature Review
CN108763079A (en) The method and its system of stream of items automatic test and deployment
Khorram et al. From coverage computation to fault localization: A generic framework for domain-specific languages
Ahmed et al. MuHyb: A proposed mutation testing tool for hybrid mobile applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171215

RJ01 Rejection of invention patent application after publication