Implement recorder PoC (#6)

This commit is contained in:
minsung
2026-04-07 14:27:46 +09:00
parent e3d2ff6c77
commit d486cbb4d9
14 changed files with 996 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
using System.Collections.Generic;
namespace Recordingtest.Recorder;
public sealed class Scenario
{
public string Name { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public ScenarioSut Sut { get; set; } = new();
public List<ScenarioStep> Steps { get; set; } = new();
}
public sealed class ScenarioSut
{
public string Exe { get; set; } = "EG-BIM Modeler/EG-BIM Modeler.exe";
public int StartupTimeoutMs { get; set; } = 15000;
}
public sealed class ScenarioStep
{
/// <summary>click | type | drag | hotkey | wait</summary>
public string Kind { get; set; } = "click";
public ScenarioTarget? Target { get; set; }
public string? Value { get; set; }
public string? WaitFor { get; set; }
}
public sealed class ScenarioTarget
{
public string UiaPath { get; set; } = string.Empty;
public double[] Offset { get; set; } = new double[] { 0.5, 0.5 };
}