[go: up one dir, main page]

CN111258903A - Test case file conversion method, device and storage medium - Google Patents

Test case file conversion method, device and storage medium Download PDF

Info

Publication number
CN111258903A
CN111258903A CN202010058322.7A CN202010058322A CN111258903A CN 111258903 A CN111258903 A CN 111258903A CN 202010058322 A CN202010058322 A CN 202010058322A CN 111258903 A CN111258903 A CN 111258903A
Authority
CN
China
Prior art keywords
test case
case file
excel
key element
xmind
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
CN202010058322.7A
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.)
OneConnect Smart Technology Co Ltd
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202010058322.7A priority Critical patent/CN111258903A/en
Publication of CN111258903A publication Critical patent/CN111258903A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

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

本发明提供了一种测试用例文件转换方法,包括,分别确定所述Xmind测试用例文件的内容以及所述Excel测试用例文件模板的格式;通过解析所述待生成的Excel测试用例文件模板的格式以及解析所述待转换的Xmind测试用例文件中每一个测试用例的数据,获取所述待生成的Excel测试用例文件模板中预先定义的关键要素名称所处的单元格位置,并使测试用例中的数据与所述关键要素名称一一对应;将解析后的每一个测试用例中的数据按照所对应的关键要素名称,依次写入解析后的Excel测试用例文件模板中同一行内的关键要素名称所处的单元格位置对应的列,以生成Excel测试用例文件。利用本发明能够将完整的Xmind版本测试用例直接转换成Excel版本的测试用例,节约了成本,提高了效率。

Figure 202010058322

The invention provides a test case file conversion method, which includes: respectively determining the content of the Xmind test case file and the format of the Excel test case file template; by parsing the format of the Excel test case file template to be generated and Parse the data of each test case in the Xmind test case file to be converted, obtain the cell location where the pre-defined key element names in the Excel test case file template to be generated are located, and make the data in the test case One-to-one correspondence with the names of the key elements; the data in each parsed test case is written into the parsed Excel test case file template in turn according to the corresponding key element name, where the name of the key element in the same row is located. The column corresponding to the cell position to generate the Excel test case file. The invention can directly convert the complete Xmind version test case into the Excel version test case, which saves the cost and improves the efficiency.

Figure 202010058322

Description

测试用例文件转换方法、装置及存储介质Test case file conversion method, device and storage medium

技术领域technical field

本发明涉及文档数据处理技术领域,更为具体地,涉及一种将Xmind测试用例文件转换为Excel测试用例文件的方法、装置及存储介质。The invention relates to the technical field of document data processing, and more particularly, to a method, a device and a storage medium for converting an Xmind test case file into an Excel test case file.

背景技术Background technique

Excel是微软办公套装软件的一个重要的组成部分,它可以进行各种数据的处理、统计分析和辅助决策操作,广泛地应用于管理、统计财经、金融等众多领域。Excel能满足编写测试用例的大多数需求,但是如果测试的业务系统比较庞大,各个模块之间又有比较紧密的业务联系时,使用Excel编写用例思路就没那么清晰了,也不便于评审。而使用Xmind中的思维导向图可以很好地梳理测试用例,对测试用例进行划分,并且在测试用例间建立一定的业务联系。Excel is an important part of Microsoft Office suite software. It can process various data, analyze statistics and assist decision-making operations, and is widely used in many fields such as management, statistical finance, and finance. Excel can meet most of the requirements for writing test cases, but if the business system to be tested is relatively large and each module has a relatively close business connection, the idea of using Excel to write test cases is not so clear, and it is not easy to review. Using the mind-directed map in Xmind can sort out test cases well, divide test cases, and establish certain business connections between test cases.

Xmind是一款非常实用的商业思维导图软件,应用全球最先进的Eclipse RCP软件架构,全力打造易用、高效的可视化思维软件,强调软件的可扩展、跨平台、稳定性和性能,致力于使用先进的软件技术帮助用户真正意义上提高生产率。使用Xmind编写测试用例更为灵活、思路更为清晰且更易于修订。Xmind is a very practical business mind mapping software. It applies the world's most advanced Eclipse RCP software architecture and strives to create an easy-to-use and efficient visual thinking software, emphasizing the software's scalability, cross-platform, stability and performance. Use advanced software technology to help users truly increase productivity. Writing test cases with Xmind is more flexible, clearer and easier to revise.

但是由于目前业内大多数测试用例管理的系统(例如神兵系统、禅道系统),不支持Xmind文件的导入,仅支持Excel文件的导入,所以测试人员通过Xmind编写测试用例大纲,再根据大纲人工重新编写一遍Excel版本的测试用例。这使得Xmind在测试用例编写方面的推广使用受到了阻碍,Xmind在编写测试用例方面的优势不能得到充分发挥,增加了测试人员的人力成本,也降低了工作效率。However, because most test case management systems in the industry (such as Shenbing system and Zen Tao system) do not support the import of Xmind files, but only support the import of Excel files, testers write test case outlines through Xmind, and then manually according to the outline Rewrite the test case for the Excel version. This hinders the popularization and use of Xmind in writing test cases, and the advantages of Xmind in writing test cases cannot be fully utilized, which increases the labor cost of testers and reduces work efficiency.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,本发明的目的是提供一种测试用例文件转换方法、装置及存储介质,实现了可以将完整的Xmind版本测试用例转换成Excel版本的测试用例,使Xmind在编写测试用例方面的优势得到充分发挥,并且能够转为可以输入测试用例管理系统的Excel版本,为测试用例编写人员提供了方便。In view of the above problems, the purpose of the present invention is to provide a test case file conversion method, device and storage medium, which realizes that the complete Xmind version test case can be converted into an Excel version test case, so that Xmind has the advantage in writing test cases. It can be fully utilized and can be converted into an Excel version that can be input into the test case management system, which provides convenience for test case writers.

根据本发明的一个方面,提供了一种测试用例文件转换方法,所述方法包括如下步骤:According to an aspect of the present invention, a test case file conversion method is provided, the method comprising the following steps:

S110:根据待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,分别确定所述Xmind测试用例文件的内容以及所述Excel测试用例文件模板的格式;S110: According to the Xmind test case file to be converted and the Excel test case file template to be generated, respectively determine the content of the Xmind test case file and the format of the Excel test case file template;

S120:通过解析所述待生成的Excel测试用例文件模板的格式以及解析所述待转换的Xmind测试用例文件中每一个测试用例的数据,获取所述待生成的Excel测试用例文件模板中预先定义的关键要素名称所处的单元格位置,并使所述测试用例中的数据与所述关键要素名称一一对应;其中,所述关键要素名称为所述Excel测试用例文件模板中用于描述测试项目的名称;S120: By parsing the format of the Excel test case file template to be generated and parsing the data of each test case in the Xmind test case file to be converted, obtain the pre-defined Excel test case file template to be generated The cell position where the name of the key element is located, and the data in the test case is in one-to-one correspondence with the name of the key element; wherein, the name of the key element is used to describe the test item in the Excel test case file template The name;

