CN111459829A - Configuration method for solving tool used in work of tester - Google Patents

Configuration method for solving tool used in work of tester Download PDF

Info

Publication number
CN111459829A
CN111459829A CN202010265044.2A CN202010265044A CN111459829A CN 111459829 A CN111459829 A CN 111459829A CN 202010265044 A CN202010265044 A CN 202010265044A CN 111459829 A CN111459829 A CN 111459829A
Authority
CN
China
Prior art keywords
ini
tool
client
toolslist
localtools
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010265044.2A
Other languages
Chinese (zh)
Other versions
CN111459829B (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.)
Chengdu Anyixun Technology Co ltd
Original Assignee
Chengdu Anyixun 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 Chengdu Anyixun Technology Co ltd filed Critical Chengdu Anyixun Technology Co ltd
Priority to CN202010265044.2A priority Critical patent/CN111459829B/en
Publication of CN111459829A publication Critical patent/CN111459829A/en
Application granted granted Critical
Publication of CN111459829B publication Critical patent/CN111459829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of test tool configuration methods, in particular to a method for solving the problem of configuration of tools used by testers in work, which comprises the following steps: firstly, a client needs to write codes, a toolslist. ini file of an internal FTP is started and requested through the client, then the client triggers an upgrading tool, if the first request of the client is made, the upgrading tool detects that localtools. ini is not installed locally, the toolslist. ini file is directly downloaded and installed, and if the local localtools. ini version is too low, the local tool is upgraded; the whole process does not need manual intervention, the latest version is automatically detected, the updating in the first time is realized, all people in the group are automatically synchronized, the fact that the testers are the latest version when using tools is guaranteed, the method is timely and efficient, and complex operation is avoided.

Description

