Files
pacs_win_uia/tests/run-fixture.cmd
T
zimoyin f31b50bb36 完善 XPath 定位与控件监控体验
- 增加简明到深入的 XPath 定位教程
- 保留增量控件树刷新与可编辑 Path
- 完善悬浮条条件选择和诊断

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-13 13:00:10 +08:00

23 lines
665 B
Batchfile
Raw Blame History

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.
@echo off
rem 构建并启动 UIA 测试夹具(一个普通的 WinForms 窗口,用来验证控件树/拾取/列表读取)。
rem 需要 .NET Framework 4.8(Windows 自带)与 dotnet SDK 或 MSBuild。
setlocal
set HERE=%~dp0
set PROJECT=%HERE%uia-fixture\UiaFixture.csproj
set CONFIG=%1
if "%CONFIG%"=="" set CONFIG=Debug
where dotnet >nul 2>nul
if %ERRORLEVEL%==0 (
dotnet msbuild "%PROJECT%" -p:Configuration=%CONFIG% -v:m -nologo
) else (
msbuild "%PROJECT%" -p:Configuration=%CONFIG% -v:m -nologo
)
if not %ERRORLEVEL%==0 (
echo 构建失败。
exit /b %ERRORLEVEL%
)
start "" "%HERE%uia-fixture\bin\%CONFIG%\UiaFixture.exe"
endlocal