S130:将解析后的每一个测试用例中的数据按照所对应的关键要素名称,依次写入解析后的Excel测试用例文件模板中同一行内的关键要素名称所处的单元格位置对应的列,以生成Excel测试用例文件。S130: Write the parsed data in each test case into the column corresponding to the cell position where the name of the key element in the same row in the parsed Excel test case file template is in turn according to the name of the corresponding key element. Generate Excel test case files.

进一步,在S110之前,还包括:分别读取所述待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,其中,所述待转换的Xmind测试用例文件和所述待生成的Excel测试用例文件模板的读取方式以命令行格式定义。Further, before S110, it also includes: respectively reading the Xmind test case file to be converted and the Excel test case file template to be generated, wherein the Xmind test case file to be converted and the Excel test case file to be generated How use case file templates are read is defined in command line format.

进一步,所述命令行格式为linux命令行格式,定义第一传参名称和第二传参名称;其中,第一传参名称用于标记需要被转换的Xmind测试用例文件,第二传参名称用于标记需要生成的Excel测试用例文件所使用的模板。Further, the command line format is the linux command line format, and the first parameter name and the second parameter name are defined; wherein, the first parameter name is used to mark the Xmind test case file that needs to be converted, and the second parameter name Template used to mark the Excel test case file that needs to be generated.

在S120中,采用扩展包xlwt解析所述待生成的Excel测试用例文件模板,获取所述待生成的Excel测试用例文件模板的格式编制规范,得到所述预先定义的关键要素名称所处的单元格位置。In S120, use the extension package xlwt to parse the Excel test case file template to be generated, obtain the format specification of the Excel test case file template to be generated, and obtain the cell where the predefined key element name is located Location.

在S120中,解析所述待转换的Xmind测试用例文件中每一个测试用例的数据的过程包括:将所述关键要素名称按照其所处的单元格位置的列位置字母顺序排序,形成关键要素名称组;并将所述待转换的Xmind测试用例文件的内容解析转换成JSON数据格式的内容;其中,所述JSON数据格式的内容中每一个所述测试用例的数据依次采用自定义的JSON数据处理方法转换为关键要素数据组。In S120, the process of parsing the data of each test case in the Xmind test case file to be converted includes: sorting the key element names in alphabetical order according to the column positions of the cell positions where the key element names are located to form key element names group; and the content of the Xmind test case file to be converted is parsed and converted into the content of the JSON data format; wherein, the data of each described test case in the content of the JSON data format adopts the self-defined JSON data processing successively Methods are converted to key feature data sets.

进一步,所述采用自定义的JSON数据处理方法转换为关键要素数据组的过程包括:提取所述JSON数据格式的内容的值作为结果集,并对所述结果集做父子关联,依次提取父节点值和各级子节点值作为与所述关键要素名称组内所述关键要素名称一一对应的数据,形成关键要素数据组。Further, the process of converting into a key element data group by using a self-defined JSON data processing method includes: extracting the value of the content in the JSON data format as a result set, performing parent-child association on the result set, and sequentially extracting parent nodes The value and the sub-node values at all levels are regarded as data corresponding to the key element names in the key element name group one-to-one, forming a key element data group.

在S130中,将所述关键要素数据组中的数据依次写入Excel测试用例文件模板中关键要素名称对应的列中,每一个所述关键要素数据组中的数据写入同一行内关键要素名称对应的列,生成最终的Excel版本测试用例文件。In S130, the data in the key element data group is sequentially written into the column corresponding to the key element name in the Excel test case file template, and the data in each key element data group is written in the same row corresponding to the key element name column to generate the final Excel version test case file.

根据本发明的另一方面,提供了一种测试用例文件转换系统,包括:According to another aspect of the present invention, a test case file conversion system is provided, comprising:

文件内容及格式确定单元,用于根据待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,分别确定所述Xmind测试用例文件的内容以及所述Excel测试用例文件模板的格式;The file content and format determination unit is used to respectively determine the content of the Xmind test case file and the format of the Excel test case file template according to the Xmind test case file to be converted and the Excel test case file template to be generated;

文件模板解析单元,用于解析所述待生成的Excel测试用例文件模板的格式,获取所述待生成的Excel测试用例文件模板中预先定义的关键要素名称所处的单元格位置;a file template parsing unit, configured to parse the format of the Excel test case file template to be generated, and obtain the cell position where the pre-defined key element names in the Excel test case file template to be generated are located;

文件内容解析单元,用于分别解析所述待转换的Xmind测试用例文件中每一个测试用例的数据,使所述测试用例中的数据与所述关键要素名称一一对应;a file content parsing unit, configured to parse the data of each test case in the Xmind test case file to be converted, so that the data in the test case corresponds to the name of the key element one by one;

测试用例写入单元,用于将解析后的每一个所述测试用例中的数据按照所述对应的关键要素名称,依次写入所述解析后的Excel测试用例文件模板中同一行内的所述关键要素名称所处的单元格位置对应的列,以生成Excel测试用例文件。The test case writing unit is used to sequentially write the parsed data in each of the test cases into the key elements in the same row in the parsed Excel test case file template according to the corresponding key element names. The column corresponding to the cell position where the element name is located to generate an Excel test case file.

根据本发明的另一方面,提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述计算机程序被处理器执行时实现上述测试用例文件转换方法的步骤。According to another aspect of the present invention, an electronic device is provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the above test case file conversion method are implemented.

根据本发明的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有测试用例文件转换程序,所述测试用例文件转换程序被处理器执行时,实现上述的测试用例文件转换方法的步骤。According to another aspect of the present invention, a computer-readable storage medium is provided, wherein a test case file conversion program is stored in the computer-readable storage medium, and when the test case file conversion program is executed by a processor, the above-mentioned Steps of the test case file conversion method.

本发明具有以下有益效果:利用上述根据本发明的Xmind测试用例文件转Excel测试用例文件的方法,可以将Xmind测试用例自动转换Excel形式,无须重复编写Xmind测试用例大纲以及完整的Excel版本测试用例文件,节约了时间成本,效率上显著提高。测试人员也无须花费高成本购买Xmind pro版本,便能享受到Xmind测试用例转Excel测试用例的功能,转换成的Excel测试用例能适配于所有的测试用例管理系统。The present invention has the following beneficial effects: using the above-mentioned method for converting Xmind test case files to Excel test case files according to the present invention, Xmind test cases can be automatically converted into Excel form, and it is not necessary to repeatedly write Xmind test case outlines and complete Excel version test case files , saving time and cost and significantly improving efficiency. Testers can also enjoy the function of converting Xmind test cases to Excel test cases without spending a high cost to purchase the Xmind pro version. The converted Excel test cases can be adapted to all test case management systems.

