From 7f7106e68bc1a55af86f12216b980e4a0142892c Mon Sep 17 00:00:00 2001 From: Thomas Lielacher Date: Fri, 14 Oct 2022 11:08:12 +0200 Subject: [PATCH] documented new settings --- Plugins/SpecFlow.Actions.WindowsAppDriver/Readme.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Plugins/SpecFlow.Actions.WindowsAppDriver/Readme.md b/Plugins/SpecFlow.Actions.WindowsAppDriver/Readme.md index 60d951b2..21decc07 100644 --- a/Plugins/SpecFlow.Actions.WindowsAppDriver/Readme.md +++ b/Plugins/SpecFlow.Actions.WindowsAppDriver/Readme.md @@ -28,7 +28,9 @@ Example: "app": "../SpecFlowCalculator/bin/Debug/net5.0-windows/SpecFlowCalculator.exe" }, "WindowsAppDriverPath": "C:/Program Files/Windows Application Driver/WinAppDriver.exe", - "EnableScreenshots": true + "WindowsAppDriverPort": 4723, + "EnableScreenshots": true, + "CloseAppAutomatically": false } } ``` @@ -50,6 +52,10 @@ Example: \TestResults\Screenshots\2021-10-11_171822\Calculator\Add two numbers\the first number is 50 (OK).png ``` +4. ```WindowsAppDriverPort``` - If specified, the Windows App Driver will be launched using this port. If not specified, the default port 4723 will be used. (This setting is useful, if the default port is already in use by another application.) + +5. ```CloseAppAutomatically``` - This setting is optional and defaults to `true`. If `false`, the app will not be closed automatically after each scenario. + ### Important information If you do not provide these configuration values, then the next default fallback is to check for the following environment variables: