mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
added WinAppDriver.exe
This commit is contained in:
1102
deps/WinAppDriver/EULA.rtf
vendored
Normal file
1102
deps/WinAppDriver/EULA.rtf
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
deps/WinAppDriver/Microsoft.Win32.Primitives.dll
vendored
Normal file
BIN
deps/WinAppDriver/Microsoft.Win32.Primitives.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/Microsoft.Win32.Registry.dll
vendored
Normal file
BIN
deps/WinAppDriver/Microsoft.Win32.Registry.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/MitaBroker.dll
vendored
Normal file
BIN
deps/WinAppDriver/MitaBroker.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/MitaLite.AppModel.dll
vendored
Normal file
BIN
deps/WinAppDriver/MitaLite.AppModel.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/MitaLite.Foundation.dll
vendored
Normal file
BIN
deps/WinAppDriver/MitaLite.Foundation.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/MitaLite.Localization.dll
vendored
Normal file
BIN
deps/WinAppDriver/MitaLite.Localization.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/MitaLite.UIAutomationAdapter.dll
vendored
Normal file
BIN
deps/WinAppDriver/MitaLite.UIAutomationAdapter.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/MitaLite.UIAutomationClient.dll
vendored
Normal file
BIN
deps/WinAppDriver/MitaLite.UIAutomationClient.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/Newtonsoft.Json.dll
vendored
Normal file
BIN
deps/WinAppDriver/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
7
deps/WinAppDriver/Readme.txt
vendored
Normal file
7
deps/WinAppDriver/Readme.txt
vendored
Normal 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
|
||||||
BIN
deps/WinAppDriver/System.Diagnostics.Process.dll
vendored
Normal file
BIN
deps/WinAppDriver/System.Diagnostics.Process.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/System.Threading.Thread.dll
vendored
Normal file
BIN
deps/WinAppDriver/System.Threading.Thread.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/WinAppDriver.exe
vendored
Normal file
BIN
deps/WinAppDriver/WinAppDriver.exe
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/WinAppDriverCore.dll
vendored
Normal file
BIN
deps/WinAppDriver/WinAppDriverCore.dll
vendored
Normal file
Binary file not shown.
BIN
deps/WinAppDriver/cpprest140_2_9.dll
vendored
Normal file
BIN
deps/WinAppDriver/cpprest140_2_9.dll
vendored
Normal file
Binary file not shown.
41
src/modules/fancyzones/UITests-FancyZonesEditor/Init.cs
Normal file
41
src/modules/fancyzones/UITests-FancyZonesEditor/Init.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user