为了实现上述以及相关目的,本发明的一个或多个方面包括后面将详细说明并在权利要求中特别指出的特征。下面的说明以及附图详细说明了本发明的某些示例性方面。然而,这些方面指示的仅仅是可使用本发明的原理的各种方式中的一些方式。此外,本发明旨在包括所有这些方面以及它们的等同物。To the achievement of the above and related objects, one or more aspects of the invention comprise the features hereinafter described in detail and particularly pointed out in the claims. The following description and accompanying drawings illustrate certain exemplary aspects of the invention in detail. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed. Furthermore, the present invention is intended to include all such aspects and their equivalents.

附图说明Description of drawings

通过参考以下结合附图的说明及权利要求书的内容,并且随着对本发明的更全面理解,本发明的其它目的及结果将更加明白及易于理解。在附图中:Other objects and results of the present invention will be more apparent and readily understood by reference to the following description taken in conjunction with the accompanying drawings and the contents of the claims, and as the present invention is more fully understood. In the attached image:

图1为根据本发明实施例1的测试用例文件转换方法的流程图;1 is a flowchart of a test case file conversion method according to Embodiment 1 of the present invention;

图2为本发明实施例1中待转换的Xmind测试用例文件;Fig. 2 is the Xmind test case file to be converted in the embodiment of the present invention 1;

图3为本发明实施例1中待生成的Excel测试用例文件模板;Fig. 3 is the Excel test case file template to be generated in the embodiment of the present invention 1;

图4为本发明实施例1中转换后的Excel测试用例文件;Fig. 4 is the Excel test case file after conversion in the embodiment of the present invention 1;

图5为根据本发明实施例2的测试用例文件转换系统的逻辑结构示意图;5 is a schematic diagram of a logical structure of a test case file conversion system according to Embodiment 2 of the present invention;

图6为根据本发明实施例3的电子装置的逻辑结构示意图。FIG. 6 is a schematic diagram of a logical structure of an electronic device according to Embodiment 3 of the present invention.

在所有附图中相同的标号指示相似或相应的特征或功能。The same reference numbers indicate similar or corresponding features or functions throughout the drawings.

具体实施方式Detailed ways

在下面的描述中,出于说明的目的,为了提供对一个或多个实施例的全面理解,阐述了许多具体细节。然而,很明显,也可以在没有这些具体细节的情况下实现这些实施例。在其它例子中,为了便于描述一个或多个实施例,公知的结构和设备以方框图的形式示出In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more embodiments. It will be apparent, however, that the embodiments may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing one or more embodiments

名词解释Glossary

测试用例:测试用例(Test Case)是将软件测试的行为活动做一个科学化的组织归纳,目的是能够将软件测试的行为转化成可管理的模式;同时测试用例也是将测试具体量化的方法之一,不同类别的软件,测试用例是不同的。通常一个测试用例文件中包含多个测试用例。Test case: A test case is a scientific organization of the behavior of software testing, with the purpose of transforming the behavior of software testing into a manageable mode; at the same time, a test case is also one of the methods to quantify testing. First, different types of software have different test cases. Usually a test case file contains multiple test cases.

扩展包xlwt:Python语言中,写入Excel文件的扩展工具。Extension package xlwt: An extension tool for writing Excel files in the Python language.

JSON(JavaScript Object Notation,JS对象简谱)是一种轻量级的数据交换格式。它基于ECMAScript(欧洲计算机协会制定的js规范)的一个子集,采用完全独立于编程语言的文本格式来存储和表示数据。简洁和清晰的层次结构使得JSON成为理想的数据交换语言。数据结构为{key1:value1、key2:value2、...keyN:valueN}的键值对结构。在面向对象的语言中,key为对象的属性,value为对应的值。JSON (JavaScript Object Notation, JS Object Notation) is a lightweight data exchange format. It is based on a subset of ECMAScript (the js specification developed by the European Computer Association), and uses a text format that is completely independent of the programming language to store and represent data. Concise and clear hierarchy makes JSON an ideal data exchange language. The data structure is a key-value pair structure of {key1:value1, key2:value2, ...keyN:valueN}. In object-oriented languages, the key is the property of the object, and the value is the corresponding value.

Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和UNIX的多用户、多任务、支持多线程和多CPU的操作系统。Linux is a set of Unix-like operating systems that are free to use and spread freely. It is a multi-user, multi-tasking, multi-threading and multi-CPU operating system based on POSIX and UNIX.

以下将结合附图对本发明的具体实施例进行详细描述。The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

实施例1Example 1

图1为根据本发明实施例1的测试用例文件转换方法的流程图。FIG. 1 is a flowchart of a test case file conversion method according to Embodiment 1 of the present invention.

如图1所示,根据本发明实施例1的测试用例文件转换方法,应用于电子装置,用于将Xmind测试用例文件转换为Excel测试用例文件,包括如下步骤:As shown in Figure 1, the test case file conversion method according to Embodiment 1 of the present invention, applied to an electronic device, is used to convert the Xmind test case file into an Excel test case file, including the following steps:

S110:根据待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,分别确定所述Xmind测试用例文件的内容以及所述Excel测试用例文件模板的格式。S110: According to the Xmind test case file to be converted and the Excel test case file template to be generated, respectively determine the content of the Xmind test case file and the format of the Excel test case file template.

在步骤S110中,使用PYTHON语言解析待转换的Xmind测试用例文件得到其内容,使用Java语言解析待生成的Excel测试用例文件模板得到其格式。In step S110, use the PYTHON language to parse the Xmind test case file to be converted to obtain its content, and use the Java language to parse the Excel test case file template to be generated to obtain its format.

S120:通过解析所述待生成的Excel测试用例文件模板的格式以及解析所述待转换的Xmind测试用例文件中每一个测试用例的数据,获取所述待生成的Excel测试用例文件模板中预先定义的关键要素名称所处的单元格位置,并使所述测试用例中的数据与所述关键要素名称一一对应;其中,所述关键要素名称为所述Excel测试用例文件模板中用于描述测试项目的名称;关键要素个数根据测试用例的实际情况而定。S120: By parsing the format of the Excel test case file template to be generated and parsing the data of each test case in the Xmind test case file to be converted, obtain the pre-defined Excel test case file template to be generated The cell position where the name of the key element is located, and the data in the test case is in one-to-one correspondence with the name of the key element; wherein, the name of the key element is used to describe the test item in the Excel test case file template name; the number of key elements depends on the actual situation of the test case.