Configuration method for solving tool used in work of tester
Technical Field
The invention relates to the technical field of test tool configuration methods, in particular to a configuration method for solving the problem of using tools in the work of testers.
Background
Software testing describes a process used to facilitate the identification of the correctness, integrity, security, and quality of software. In other words, software testing is a process of auditing or comparing between actual output and expected output. The classical definition of software testing is: the process of operating a program under specified conditions to discover program errors, to measure software quality, and to evaluate whether it meets design requirements.
Various tools are often used by test personnel, and several problems are encountered when using tools:
(1) how to synchronize the tool list to all people in the group in time;
(2) how to ensure that the versions in hands of all people are new and the first time update is realized;
(3) after the new people come in, how to convey and understand the information of the project using tools in time.
The traditional method is that tools are put into a shared FTP server in a group, when the tools are updated, people are orally informed to update or synchronize, and other people need to log in the FTP server to copy; the way of the oral notification is not timely enough and is easy to forget, and the way of logging in the FTP server for copying is too complicated and inconvenient.
Based on the above, the invention designs a configuration method for solving the tool used in the work of the tester, so as to solve the above problems.
Disclosure of Invention
The present invention is directed to a method for configuring tools used by a tester during work, so as to solve the problems mentioned in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a configuration method for solving the problem of using tools in the work of a tester comprises the following steps:
s1: firstly, a client needs to write codes;
s2: a client starts and requests to obtain a toolslist. ini file under a specific directory on an internal FTP or SFTP, and the internal FTP or SFTP feeds back specific version information of the toolslist. ini file under the directory;
s3: triggering an upgrading tool by a client, if the client requests for the first time, and the upgrading tool detects that localtools.ini is not installed locally, directly downloading and installing a toollist.ini file under a specific directory on an internal FTP or SFTP, and generating locally configured localtools.ini;
s4: the upgrading tool compares the toolslist. ini information requested to be fed back with the localtools. ini version information actually configured by the local tool one by one, and if the local localtools. ini version is too low, the local tool is upgraded;
s5: after the processing is finished, the download or upgrade is prompted to be finished, and then the user can enter a normal use link.
Further, the FTP or SFTP in step S2 needs to support an http protocol, so that the toolslist.
Further, the upgrade tool is triggered each time the client is started.
Furthermore, the locally configured localtools.ini in step S4 may be used to record information such as the local tool version and the start location, so as to facilitate one-key start at the client.
Furthermore, the processes of detecting, downloading and installing the upgrading tool are automatically completed by the upgrading tool without manual intervention.
Further, the toolslist. ini file under the specific directory on the internal FTP or SFTP in step S2 needs to be kept updated in real time.
Further, a tool kit is also included under a specific directory on the internal FTP or SFTP for installing the toolslist. ini file.
Compared with the prior art, the invention has the beneficial effects that: according to the method, codes are written, a toolslist. ini file under a specific directory on an internal FTP or SFTP is accessed, specific information of the toolslist. ini file is fed back, the toolslist. ini information which is requested to be fed back is compared with localtools. ini version information actually configured by a local tool one by an upgrading tool, if the local localtools. ini version is too low, the local tool is upgraded, if no localtools. ini is locally installed, the toolslist. ini file under the specific directory on the internal FTP or SFTP is directly downloaded and installed, the locally configured localtools. ini is generated, manual intervention is not needed in the whole process, the latest version is automatically detected, the first-time updating is realized, and the first-time updating is automatically synchronized to all persons in a group, so that a tester is the latest version when the tool is used, and compared with the traditional oral notification of staff updating or synchronization and copying of an FTP server, the operation is more timely and efficient and is not tedious.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a schematic diagram of the steps of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, the present invention provides a technical solution: a configuration method for solving the problem of using tools in the work of a tester comprises the following steps:
s1: firstly, a client needs to write codes, and an internal FTP or SFTP can be accessed through the codes;
s2: the client starts and requests to obtain a toolslist. ini file under a specific directory on the internal FTP or SFTP, and the internal FTP or SFTP feeds back specific information of the toolslist. ini file under the directory, including information such as version number, updating content and the like;
s3: triggering an upgrading tool by a client, if the client requests for the first time, and the upgrading tool detects that localtools.ini is not installed locally, directly downloading and installing a toollist.ini file under a specific directory on an internal FTP or SFTP, and generating locally configured localtools.ini;
s4: the upgrading tool compares the toolslist. ini information requested to be fed back with the localtools. ini version information actually configured by the local tool one by one, and if the local localtools. ini version is too low, the local tool is upgraded;
s5: after the processing is finished, the download or upgrade is prompted to be finished, and then the user can enter a normal use link.
In step S2, the FTP or SFTP needs to support an http protocol, so that the toolslist. ini file can be directly obtained through an http download method.
When the client is started each time, the upgrading tool is triggered, so that local localtools.ini can be automatically detected each time, and timely updating and installation are realized.
Ini of the locally configured localtools in step S3 may be used to record information such as a local tool version and a start position, so that the client can start by one key.
The processes of detection, downloading and installation of the upgrading tool are automatically completed by the upgrading tool without manual intervention, and compared with orally informing workers to update or synchronize and log in the FTP server for copying, the method is more timely and efficient and has no fussy operation.
In step S2, the toolslist. ini file in the internal FTP or SFTP in the specific directory needs to be updated in real time, so that the latest specific version information of the toolslist. ini can be timely fed back to the upgrading tool, and comparison with the local toolslist. ini is facilitated.
A tool kit is further included under the specific directory on the internal FTP or SFTP, and is used for installing a toolslist. ini file.
One specific application of this embodiment is: a client requests a toolslist. ini file at startup, and the pseudo code format of the toolslist. ini file is approximately as follows:
[tools]
totalnum=30;
[1]
toolsname=XXXX;
toolsdownloadftpaddress=http://XXXX/XXX;
currentVersion=2.0.1;
CompatibilityRequirements=WIN7;
ishighpower=0;
[2]
toolsname=XXXX;
toolsdownloadftpaddress=http://XXXX/XXX;
currentVersion=3.5;
CompatibilityRequirements=WIN7;
ishighpower=1;
if the client requests for the first time, the client directly downloads the tool and generates local configuration localtools, ini, which is used for recording local tool version information, starting positions and the like, so that the client can conveniently start by one key, and when the ishigh power appears, whether the client needs to authorize to start or not is indicated, and the client also needs to synchronize to the local configuration.
If the request is not the first request, the upgrading tool compares the toolslist. ini information fed back by the request with the localtools. ini version information actually configured by the local tool one by one, and if the local localtools. ini version is too low, the local tool is upgraded
After the processing is finished, the download or upgrade is prompted to be finished, and then the user can enter a normal use link.
In the description herein, references to the description of "one embodiment," "an example," "a specific example" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (7)

