CN105068809A - PyQt-based platform for implementing automation project management and case execution - Google Patents

PyQt-based platform for implementing automation project management and case execution Download PDF

Info

Publication number
CN105068809A
CN105068809A CN201510500087.3A CN201510500087A CN105068809A CN 105068809 A CN105068809 A CN 105068809A CN 201510500087 A CN201510500087 A CN 201510500087A CN 105068809 A CN105068809 A CN 105068809A
Authority
CN
China
Prior art keywords
case
module
management
project
pyqt
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
CN201510500087.3A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510500087.3A priority Critical patent/CN105068809A/en
Publication of CN105068809A publication Critical patent/CN105068809A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a PyQt-based platform for implementing automation project management and case execution. A user interface is created by using PyQt. The platform comprises a role management module, a project management module, a case management module, a case execution module, a packet receiving and sending module, a log analysis module, and a progress query module. The role management module is configured to configure a platform management role and corresponding rights. The project management module is configured to automatically execute a project management function. The case management module is configured to manage an automation test case and a manual case. The case execution module is configured to execute a case. The packet receiving and sending module is configured to perform processing of packet receiving and sending. The log analysis module is configured to display, on an interface, a problem encountered in a case execution process, and store the problem in a local directory. The progress query module is configured to query a project progress. The PyQt-based platform for implementing automation project management and case execution of the present invention is comprehensive in functions, easy in use, and user-friendly.

Description