在步骤S120中,采用扩展包xlwt解析待生成的Excel测试用例文件模板获取所述待生成的Excel测试用例文件模板中预先定义的关键要素名称所处的单元格位置,采用解析包xmindparser解析待转换的Xmind测试用例文件中每一个测试用例的数据转换成JSON数据格式的内容。使转换成JSON数据格式的内容中的测试用例数据与关键要素名称一一对应。In step S120, the expansion package xlwt is used to parse the Excel test case file template to be generated to obtain the cell position where the pre-defined key element names in the Excel test case file template to be generated are located, and the parsing package xmindparser is used to parse the to-be-converted The content of each test case in the Xmind test case file is converted into JSON data format. Make a one-to-one correspondence between test case data and key element names in the content converted into JSON data format.

S130:将解析后的每一个测试用例中的数据按照对应的关键要素名称,依次写入解析后的Excel测试用例文件模板中同一行内的关键要素名称所处的单元格位置对应的列,以生成Excel测试用例文件。S130: Write the data in each parsed test case into the column corresponding to the cell position where the name of the key element in the same row in the parsed Excel test case file template is in turn according to the name of the corresponding key element, to generate Excel test case file.

写入方式为采用扩展包xlwt的方式。采用扩展包xlwt将解析后的每一个测试用例的数据即关键要素数据组内的每一个数据,依次写入Excel测试用例文件模板中关键要素名称对应的列中,并且每一个关键要素数据组中的数据写入同一行内列中,最终生成转换后的Excel测试用例文件。The way of writing is to use the extension package xlwt. The expansion package xlwt is used to write the parsed data of each test case, that is, each data in the key element data group, into the column corresponding to the key element name in the Excel test case file template in turn, and each key element data group in The data is written into the same row and column, and finally the converted Excel test case file is generated.

在S110之前,还包括:分别读取所述待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,其中,所述待转换的Xmind测试用例文件和所述待生成的Excel测试用例文件模板的读取方式以命令行格式定义。Before S110, the method further includes: respectively reading the Xmind test case file to be converted and the Excel test case file template to be generated, wherein the Xmind test case file to be converted and the Excel test case file to be generated How templates are read is defined in command line format.

分别读取待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,获取Xmind测试用例文件的内容以及Excel测试用例文件模板的格式。Read the Xmind test case file to be converted and the Excel test case file template to be generated, respectively, to obtain the content of the Xmind test case file and the format of the Excel test case file template.

其中,所有的Xmind测试用例文件和所有的Excel测试用例文件模板都存储在存储器中。所有的Excel测试用例文件模板包括,适用于各种测试用例管理系统的Excel测试用例文件模板。Among them, all Xmind test case files and all Excel test case file templates are stored in the memory. All Excel test case file templates include Excel test case file templates for various test case management systems.

根据所使用的测试用例管理系统的导入文件规则和待转换的Xmind测试用例文件确定待生成的Excel测试用例文件模板。Determine the Excel test case file template to be generated according to the import file rules of the test case management system used and the Xmind test case file to be converted.

读取待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,具体过程包括:以命令行格式定义待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板的读取方式。命令行格式可使用linux命令行格式。以linux命令行格式定义待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板的读取方式,具体为-x传入待转换的Xmind测试用例文件的文件名,-e传入待生成的Excel测试用例文件模板的文件名,-x和-e均为程序的传参名称。-x传入Xmind测试用例文件的文件名,用于标记调取需要被转换的Xmind测试用例文件,-e传入Excel测试用例文件模板的文件名,用于标记调取需要生成的Excel测试用例文件所使用的模板。Reading the Xmind test case file to be converted and the Excel test case file template to be generated, the specific process includes: defining the reading mode of the Xmind test case file to be converted and the Excel test case file template to be generated in a command line format. The command line format can use the linux command line format. Define the reading method of the Xmind test case file to be converted and the Excel test case file template to be generated in linux command line format. Specifically, -x passes in the file name of the Xmind test case file to be converted, and -e passes in the file name of the Xmind test case file to be generated. The file name of the Excel test case file template, -x and -e are the parameter names of the program. -x passes in the file name of the Xmind test case file, which is used to mark and call the Xmind test case file that needs to be converted, -e passes in the file name of the Excel test case file template, which is used to mark and call the Excel test case that needs to be generated The template used by the file.

如在实际应用中,如待转换的Xmind测试用例文件,名称为“平台项目测试用例.Xmind”,要按照名称为“平台项目测试用例模板.xls”的Excel测试用例文件模板转换成Excel版本的测试用例,调用命令应该是“python rXmind.py-x平台项目测试用例.Xmind–e平台项目测试用例模板.xls”。For example, in practical applications, if the Xmind test case file to be converted is named "Platform Project Test Case.Xmind", it should be converted into the Excel version according to the Excel test case file template named "Platform Project Test Case Template.xls". Test case, the calling command should be "python rXmind.py-x platform project test case.Xmind-e platform project test case template.xls".

另一方面,如测试人员只采用一种Excel测试用例文件模板,待生成的Excel测试用例文件模板为指定的Excel测试用例文件模板。On the other hand, if the tester only uses one Excel test case file template, the Excel test case file template to be generated is the specified Excel test case file template.

读取文件的方式可为,读取待转换的Xmind测试用例文件和默认的Excel测试用例文件模板,具体过程包括:设置template_name为默认的Excel测试用例文件模板文件名,以命令行格式只定义待转换的Xmind测试用例文件读取方式,-x传入待转换的Xmind测试用例文件的文件名,无需再重复定义Excel测试用例模板文件读取方式。例如,调用命令应该是“python rXmind.py-x平台项目测试用例.Xmind”The way to read the file is to read the Xmind test case file to be converted and the default Excel test case file template. The specific process includes: setting template_name as the default Excel test case file template file name, in the command line format, only define the file to be The reading method of the converted Xmind test case file, -x passes in the file name of the Xmind test case file to be converted, and there is no need to repeatedly define the reading method of the Excel test case template file. For example, the calling command should be "python rXmind.py-x platform project testcase.Xmind"

本申请的方法可采用PYTHON语言环境。The methods of the present application may employ the PYTHON locale.

在S120中,解析待生成的Excel测试用例文件模板格式,获取待生成的Excel测试用例文件模板中预先定义的关键要素名称所处的单元格位置,具体过程包括:采用扩展包xlwt解析待生成的Excel测试用例文件模板,获取待生成的Excel测试用例文件模板的格式编制规范,以获取预先定义的关键要素名称所处的单元格位置。In S120, the format of the Excel test case file to be generated is parsed, and the cell position of the pre-defined key element name in the Excel test case file template to be generated is obtained. The specific process includes: using the extension package xlwt to parse the to-be-generated test case file Excel test case file template, to obtain the format specification of the Excel test case file template to be generated, to obtain the cell position where the pre-defined key element names are located.

