test(运单资料文件包下载): 需求文档与 QE Fleet 全流程测试设计产物入库
- 需求 v1.0 定稿(md+docx)与 UI 原型入库;确认单判定 docx 为同文载体、安徽运八并行无冲突 - 全流程产物:分析 + 59 测试点 + 85 用例 + 测试数据 145 组;评审 3 阻断与覆盖缺口 GAP-001 已修复,裁决 PASS_WITH_FIX - 导出 Excel(云效模型)+ XMind + 版本快照 v1;含 docx 生成脚本与转换校验产物 - .gitignore 排除 node_modules 与 Excel 锁文件
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$word = New-Object -ComObject Word.Application
|
||||
$word.Visible = $false
|
||||
try {
|
||||
$doc = $word.Documents.Open('E:\Desktop\xst_files\test\QaAutomationHub\output\docx_check\check.docx', $false, $true)
|
||||
$pages = $doc.ComputeStatistics(2)
|
||||
Write-Output "PAGES=$pages"
|
||||
$doc.SaveAs2('E:\Desktop\xst_files\test\QaAutomationHub\output\docx_check\check.pdf', 17)
|
||||
$doc.Close($false)
|
||||
Write-Output 'PDF-OK'
|
||||
} finally {
|
||||
$word.Quit()
|
||||
}
|
||||
Reference in New Issue
Block a user