The platform of automation projects management and use-case execution is realized based on PyQt
Technical field
The present invention relates to a kind of robotization platform, particularly relate to a kind of platform realizing automation projects management and use-case execution based on PyQt.
Background technology
Along with development and the progress of the communication technology, automatic test is more and more important, and project management platform is also even more important.No matter be automatic test, or project management can adopt automatic management platform to manage.
But current automatic management platform can't realize automation projects management and use-case performs simultaneously.As, automatic management platform AutoTcl, possesses the function of case management, can perform robotization use-case, but does not have project management function.For another example, although TestLink platform has the function of project management and case management simultaneously, but can not directly perform robotization use-case, also need in conjunction with other platforms, again result is backfilled afterwards, thus add the work complexity of tester to a certain extent, and Testlink uses comparatively complicated.
PyQt is a kit creating GUI application program.It is the successful fusion in Python programming language and Qt storehouse.Qt storehouse is one of the most powerful current storehouse.PyQt is developed by PhilThompson.PyQt achieves a Python module collection.It has more than 300 classes, nearly 6000 function & methords.It is a multi-platform kit, may operate on all major operating system, comprises UNIX, Windows and Mac.PyQt adopts two licence, and developer can select GPL and commercial license.Before this, the version of GPL can only be used on Unix, and from the edition 4 of PyQt, GPL licence can be used for the platform of all supports.
In view of the power of PyQt, a kind of automatic management platform simultaneously can taking into account project management and use-case execution how is provided to become current hot subject.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of platform realizing automation projects management and use-case execution based on PyQt, can realize automation projects management and test case execution, its complete function simultaneously, be easy to perform.
For achieving the above object and other relevant objects, the invention provides a kind of platform realizing automation projects management and use-case execution based on PyQt, adopt PyQt to create user interface, comprise Role Management module, project management module, case management module, use-case execution module, transmitting-receiving bag module, log analysis module and progress queries module; Described Role Management module is used for the authority of configuration platform role of manager and correspondence; Described project management module is used for automated execution project management function; Described case management module is used for management automation test case and manual use-case; Described use-case execution module is for performing automatic test cases and manual use-case; Described transmitting-receiving bag module is used for carrying out the process of transmitting-receiving bag; Described log analysis module is used for the problem that will run in use-case implementation, is kept at local directory in interface display; Described progress queries module is used for the progress of queried for items.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: described platform is by Python programming realization.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: in described Role Management module, role of manager comprises keeper, project manager and common test personnel; Described administrator right is maximum, can control overall all functions; Described project manager has the authority of establishment project, allocating task, nominative testing personnel; Described common test personnel only have the authority of checking allocation of items situation and performing robotization.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: the data structure of described Role Management module creation three dictionaries, corresponding 0,1 and 2 three authority respectively; 0 represents keeper, and 1 represents project manager, and 2 represent common test personnel.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: described project management module comprises the function of add items, delete items, amendment project, allocated items; The configuration parameter of each project comprises project name, bullets, project status, Item version number.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: described case management module adopts tree structure display use-case, and can edit use-case.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: described use-case execution module introduces tcl module in Python, by calling tcl script to perform the use-case write by tcl/tk.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: described transmitting-receiving bag module can repeat to send multiple packet of specifying, and can write the data packet file and preserve.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: all information of described log analysis module passive collection man-machine interaction, whether periodic active goes detection equipment under test to have information to print, and received by serial communication modular, be printed on roll display on screen, and be saved in journal file with word form.
According to the above-mentioned platform realizing automation projects management and use-case execution based on PyQt, wherein: the progress of described project comprises implementation progress and the percent of pass of robotization use-case, the implementation progress of manual use-case.
As mentioned above, the platform realizing automation projects management and use-case execution based on PyQt of the present invention, has following beneficial effect:
(1) project management and use-case execution can be carried out simultaneously;
(2) managerial personnel can check project schedule, automated execution progress and percent of pass at any time;
(3) complete function, be easy to use, friendly interface.
Accompanying drawing explanation
Fig. 1 is shown as the structural representation realizing the platform of automation projects management and use-case execution based on PyQt of the present invention.
Element numbers explanation
1 Role Management module
2 project management module
3 case management modules
4 use-case execution modules
5 transmitting-receiving bag modules
6 log analysis modules
7 progress queries modules
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
With reference to Fig. 1, the platform employing PyQt establishment user interface realizing automation projects management and use-case execution based on PyQt of the present invention, by Python programming realization, comprise Role Management module 1, project management module 2, case management module 3, use-case execution module 4, transmitting-receiving bag module 5, log analysis module 6 and progress queries module 7.
Role Management module 1 is for the authority of configuration platform role of manager and correspondence.Wherein, role of manager comprises keeper, project manager and common test personnel.Wherein administrator right is maximum, can control overall all functions; Project manager has the authority of establishment project, allocating task, appointment dependence test personnel; Common test personnel only have the authority of checking allocation of items situation and performing robotization.
Particularly, Role Management module 1 creates the data structure of three dictionaries, respectively corresponding 0,1 and 2 three authority.Wherein, 0 represents keeper, and 1 represents project manager, and 2 represent common test personnel.Admin Account is unique, without the need to creating, is automatically generated by platform.Login management person's account can create the account number of project manager and common test personnel, and account number type can be selected during establishment for project manager or common test personnel.As code name={xmjl, 1} represent that creating a dictionary is called name, key value is xmjl, and authority is the account of 1, and account is project manager.
When user log in of the present invention realize based on PyQt the platform that automation projects management and use-case perform time, identify the role of manager of its correspondence by input account and password, thus distribute corresponding authority.
Project management module 2, for automated execution project management function, comprises the functions such as add items, delete items, amendment project, allocated items.For each project, configuration parameter comprises project name, bullets, project status, Item version number etc.
For each project, administrator right is maximum, and project manager takes second place, and common test personnel, only can check project situation.When user logs in, first judge the authority credentials of current login account number, if 1, be then project manager, the function such as add items, delete items, amendment project, allocated items is all visible; If be 2, be then that common test personnel log in, then the Fumction display such as add items, delete items, amendment project, allocated items is grey, can not use.
Case management module 3 is for management automation test case and manual use-case.
Particularly, adopt tree structure display use-case, and use-case can be edited.
For switch protocol test, parent is project name, and subordinate is protocol module title, then is use-case title below, and double-click can be opened use-case and be carried out editing, running.
When adding use-case, first judge whether project name exists, if do not exist, add use-case and then point out report an error " please first creating project "; If exist, then allow to add.
Use-case execution module 4 is for performing automatic test cases and manual use-case.
Particularly, in Python, introduce tcl module, call tcl script to perform the use-case write by tcl/tk.
Transmitting-receiving bag module 5 is for carrying out the process of transmitting-receiving bag.
Particularly, Python call pylibpcap module drive network interface card carry out transmitting-receiving bag process.Because pylibpcap module does not support operation of giving out a contract for a project, therefore the present invention needs manually to increase interface of giving out a contract for a project, and measure for fulfill is pcapObject_send (), can repeat to send multiple packet of specifying.In pylibpcap module, packet receiving interface is pcapObject_next ().This interface only carries out catching of packet, can not preserve the bag received.The present invention rewrites pcapObject_next () function, enables to write the data packet file and preserves.
The problem of log analysis module 6 for running in use-case implementation, is kept at local directory in interface display.
Particularly, log analysis module 6 receives multithreading and timer by daily record, all information of passive collection man-machine interaction, whether periodic active goes detection equipment under test to have information to print, and received by serial communication modular, be printed on roll display on screen, and be saved in journal file with word form, until use-case end of run, then discharge serial ports.
Progress queries module 7 for inquiring about the progress of current project, as comprised implementation progress and the percent of pass of robotization use-case, the implementation progress of manual use-case.
Particularly, during the number percent that inquiry use-case performs, the current use-case number run succeeded of progress queries module statistics, divided by use-case sum, runs the number percent of successful use-case with the display of the form of progress bar.
Therefore, by the foundation of each functional module above-mentioned, of the present inventionly realize based on PyQt platform that automation projects management and use-case perform and can carry out project management and use-case simultaneously and perform, decrease the workload of tester, provide good experience sense.
In sum, of the present inventionly realize based on PyQt platform that automation projects management and use-case perform and can carry out project management and use-case simultaneously and perform; Managerial personnel can check project schedule, automated execution progress and percent of pass at any time; Complete function, be easy to use, friendly interface.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. one kind realizes the platform of automation projects management and use-case execution based on PyQt, it is characterized in that: adopt PyQt to create user interface, comprise Role Management module, project management module, case management module, use-case execution module, transmitting-receiving bag module, log analysis module and progress queries module;
Described Role Management module is used for the authority of configuration platform role of manager and correspondence;
Described project management module is used for automated execution project management function;
Described case management module is used for management automation test case and manual use-case;
Described use-case execution module is for performing automatic test cases and manual use-case;
Described transmitting-receiving bag module is used for carrying out the process of transmitting-receiving bag;
Described log analysis module is used for the problem that will run in use-case implementation, is kept at local directory in interface display;
Described progress queries module is used for the progress of queried for items.
2. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, is characterized in that: described platform is by Python programming realization.
3. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, it is characterized in that: in described Role Management module, role of manager comprises keeper, project manager and common test personnel; Described administrator right is maximum, can control overall all functions; Described project manager has the authority of establishment project, allocating task, nominative testing personnel; Described common test personnel only have the authority of checking allocation of items situation and performing robotization.
4. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, is characterized in that: the data structure of described Role Management module creation three dictionaries, respectively corresponding 0,1 and 2 three authority; 0 represents keeper, and 1 represents project manager, and 2 represent common test personnel.
5. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, is characterized in that: described project management module comprises the function of add items, delete items, amendment project, allocated items; The configuration parameter of each project comprises project name, bullets, project status, Item version number.
6. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, is characterized in that: described case management module adopts tree structure display use-case, and can edit use-case.
7. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, is characterized in that: described use-case execution module introduces tcl module in Python, by calling tcl script to perform the use-case write by tcl/tk.
8. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, is characterized in that: described transmitting-receiving bag module can repeat to send multiple packet of specifying, and can write the data packet file and preserve.
9. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, it is characterized in that: all information of described log analysis module passive collection man-machine interaction, whether periodic active goes detection equipment under test to have information to print, and received by serial communication modular, be printed on roll display on screen, and be saved in journal file with word form.
10. the platform realizing automation projects management and use-case execution based on PyQt according to claim 1, is characterized in that: the progress of described project comprises implementation progress and the percent of pass of robotization use-case, the implementation progress of manual use-case.
CN201510500087.3A 2015-08-13 2015-08-13 PyQt-based platform for implementing automation project management and case execution Pending CN105068809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510500087.3A CN105068809A (en) 2015-08-13 2015-08-13 PyQt-based platform for implementing automation project management and case execution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510500087.3A CN105068809A (en) 2015-08-13 2015-08-13 PyQt-based platform for implementing automation project management and case execution

