script/Testlink转换工具/ExcelToXml2
halliday c9605ad3b5 提交testlink转换工具 2025-11-11 19:43:42 +08:00
..
ExcelToXml.py 提交testlink转换工具 2025-11-11 19:43:42 +08:00
check.py 提交testlink转换工具 2025-11-11 19:43:42 +08:00
converter.py 提交testlink转换工具 2025-11-11 19:43:42 +08:00
readme.txt 提交testlink转换工具 2025-11-11 19:43:42 +08:00

readme.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

环境要求:
1、Python 2.x
2、依赖模块xlrd
可以使用 python check.py 命令完成版本检查和模块安装


命令行参数:
1、python converter.py
所有Excel文件放入input文件夹下输出的xml文件存放在output文件夹下自动创建
2、python converter.py 文件夹路径
指定输入文件夹文件夹路径名不能有空格输出的xml文件存放在output文件夹下
3、python converter.py Excel文件路径
指定输入文件输出的xml文件存放在output文件夹下


模板要求不支持xlsx格式的Excel
1、目录结构模式
输出的xml结构会按照【sheet页名】->【模块名】->【标题】导入TestLink如果TestLink没有对应目录会自动创建。
2、用例集模式
Excel中模块列为空白生成的xml测试用例集用于导入单个目录下