Files
recordingtest/src/Recordingtest.LauncherUI/App.xaml
minsung 39f70dfb56 feat: WPF LauncherUI + per-step SUT focus enforcement (#14)
LauncherUI (src/Recordingtest.LauncherUI/):
- 시나리오 폴더 브라우저 + 목록 선택
- SUT(EG-BIM Modeler) 프로세스 자동 탐지 + 상태 표시
- 3초 카운트다운 후 런처 최소화 → 재생 시작
- 재생 중 Console.WriteLine → WPF 로그 박스 실시간 출력
- 중단(Ctrl+C 대체) 버튼

UiaPlayerHost:
- _sutHwnd 캐싱 (BringSutToForeground 이후)
- EnsureSutForegroundQuick(): Click/Type/Hotkey 직전 포커스 재확인
  (GetForegroundWindow != sutHwnd 시 SetForegroundWindow + 300ms 대기)
- 매 입력 스텝마다 SUT가 포커스를 잃으면 자동 복구

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:12:40 +09:00

17 lines
706 B
XML

<Application x:Class="Recordingtest.LauncherUI.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
<Style TargetType="Button">
<Setter Property="Padding" Value="12,6"/>
<Setter Property="Margin" Value="4,2"/>
<Setter Property="Cursor" Value="Hand"/>
</Style>
<Style TargetType="TextBox">
<Setter Property="Padding" Value="4,3"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
</Style>
</Application.Resources>
</Application>