1. A configuration method for solving the problem of using tools in the work of a tester is characterized by comprising the following steps:
s1: firstly, a client needs to write codes;
s2: a client starts and requests to obtain a toolslist. ini file under a specific directory on an internal FTP or SFTP, and the internal FTP or SFTP feeds back specific version information of the toolslist. ini file under the directory;
s3: triggering an upgrading tool by a client, if the client requests for the first time, and the upgrading tool detects that a localtools.ini file is not installed locally, directly downloading and installing a toollist.ini file under a specific directory on an internal FTP or SFTP, and generating a localtools.ini file configured locally;
s4: the upgrading tool compares the toolslist. ini information requested to be fed back with the localtools. ini version information actually configured by the local tool one by one, and if the local localtools. ini version is too low, the local tool is upgraded;
s5: after the processing is finished, the download or upgrade is prompted to be finished, and then the user can enter a normal use link.
2. A method of configuring tooling for use in solving a test crew job, according to claim 1, wherein: in step S2, the FTP or SFTP needs to support an http protocol, so that the toolslist. ini file can be directly obtained through an http download method.
3. A method of configuring tooling for use in solving a test crew job, according to claim 1, wherein: and triggering the upgrading tool every time the client is started.
4. A method of configuring tooling for use in solving a test crew job, according to claim 1, wherein: ini of the locally configured localtools in step S3 may be used to record information such as a local tool version and a start position, so that the client can start by one key.
5. A method of configuring tooling for use in solving a test crew job, according to claim 1, wherein: the processes of detection, downloading and installation of the upgrading tool are automatically completed by the upgrading tool without manual intervention.
6. A method of configuring tooling for use in solving a test crew job, according to claim 1, wherein: ini files under the specific directory on the internal FTP or SFTP in step S2 need to be kept updated in real time.
7. A method of configuring tooling for use in solving a test crew job, according to claim 1, wherein: a tool kit is further included under the specific directory on the internal FTP or SFTP, and is used for installing a toolslist. ini file.
CN202010265044.2A 2020-04-03 2020-04-03 Configuration method for solving problem of using tools in work of testers Active CN111459829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010265044.2A CN111459829B (en) 2020-04-03 2020-04-03 Configuration method for solving problem of using tools in work of testers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010265044.2A CN111459829B (en) 2020-04-03 2020-04-03 Configuration method for solving problem of using tools in work of testers

Publications (2)

Publication Number Publication Date
CN111459829A true CN111459829A (en) 2020-07-28
CN111459829B CN111459829B (en) 2023-05-09

Family

ID=71683563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010265044.2A Active CN111459829B (en) 2020-04-03 2020-04-03 Configuration method for solving problem of using tools in work of testers

Country Status (1)

