added WinAppDriver.exe

This commit is contained in:
seraphima
2024-02-23 20:21:40 +01:00
parent 91299802ed
commit 8a8100416e
17 changed files with 1150 additions and 0 deletions

1102
deps/WinAppDriver/EULA.rtf vendored Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

BIN
deps/WinAppDriver/MitaBroker.dll vendored Normal file

Binary file not shown.

BIN
deps/WinAppDriver/MitaLite.AppModel.dll vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
deps/WinAppDriver/Newtonsoft.Json.dll vendored Normal file

Binary file not shown.

7
deps/WinAppDriver/Readme.txt vendored Normal file
View File

@@ -0,0 +1,7 @@
Windows Application Driver
For documentation, sample code, and logging issues:
https://github.com/Microsoft/WinAppDriver
To request new features and upvote requests filed by others:
https://wpdev.uservoice.com

Binary file not shown.

Binary file not shown.

BIN
deps/WinAppDriver/WinAppDriver.exe vendored Normal file

Binary file not shown.

BIN
deps/WinAppDriver/WinAppDriverCore.dll vendored Normal file

Binary file not shown.

BIN
deps/WinAppDriver/cpprest140_2_9.dll vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,41 @@
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.FancyZonesEditor.UITests
{
[TestClass]
public class Init
{
private static Process? appDriver;
[AssemblyInitialize]
public static void SetupAll(TestContext context)
{
string winAppDriver = Path.Combine($"{Environment.CurrentDirectory}", @".\..\..\..\..\..\deps\WinAppDriver", "WinAppDriver.exe");
context.WriteLine($"Attempting to launch WinAppDriver at: {winAppDriver}");
context.WriteLine($"Working directory: {Environment.CurrentDirectory}");
appDriver = Process.Start(winAppDriver);
}
[AssemblyCleanup]
public static void CleanupAll()
{
try
{
appDriver?.Kill();
}
catch
{
}
}
}
}