Publications (1)

Publication Number Publication Date
CN105068809A true CN105068809A (en) 2015-11-18

Family

ID=54498189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510500087.3A Pending CN105068809A (en) 2015-08-13 2015-08-13 PyQt-based platform for implementing automation project management and case execution

Country Status (1)

Country Link
CN (1) CN105068809A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912473A (en) * 2016-04-15 2016-08-31 上海海万信息科技有限公司 BDD-based mobile APP automatic testing platform and testing method
CN105915393A (en) * 2016-06-16 2016-08-31 南京国通智能科技有限公司 System applicable to BbCO service architecture
CN106709698A (en) * 2016-12-20 2017-05-24 柳州顺联科技有限公司 Enterprise management system
CN106845923A (en) * 2016-12-20 2017-06-13 柳州顺联科技有限公司 A kind of project management system
CN107818049A (en) * 2017-11-01 2018-03-20 郑州云海信息技术有限公司 Execution method, performs device and the execution equipment of a kind of test case
CN107885834A (en) * 2017-11-09 2018-04-06 郑州云海信息技术有限公司 A kind of Hadoop big datas component uniformly verifies system
CN108984415A (en) * 2018-07-26 2018-12-11 郑州云海信息技术有限公司 A kind of product use-case persistence maintenance system and management method
CN109491901A (en) * 2018-11-01 2019-03-19 郑州云海信息技术有限公司 A kind of the test execution progress metrics system and equipment of various dimensions
CN110175131A (en) * 2019-04-29 2019-08-27 合肥移瑞通信技术有限公司 A kind of script management method and system based on PyQt kit
CN111130922A (en) * 2019-11-28 2020-05-08 中国航空工业集团公司西安航空计算技术研究所 Airborne information safety automatic test method and test platform
CN112328484A (en) * 2020-11-05 2021-02-05 南京讯天游科技有限公司 Method and system for realizing algorithm automation test management platform
CN112564914A (en) * 2020-11-26 2021-03-26 杭州安恒信息技术股份有限公司 Project management method and device, computer equipment and readable storage medium
CN112784235A (en) * 2021-01-30 2021-05-11 上海浦东发展银行股份有限公司 Method for automatically distributing link tracking system authority based on CMDB project related information
CN114265769A (en) * 2021-12-10 2022-04-01 中国电子科技集团公司第二十九研究所 Test system and method based on python script test case

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075381A (en) * 2010-12-14 2011-05-25 云海创想信息技术(北京)有限公司 Automatic test platform server and system applied to cloud storage
US20150100684A1 (en) * 2012-06-08 2015-04-09 Stephane Maes Test and management for cloud applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075381A (en) * 2010-12-14 2011-05-25 云海创想信息技术(北京)有限公司 Automatic test platform server and system applied to cloud storage
US20150100684A1 (en) * 2012-06-08 2015-04-09 Stephane Maes Test and management for cloud applications

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912473A (en) * 2016-04-15 2016-08-31 上海海万信息科技有限公司 BDD-based mobile APP automatic testing platform and testing method
CN105912473B (en) * 2016-04-15 2018-12-25 上海海万信息科技股份有限公司 Mobile APP automatically testing platform and test method based on BDD
CN105915393A (en) * 2016-06-16 2016-08-31 南京国通智能科技有限公司 System applicable to BbCO service architecture
CN106709698A (en) * 2016-12-20 2017-05-24 柳州顺联科技有限公司 Enterprise management system
CN106845923A (en) * 2016-12-20 2017-06-13 柳州顺联科技有限公司 A kind of project management system
CN107818049A (en) * 2017-11-01 2018-03-20 郑州云海信息技术有限公司 Execution method, performs device and the execution equipment of a kind of test case
CN107885834A (en) * 2017-11-09 2018-04-06 郑州云海信息技术有限公司 A kind of Hadoop big datas component uniformly verifies system
CN108984415A (en) * 2018-07-26 2018-12-11 郑州云海信息技术有限公司 A kind of product use-case persistence maintenance system and management method
CN109491901A (en) * 2018-11-01 2019-03-19 郑州云海信息技术有限公司 A kind of the test execution progress metrics system and equipment of various dimensions
CN110175131A (en) * 2019-04-29 2019-08-27 合肥移瑞通信技术有限公司 A kind of script management method and system based on PyQt kit
CN111130922A (en) * 2019-11-28 2020-05-08 中国航空工业集团公司西安航空计算技术研究所 Airborne information safety automatic test method and test platform
CN112328484A (en) * 2020-11-05 2021-02-05 南京讯天游科技有限公司 Method and system for realizing algorithm automation test management platform
CN112564914A (en) * 2020-11-26 2021-03-26 杭州安恒信息技术股份有限公司 Project management method and device, computer equipment and readable storage medium
CN112784235A (en) * 2021-01-30 2021-05-11 上海浦东发展银行股份有限公司 Method for automatically distributing link tracking system authority based on CMDB project related information
CN112784235B (en) * 2021-01-30 2023-08-08 上海浦东发展银行股份有限公司 Method for automatically distributing link tracking system permission based on CMDB project related information
CN114265769A (en) * 2021-12-10 2022-04-01 中国电子科技集团公司第二十九研究所 Test system and method based on python script test case

