diff --git a/src/TestStack.White.UITests/Scenarios/Win32Tests.cs b/src/TestStack.White.UITests/Scenarios/Win32Tests.cs index 6b42412e..fde070bd 100644 --- a/src/TestStack.White.UITests/Scenarios/Win32Tests.cs +++ b/src/TestStack.White.UITests/Scenarios/Win32Tests.cs @@ -1,9 +1,11 @@ using System.Diagnostics; +using System.Linq; using TestStack.White.Factory; using TestStack.White.UIItems; using TestStack.White.UIItems.Finders; using TestStack.White.UIItems.ListBoxItems; using TestStack.White.UIItems.MenuItems; +using TestStack.White.UIItems.WindowStripControls; using TestStack.White.WindowsAPI; using Xunit; @@ -11,8 +13,9 @@ namespace TestStack.White.UITests.Scenarios { public class Win32Tests { - private const string ExeSourceFile = @"C:\Windows\system32\calc.exe"; - private const string Notepad = @"C:\Windows\system32\notepad.exe"; + const string ExeSourceFile = @"C:\Windows\system32\calc.exe"; + const string Notepad = @"C:\Windows\system32\notepad.exe"; + const string InternetExplorer = @"C:\Program Files\Internet Explorer\iexplore.exe"; [Fact] public void NotepadTests() @@ -31,6 +34,28 @@ public void NotepadTests() } } + [Fact] + public void InternetExplorerTests() + { + using (var app = Application.Launch(InternetExplorer)) + using (var window = app.GetWindows().Single()) + { + var button = window.Get