Country Link
CN (1) CN111459829B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369787A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Test tool loading and managing method for test system
JP2007265231A (en) * 2006-03-29 2007-10-11 Hitachi Ltd Implementation determination support system for version upgrade or the like, implementation determination support method for version upgrade or the like, and implementation determination support program for version upgrade or the like
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
CN101674590A (en) * 2009-09-29 2010-03-17 中兴通讯股份有限公司 Client device and remote updating method and remote updating service system thereof
CN102546246A (en) * 2011-12-28 2012-07-04 创新科存储技术(深圳)有限公司 Method and system for automatic upgrade of software
CN103647816A (en) * 2013-12-03 2014-03-19 北京奇虎科技有限公司 Method and device for upgrading application software
CN104793970A (en) * 2015-04-02 2015-07-22 安徽四创电子股份有限公司 Online upgrade method based on FTP
CN105095074A (en) * 2015-07-10 2015-11-25 北京金山安全软件有限公司 Upgrade test method and device for configuration file
CN105893070A (en) * 2015-11-25 2016-08-24 乐视云计算有限公司 Application SDK upgrading method and system
US20190179731A1 (en) * 2017-12-12 2019-06-13 Sap Se Custom upgrade testing system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369787A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Test tool loading and managing method for test system
JP2007265231A (en) * 2006-03-29 2007-10-11 Hitachi Ltd Implementation determination support system for version upgrade or the like, implementation determination support method for version upgrade or the like, and implementation determination support program for version upgrade or the like
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
CN101674590A (en) * 2009-09-29 2010-03-17 中兴通讯股份有限公司 Client device and remote updating method and remote updating service system thereof
CN102546246A (en) * 2011-12-28 2012-07-04 创新科存储技术(深圳)有限公司 Method and system for automatic upgrade of software
CN103647816A (en) * 2013-12-03 2014-03-19 北京奇虎科技有限公司 Method and device for upgrading application software
CN104793970A (en) * 2015-04-02 2015-07-22 安徽四创电子股份有限公司 Online upgrade method based on FTP
CN105095074A (en) * 2015-07-10 2015-11-25 北京金山安全软件有限公司 Upgrade test method and device for configuration file
CN105893070A (en) * 2015-11-25 2016-08-24 乐视云计算有限公司 Application SDK upgrading method and system
US20190179731A1 (en) * 2017-12-12 2019-06-13 Sap Se Custom upgrade testing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LIJUN SHAN 等: "Generating Structurally Complex Test Cases By Data Mutation: A Case Study Of Testing An Automated Modelling Tool", 《THE COMPUTER JOURNAL 》 *
卢慧卿 等: "自动测试系统中测试通道配置工具的开发", 《计算机测量与控制》 *

Also Published As

Publication number Publication date
CN111459829B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
US9213534B2 (en) Method for restoring software applications on desktop computers
US7089552B2 (en) System and method for verifying installed software
US7080371B1 (en) Method, system, apparatus and program product for distribution and instantiation of software upgrades
US9417865B2 (en) Determining when to update a package manager software
US20040117414A1 (en) Method and system for automatically updating operating systems
US9971595B1 (en) Techniques for automated database deployment
US20020087668A1 (en) Automatic upgrade of live network devices
CN109086051B (en) Application component deployment method and device and computer storage medium
KR20000070089A (en) Software update manager
JP2009519544A (en) Automated software testing framework
US7752005B2 (en) Integrated instrument driver network
US9395979B1 (en) Pre-emptive development conflict resolution
CN115567392B (en) Automatic deployment upgrading method for customer internal service system
US20050216486A1 (en) Methods and systems for software release management
JP2001356912A (en) Install/update/uninstall system of software
US20030005093A1 (en) Server configuration versioning tool
CN117762645B (en) Database cluster management method and storage medium
CN111813683B (en) Universal automatic synchronization method for software testing environment
CN111459829A (en) Configuration method for solving tool used in work of tester
Kasemir et al. Control system studio guide
CN111913733A (en) Method and device for making automatic upgrade package, computer equipment and storage medium
CN107220174B (en) Automatic testing method and device
US9946534B1 (en) Techniques for automated database deployment
JP2009104393A (en) Software trouble ticket management system and method, and program
JP2004326337A (en) Code analysis program, code analysis automation program and automated code analysis system

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
GR01 Patent grant
GR01 Patent grant