From aa0ae5b2516ad9d2d483b6ef6a6c9408132037d8 Mon Sep 17 00:00:00 2001 From: Andreas Sekulski Date: Wed, 18 May 2022 15:12:55 +0200 Subject: [PATCH] Press Key issue with combined keys #67 Keyboard input example extended Keyboard robot file adjusted Unecessary documentation removed --- TestApplications/src/Notifier/App.config | 6 +- TestApplications/src/Notifier/Notifier.csproj | 3 +- .../Notifier/Properties/Resources.Designer.cs | 2 +- .../Notifier/Properties/Settings.Designer.cs | 2 +- .../src/WpfApplication/App.config | 2 +- .../src/WpfApplication/MainWindow.xaml | 13 +++ .../src/WpfApplication/MainWindow.xaml.cs | 45 +++++++++ .../Properties/Resources.Designer.cs | 2 +- .../Properties/Settings.Designer.cs | 2 +- .../src/WpfApplication/WpfApplication.csproj | 2 +- atests/Keyboard.robot | 86 ++++++++++-------- atests/apps/WpfApplication.exe | Bin 105472 -> 107008 bytes atests/util/Common.robot | 5 + atests/util/XPath.robot | 1 + src/FlaUILibrary/keywords/keyboard.py | 2 - 15 files changed, 121 insertions(+), 52 deletions(-) diff --git a/TestApplications/src/Notifier/App.config b/TestApplications/src/Notifier/App.config index 8e15646..4bfa005 100644 --- a/TestApplications/src/Notifier/App.config +++ b/TestApplications/src/Notifier/App.config @@ -1,6 +1,6 @@ - + - + - \ No newline at end of file + diff --git a/TestApplications/src/Notifier/Notifier.csproj b/TestApplications/src/Notifier/Notifier.csproj index 3fd2b46..2c8531b 100644 --- a/TestApplications/src/Notifier/Notifier.csproj +++ b/TestApplications/src/Notifier/Notifier.csproj @@ -8,9 +8,10 @@ WinExe NotifierTest Notifier - v4.5 + v4.8 512 true + AnyCPU diff --git a/TestApplications/src/Notifier/Properties/Resources.Designer.cs b/TestApplications/src/Notifier/Properties/Resources.Designer.cs index 25ad1eb..a3bcadc 100644 --- a/TestApplications/src/Notifier/Properties/Resources.Designer.cs +++ b/TestApplications/src/Notifier/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace NotifierTest.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { diff --git a/TestApplications/src/Notifier/Properties/Settings.Designer.cs b/TestApplications/src/Notifier/Properties/Settings.Designer.cs index 800a553..6e26e3b 100644 --- a/TestApplications/src/Notifier/Properties/Settings.Designer.cs +++ b/TestApplications/src/Notifier/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace NotifierTest.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.5.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/TestApplications/src/WpfApplication/App.config b/TestApplications/src/WpfApplication/App.config index 877624e..5ffd8f8 100644 --- a/TestApplications/src/WpfApplication/App.config +++ b/TestApplications/src/WpfApplication/App.config @@ -1,6 +1,6 @@ - + diff --git a/TestApplications/src/WpfApplication/MainWindow.xaml b/TestApplications/src/WpfApplication/MainWindow.xaml index fd6f759..b0dae22 100644 --- a/TestApplications/src/WpfApplication/MainWindow.xaml +++ b/TestApplications/src/WpfApplication/MainWindow.xaml @@ -7,6 +7,8 @@ mc:Ignorable="d" Title="FlaUI WPF Test App" Height="533.931" Width="629.303" + KeyDown="OnKeyDown" + KeyUp="OnKeyUp" ResizeMode="CanResize"> @@ -177,6 +179,17 @@ + + +