Similar Documents

Publication Publication Date Title
CN105068809A (en) PyQt-based platform for implementing automation project management and case execution
US11188319B2 (en) Systems and methods for entry point-based code analysis and transformation
US20200371760A1 (en) Systems and methods for code clustering analysis and transformation
US11436006B2 (en) Systems and methods for code analysis heat map interfaces
CN101770423B (en) Test data generation method and test system
WO2018006789A1 (en) Parameter checking method and apparatus, and network management server and computer storage medium
US10613711B1 (en) Service management techniques
US7926024B2 (en) Method and apparatus for managing complex processes
CN105574082A (en) Storm based stream processing method and system
CN104021080A (en) Automatic testing system based on custom scripts
CN106961362A (en) Automated testing method and mobile cloud test system
CN108845940A (en) A kind of enterprise information system automated function test method and system
CN103984769A (en) Use-case data management and storage method
CN105718307A (en) Process management method and process management device
CN109522086B (en) Operation method and device for window, computer device and readable storage medium
CN113919158A (en) Simulation method and device for flight control panel and storage medium
CN110134381A (en) A kind of system and method intelligently generating source code configuration for alarm host machine
CN113836237A (en) Method and device for auditing data operation of database
Zaitsev et al. Simulating telecommunication systems with CPN Tools
CN116166556A (en) Code analysis method, device and system
CN112416734A (en) Test method, device and storage medium
CN104426695B (en) A kind of heterogeneous types equipment account management method and system
CN111984882A (en) Data processing method, system and equipment
KR20190071905A (en) Data backup reporting method and system
CN112416995B (en) Data statistics method, device, computer equipment and storage medium

Legal Events

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

Application publication date: 20151118