图3为本发明实施例1中待生成的Excel测试用例文件模板。FIG. 3 is an Excel test case file template to be generated in Embodiment 1 of the present invention.

如图3所示,待生成的Excel测试用例文件模板名称为平台项目测试用例模板.xls,这个模板中描述测试用例测试项目的名称有“测试用例路径、测试用例名称、测试用例描述、测试用例步骤、测试用例预期结果”,所以关键要素名称预先定义为:测试用例路径、测试用例名称、测试用例描述、测试用例步骤、测试用例预期结果。As shown in Figure 3, the name of the Excel test case file template to be generated is platform project test case template.xls, the name of the test case test project described in this template is "test case path, test case name, test case description, test case Steps, Test Case Expected Results", so the key element names are pre-defined as: Test Case Path, Test Case Name, Test Case Description, Test Case Steps, Test Case Expected Results.

平台项目测试用例模板.xls解析后,得到测试用例路径所处的单元格位置为Sheet1!$A$1、列位置为A列;测试用例名称所处的单元格位置为Sheet1!$B$1、列位置为B列;测试用例描述所处的单元格位置为Sheet1!$C$1、列位置为C列、测试用例步骤所处的单元格位置为Sheet1!$E$1、列位置为E列;测试用例预期结果所处的单元格位置为Sheet1!$F$1、列位置为为F列。After the platform project test case template .xls is parsed, the location of the cell where the test case path is obtained is Sheet1! $A$1, the column position is column A; the cell position where the test case name is located is Sheet1! $B$1, the column position is column B; the cell position where the test case description is located is Sheet1! $C$1, the column position is column C, and the cell position of the test case step is Sheet1! $E$1, the column position is column E; the cell position where the expected result of the test case is located is Sheet1! $F$1, the column position is column F.

解析待转换的Xmind测试用例文件中每一个测试用例的数据,使测试用例中的数据与关键要素名称一一对应,具体过程包括:将关键要素名称按照所处的单元格位置的列位置字母顺序排序,形成关键要素名称组;并将待转换的Xmind测试用例文件的内容解析转换成JSON数据格式的内容,将JSON数据格式的内容中每一个测试用例的数据依次采用自定义的JSON数据处理方法转换为关键要素数据组。可采用Xmind解析包Xmindparser将Xmind测试用例文件的内容转换成JSON数据格式的内容。关键要素数据组的个数与Xmind测试用例文件中测试用例个数相同,每个测试用例都具有相应的关键要素数据组。Parse the data of each test case in the Xmind test case file to be converted, and make the data in the test case correspond to the names of key elements one by one. Sort to form key element name groups; parse and convert the content of the Xmind test case file to be converted into content in JSON data format, and use the custom JSON data processing method for the data of each test case in the content in JSON data format. Convert to key feature dataset. The Xmind parsing package Xmindparser can be used to convert the content of the Xmind test case file into the content of the JSON data format. The number of key element data groups is the same as the number of test cases in the Xmind test case file, and each test case has a corresponding key element data group.

采用自定义的JSON数据处理方法转换为关键要素数据组,过程包括:提取JSON数据格式的内容中每一个测试用例的值作为一个结果集,并分别对每一个结果集做父子关联,依次提取父节点值和各级子节点值作为与关键要素名称组内关键要素名称一一对应的数据,形成一个个关键要素数据组。Using a custom JSON data processing method to convert it into a key element data group, the process includes: extracting the value of each test case in the content of the JSON data format as a result set, and making parent-child associations for each result set respectively, and sequentially extracting the parent The node values and the sub-node values at all levels are used as data corresponding to the key element names in the key element name group to form key element data groups.

将图3所示的名称为“平台项目测试用例模板.xls”的Excel测试用例文件模板中,关键要素名称按照所处的单元格位置的列位置字母顺序排序,形成的关键要素名称组为{测试用例路径;测试用例名称;测试用例描述;测试用例步骤;测试用例预期结果}。In the Excel test case file template named "platform project test case template.xls" shown in Figure 3, the key element names are sorted alphabetically according to the column position of the cell location, and the formed key element name group is { Test Case Path; Test Case Name; Test Case Description; Test Case Steps; Test Case Expected Results}.

图2为本发明实施例1中待转换的Xmind测试用例文件。FIG. 2 is an Xmind test case file to be converted in Embodiment 1 of the present invention.

