Implement recorder PoC (#6)
This commit is contained in:
12
tests/Recordingtest.Recorder.Tests/FakeElement.cs
Normal file
12
tests/Recordingtest.Recorder.Tests/FakeElement.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Recordingtest.Recorder.Tests;
|
||||
|
||||
internal sealed class FakeElement : IElementSnapshot
|
||||
{
|
||||
public string ClassName { get; set; } = "Element";
|
||||
public string? AutomationId { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public bool IsPassword { get; set; }
|
||||
public (double Left, double Top, double Width, double Height) BoundingRectangle { get; set; }
|
||||
= (0, 0, 0, 0);
|
||||
public IElementSnapshot? Parent { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user