将如图2所示的文件名为“平台项目测试用例.Xmind”的待转换的Xmind测试用例文件内容,转换为JSON数据格式的内容结果为,{'title':'平台项目案例','topics':[{'title':'查询检查','topics':[{'title':'订单编号','topics':[{'title':'文本框:支持模糊搜索'},{'title':'为空:查询所有该机构下的已完成审批的申赎订单库'},{'title':'模糊搜索:查询模糊搜索该机构下的已完成审批的申赎订单库'},{'title':'全词搜索:查询全词搜索该机构下的已完成审批的申赎订单库'},{'title':'特殊字符:查询结果为空'}]}。这样逻辑图形式的Xmind测试用例文件内容就转换成了JSON数据格式。Convert the content of the Xmind test case file to be converted with the file name "Platform Project Test Case.Xmind" as shown in Figure 2 to JSON data format, and the result is {'title':'Platform Project Case',' topics':[{'title':'Query check','topics':[{'title':'Order number','topics':[{'title':'Text box: support fuzzy search'},{ 'title':'Empty: query all approved application and redemption order libraries under this institution'},{'title':'Fuzzy search: query fuzzy search for the approved application and redemption order database under this institution' },{'title':'Full-word search: query the whole-word search for the approved application and redemption order library under the institution'},{'title':'Special characters: the query result is empty'}]}. In this way, the content of the Xmind test case file in the form of a logic diagram is converted into a JSON data format.

然后,将上面由Xmind测试用例文件的内容解析转换后的JSON数据格式的内容,采用本实施例中自定义的JSON数据处理方法,做进一步处理,得到下一步中写入解析后的Excel测试用例文件模板,所需要的每一个测试用例的数据。对JSON数据格式的内容中的第一个测试用例提取值为结果集,并对结果集做父子关联,提取父节点(平台项目测试用例)作为关键要素测试用例路径对应的数据,一级子节点(查询检查_订单编号)作为关键要素测试用例名称对应的数据,二级子节点(文本框:支持模糊搜索)作为关键要素测试用例描述对应的数据,关键要素测试用例描述对应的数据可根据冒号拆分为关键要素测试用例步骤对应的数据(文本框)和关键要素测试用例预期结果对应的数据(支持模糊搜索),形成第一个测试用例的关键要素数据组,结果如下:(测试用例路径)平台项目测试用例;(测试用例名称)查询检查_订单编号;(测试用例描述)文本框:支持模糊搜索;(测试用例步骤)文本框,(测试用例预期结果)支持模糊搜索。之后再将其他的测试用例逐个转成与之相应关键要素数据组。Then, the content of the JSON data format converted from the content of the Xmind test case file is parsed above, and the custom JSON data processing method in this embodiment is used for further processing to obtain the Excel test case written and parsed in the next step. File templates with data required for each test case. Extract the value of the first test case in the JSON data format as the result set, and make a parent-child association with the result set, extract the parent node (platform project test case) as the key element of the data corresponding to the test case path, the first-level child node (query check_order number) is used as the data corresponding to the name of the key element test case, and the secondary child node (text box: support fuzzy search) is used as the data corresponding to the key element test case description, and the data corresponding to the key element test case description can be described according to the colon Split into the data corresponding to the key element test case step (text box) and the data corresponding to the expected result of the key element test case (supports fuzzy search) to form the key element data group of the first test case. The results are as follows: (Test case path ) platform project test case; (test case name) query check_order number; (test case description) text box: support fuzzy search; (test case step) text box, (test case expected result) support fuzzy search. Then turn other test cases into corresponding key element data groups one by one.

图4为本发明实施例1中转换后的Excel测试用例文件。FIG. 4 is an Excel test case file after conversion in Embodiment 1 of the present invention.

本实施例中图2所示的文件名为“平台项目测试用例.Xmind”的测试用例,根据本发明的方法,依照文件名为“平台项目测试用例模板.xls”的模板,转换为Excel版本的测试用例的结果,如图4所示。In this embodiment, the test case whose file name is "Platform Project Test Case.Xmind" is converted into an Excel version according to the method of the present invention, according to the template whose file name is "Platform Project Test Case Template.xls" The results of the test case are shown in Figure 4.

本发明的Xmind测试用例文件转Excel测试用例文件的方法,可以将Xmind测试用例自动转换Excel形式,无须重复编写Xmind测试用例大纲以及完整的Excel版本测试用例文件,节约了时间成本,效率上显著提高。测试人员也无须花费高成本购买Xmind pro版本,便能享受到Xmind测试用例转Excel测试用例的功能,转换成的Excel测试用例能适配于所有的测试用例管理系统。The method for converting the Xmind test case file to the Excel test case file of the present invention can automatically convert the Xmind test case into the Excel form, without repeatedly writing the Xmind test case outline and the complete Excel version test case file, saving time and cost, and significantly improving efficiency . Testers can also enjoy the function of converting Xmind test cases to Excel test cases without spending a high cost to purchase the Xmind pro version. The converted Excel test cases can be adapted to all test case management systems.

实施例2Example 2

图5为根据本发明实施例2的测试用例文件转换系统的逻辑结构示意图。FIG. 5 is a schematic diagram of a logical structure of a test case file conversion system according to Embodiment 2 of the present invention.

如图5所示,一种测试用例文件转换系统,用于将Xmind测试用例文件转换为Excel测试用例文件,包括:As shown in Figure 5, a test case file conversion system is used to convert Xmind test case files into Excel test case files, including:

文件内容及格式确定单元,用于根据待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,分别确定所述Xmind测试用例文件的内容以及所述Excel测试用例文件模板的格式;The file content and format determination unit is used to respectively determine the content of the Xmind test case file and the format of the Excel test case file template according to the Xmind test case file to be converted and the Excel test case file template to be generated;

文件模板解析单元,用于解析所述待生成的Excel测试用例文件模板的格式,获取所述待生成的Excel测试用例文件模板中预先定义的关键要素名称所处的单元格位置;a file template parsing unit, configured to parse the format of the Excel test case file template to be generated, and obtain the cell position where the pre-defined key element names in the Excel test case file template to be generated are located;

文件内容解析单元,用于分别解析所述待转换的Xmind测试用例文件中每一个测试用例的数据,使所述测试用例中的数据与所述关键要素名称一一对应;a file content parsing unit, configured to parse the data of each test case in the Xmind test case file to be converted, so that the data in the test case corresponds to the name of the key element one by one;

测试用例写入单元,用于将解析后的每一个所述测试用例中的数据按照所述对应的关键要素名称,依次写入所述解析后的Excel测试用例文件模板中同一行内的所述关键要素名称所处的单元格位置对应的列,以生成Excel测试用例文件。The test case writing unit is used to sequentially write the parsed data in each of the test cases into the key elements in the same row in the parsed Excel test case file template according to the corresponding key element names. The column corresponding to the cell position where the element name is located to generate an Excel test case file.

本发明的Xmind测试用例文件转Excel测试用例文件的系统,可以将Xmind测试用例自动转换Excel形式,无须重复编写Xmind测试用例大纲以及完整的Excel版本测试用例文件,节约了时间成本,效率上显著提高。测试人员也无须花费高成本购买Xmind pro版本,便能享受到Xmind测试用例转Excel测试用例的功能,转换成的Excel测试用例能适配于所有的测试用例管理系统。The system for converting Xmind test case files to Excel test case files of the present invention can automatically convert Xmind test cases into Excel form, without repeatedly writing Xmind test case outlines and complete Excel version test case files, saving time and cost and significantly improving efficiency . Testers can also enjoy the function of converting Xmind test cases to Excel test cases without spending a high cost to purchase the Xmind pro version. The converted Excel test cases can be adapted to all test case management systems.

实施例3Example 3

图6为根据本发明实施例3的电子装置的逻辑结构示意图。FIG. 6 is a schematic diagram of a logical structure of an electronic device according to Embodiment 3 of the present invention.

如图6所示,一种电子装置1,包括存储器3和处理器2,存储器3中存储有计算机程序4,计算机程序4被处理器2执行时实现如实施例1中测试用例文件转换方法的步骤。As shown in FIG. 6 , an electronic device 1 includes a memory 3 and a processor 2, and a computer program 4 is stored in the memory 3. When the computer program 4 is executed by the processor 2, the method for converting a test case file as in the embodiment 1 is realized. step.

其中的计算机程序4包括文件读取程序、文件解析程序以及文件写入程序,这些程序被处理器2执行时,所能够实现的操作如下:The computer program 4 includes a file reading program, a file parsing program and a file writing program. When these programs are executed by the processor 2, the operations that can be realized are as follows:

文件读取程序,该文件读取程序被处理器执行时,分别读取待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,根据待转换的Xmind测试用例文件和待生成的Excel测试用例文件模板,分别确定所述Xmind测试用例文件的内容以及所述Excel测试用例文件模板的格式;The file reading program, when the file reading program is executed by the processor, respectively reads the Xmind test case file to be converted and the Excel test case file template to be generated, according to the Xmind test case file to be converted and the Excel test case file to be generated. Use case file template, respectively determine the content of the Xmind test case file and the format of the Excel test case file template;

文件解析程序,该文件解析程序被处理器执行时,待生成的Excel测试用例文件模板解析程序,解析待生成的Excel测试用例文件模板的格式,获取待生成的Excel测试用例文件模板中预先定义的关键要素名称所处的单元格位置;待转换的Xmind测试用例文件解析程序,分别解析待转换的Xmind测试用例文件中每一个测试用例的数据,使测试用例中的数据与关键要素名称一一对应;A file parsing program, when the file parsing program is executed by the processor, the Excel test case file template parsing program to be generated parses the format of the Excel test case file template to be generated, and obtains the predefined Excel test case file template to be generated. The location of the cell where the name of the key element is located; the Xmind test case file parsing program to be converted parses the data of each test case in the Xmind test case file to be converted, so that the data in the test case corresponds to the name of the key element one by one ;

文件写入程序,该文件写入程序被处理器执行时,将解析后的每一个测试用例中的数据按照对应的关键要素名称,依次写入解析后的Excel测试用例文件模板中同一行内的关键要素名称所处的单元格位置对应的列,以生成Excel测试用例文件。The file writing program, when the file writing program is executed by the processor, writes the data in each parsed test case into the parsed Excel test case file template in the same row in sequence according to the corresponding key element name. The column corresponding to the cell position where the element name is located to generate an Excel test case file.

实施例4Example 4

一种计算机可读存储介质,计算机可读存储介质中存储有测试用例文件转换程序,测试用例文件转换程序被处理器执行时,实现实施例1中测试用例文件转换的方法的步骤。该基于测试用例转换的程序可以包括上述文件读取程序、文件解析程序以及文件写入程序。A computer-readable storage medium stores a test case file conversion program, and when the test case file conversion program is executed by a processor, implements the steps of the method for test case file conversion in Embodiment 1. The test case conversion-based program may include the above-mentioned file reading program, file parsing program, and file writing program.

如上参照图1、图2、图3、图4、图5和图6以示例的方式描述根据本发明的Xmind测试用例文件转Excel测试用例文件的方法、装置及存储介质。但是,本领域技术人员应当理解,对于上述本发明所提出的Xmind测试用例文件转Excel测试用例文件的方法、装置及存储介质,还可以在不脱离本发明内容的基础上做出各种改进。因此,本发明的保护范围应当由所附的权利要求书的内容确定。1 , 2 , 3 , 4 , 5 and 6 , the method, device and storage medium for converting an Xmind test case file to an Excel test case file according to the present invention are described by way of example. However, those skilled in the art should understand that various improvements can be made to the method, device and storage medium for converting an Xmind test case file to an Excel test case file proposed by the present invention without departing from the content of the present invention. Therefore, the protection scope of the present invention should be determined by the contents of the appended claims.

Claims (10)

1. A test case file conversion method is characterized by comprising the following steps:
s110: respectively determining the content of the Xmind test case file and the format of an Excel test case file template according to the Xmind test case file to be converted and the Excel test case file template to be generated;
s120: acquiring the position of a cell where a predefined key element name is located in the Excel test case file template to be generated by analyzing the format of the Excel test case file template to be generated and analyzing the data of each test case in the Xmind test case file to be converted, and enabling the data in the test case to correspond to the key element name one by one; the key element names are names used for describing test items in the Excel test case file template;
s130: and sequentially writing the data in each analyzed test case into the columns corresponding to the positions of the cells with the key element names in the same line in the file template of the analyzed Excel test case according to the corresponding key element names so as to generate the Excel test case file.
2. The test case file conversion method of claim 1, before S110, further comprising: and respectively reading the Xmind test case file to be converted and the Excel test case file template to be generated, wherein the reading modes of the Xmind test case file to be converted and the Excel test case file template to be generated are defined in a command line format.
3. The test case file conversion method of claim 2, wherein the command line format is a linux command line format, defining a first reference name and a second reference name; the first reference name is used for marking the Xmind test case file to be converted, and the second reference name is used for marking the template used by the Excel test case file to be generated.
4. The test case file conversion method according to claim 1, wherein in S120, the Excel test case file template to be generated is analyzed by using an extension package xlwt, a formatting specification of the Excel test case file template to be generated is obtained, and a cell position where the predefined key element name is located is obtained.
5. The method according to claim 1, wherein in S120, the process of parsing the data of each test case in the xmnd test case file to be converted includes:
sorting the key element names according to the alphabetic sequence of the column positions of the cells where the key element names are located to form a key element name group; analyzing and converting the content of the Xmind test case file to be converted into the content in the JSON data format; and sequentially converting the data of each test case in the contents of the JSON data format into a key element data group by adopting a self-defined JSON data processing method.
6. The test case file transformation method of claim 5, wherein the process of transforming into key element data groups using the customized JSON data processing method comprises:
and extracting the value of the content in the JSON data format as a result set, performing parent-child association on the result set, and sequentially extracting parent node values and child node values at each level as data which are in one-to-one correspondence with the key element names in the key element name group to form a key element data group.
7. The method for converting the test case file according to claim 6, wherein in S130, the data in the key element data group is sequentially written into the columns corresponding to the key element names in the Excel test case file template, and the data in each key element data group is written into the columns corresponding to the key element names in the same row, so as to generate the final Excel version test case file.
8. A test case file conversion system, comprising:
the file content and format determining unit is used for respectively determining the content of the Xmind test case file and the format of the Excel test case file template according to the Xmind test case file to be converted and the Excel test case file template to be generated;
the file template analysis unit is used for analyzing the format of the Excel test case file template to be generated and acquiring the position of a cell where a predefined key element name is located in the Excel test case file template to be generated;
the file content analysis unit is used for respectively analyzing the data of each test case in the Xmind test case file to be converted so as to enable the data in the test cases to correspond to the key element names one by one;
and the test case writing unit is used for sequentially writing the analyzed data in each test case into the columns corresponding to the cell positions where the key element names in the same row in the analyzed Excel test case file template are located according to the corresponding key element names so as to generate the Excel test case file.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program when executed by the processor implements the steps of the test case file conversion method according to any one of claims 1 to 7.
10. A computer-readable storage medium, in which a test case file conversion program is stored, and when the test case file conversion program is executed by a processor, the steps of the test case file conversion method according to any one of claims 1 to 7 are implemented.
CN202010058322.7A 2020-01-19 2020-01-19 Test case file conversion method, device and storage medium Pending CN111258903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010058322.7A CN111258903A (en) 2020-01-19 2020-01-19 Test case file conversion method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010058322.7A CN111258903A (en) 2020-01-19 2020-01-19 Test case file conversion method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111258903A true CN111258903A (en) 2020-06-09

Family

ID=70949369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010058322.7A Pending CN111258903A (en) 2020-01-19 2020-01-19 Test case file conversion method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111258903A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881053A (en) * 2020-08-04 2020-11-03 北京四维智联科技有限公司 Test case format conversion method and device and computer equipment
CN112346987A (en) * 2020-11-25 2021-02-09 武汉光庭信息技术股份有限公司 Test case generation and conversion method and system based on Xmind
CN113094288A (en) * 2021-05-18 2021-07-09 绿漫科技有限公司 Method for converting mind map into test case based on Xmind
CN113760698A (en) * 2020-07-30 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for converting test case file data
CN114490420A (en) * 2022-02-16 2022-05-13 中银金融科技有限公司 Test case generation method and device, storage medium and electronic equipment
CN114911676A (en) * 2022-05-11 2022-08-16 众格智能科技(上海)有限公司 CPK data statistical method, system and computer readable medium
CN114924983A (en) * 2022-06-01 2022-08-19 中电云数智科技有限公司 Method for converting Xmind test case into Zen channel case
CN115495386A (en) * 2022-10-28 2022-12-20 联通雄安产业互联网有限公司 Method and system based on test case multi-format conversion and automatic process management
CN115757184A (en) * 2022-12-06 2023-03-07 招银云创信息技术有限公司 Test case management method and related equipment
CN119759745A (en) * 2023-09-27 2025-04-04 中国石油化工股份有限公司 Test case writing and conversion methods, devices, equipment, media and procedures

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9111030B1 (en) * 2008-10-03 2015-08-18 Federal Home Loan Mortgage Corporation Systems and methods for testing a software application
CN109726125A (en) * 2018-12-21 2019-05-07 郑州云海信息技术有限公司 A method and device for processing test cases in mind map
CN110110152A (en) * 2018-01-18 2019-08-09 深圳市爱思软件技术有限公司 Processing method, device, computer equipment and the storage medium of mind map
CN110597708A (en) * 2019-08-02 2019-12-20 北京奇艺世纪科技有限公司 Test case file conversion method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9111030B1 (en) * 2008-10-03 2015-08-18 Federal Home Loan Mortgage Corporation Systems and methods for testing a software application
CN110110152A (en) * 2018-01-18 2019-08-09 深圳市爱思软件技术有限公司 Processing method, device, computer equipment and the storage medium of mind map
CN109726125A (en) * 2018-12-21 2019-05-07 郑州云海信息技术有限公司 A method and device for processing test cases in mind map
CN110597708A (en) * 2019-08-02 2019-12-20 北京奇艺世纪科技有限公司 Test case file conversion method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TESTERHOME: "测试管理基于XMind的用例设计", pages 1 - 4, Retrieved from the Internet <URL:https://maimai.cn/article/detail?fid=432581113&efid=I9LkmLLQPnYH36gVeyfkNA> *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760698A (en) * 2020-07-30 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for converting test case file data
CN111881053A (en) * 2020-08-04 2020-11-03 北京四维智联科技有限公司 Test case format conversion method and device and computer equipment
CN112346987A (en) * 2020-11-25 2021-02-09 武汉光庭信息技术股份有限公司 Test case generation and conversion method and system based on Xmind
CN113094288A (en) * 2021-05-18 2021-07-09 绿漫科技有限公司 Method for converting mind map into test case based on Xmind
CN113094288B (en) * 2021-05-18 2022-06-21 绿漫科技有限公司 A method of transferring test case based on Xmind mind map
CN114490420A (en) * 2022-02-16 2022-05-13 中银金融科技有限公司 Test case generation method and device, storage medium and electronic equipment
CN114911676A (en) * 2022-05-11 2022-08-16 众格智能科技(上海)有限公司 CPK data statistical method, system and computer readable medium
CN114924983A (en) * 2022-06-01 2022-08-19 中电云数智科技有限公司 Method for converting Xmind test case into Zen channel case
CN115495386A (en) * 2022-10-28 2022-12-20 联通雄安产业互联网有限公司 Method and system based on test case multi-format conversion and automatic process management
CN115757184A (en) * 2022-12-06 2023-03-07 招银云创信息技术有限公司 Test case management method and related equipment
CN119759745A (en) * 2023-09-27 2025-04-04 中国石油化工股份有限公司 Test case writing and conversion methods, devices, equipment, media and procedures
CN119759745B (en) * 2023-09-27 2025-12-12 中国石油化工股份有限公司 Test case writing and converting method, device, equipment, medium and program

Similar Documents

Publication Publication Date Title
CN111258903A (en) Test case file conversion method, device and storage medium
CN109117479B (en) Financial document intelligent checking method and device and storage medium
CN111367976B (en) Method and device for exporting EXCEL file data based on JAVA reflection mechanism
US11397575B2 (en) Microservices graph generation
US8959122B2 (en) Data processing device
CN110347598B (en) Test script generation method and device, server and storage medium
CN103412853B (en) A kind of automatic example generation method for file convertor
CN112667720A (en) Conversion method, device, equipment and storage medium of interface data model
US20040015840A1 (en) Mechanism for converting between JAVA classes and XML
US6286131B1 (en) Debugging tool for linguistic applications
US9141344B2 (en) Hover help support for application source code
CN109710220B (en) Relational database query method, relational database query device, relational database query equipment and storage medium
CN112667563A (en) Document management and operation method and system
US7742048B1 (en) Method, system, and apparatus for converting numbers based upon semantically labeled strings
US10055468B2 (en) Access to data collections by a computational system
CN112187713A (en) Message conversion method, device, computer equipment and storage medium
CN115291887A (en) Code generation method, device, equipment and storage medium
CN113128175B (en) Method and system for merging large batch of PDF (portable document format) files
CN115061688A (en) Page effect display method, computing device and storage medium
CN114780577A (en) SQL statement generation method, device, device and storage medium
CN120029604A (en) Training data generation method, device, equipment and medium
CN117762984A (en) Data acquisition method, device, electronic equipment and storage medium
JP6870454B2 (en) Analytical equipment, analytical programs and analytical methods
Jagtap et al. Data structures using C: a practical approach for beginners
US12332861B2 (en) Computing similarity of tree data structures using metric functions defined on sets

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