Skip to content

Commit

Permalink
Merge pull request TestStack#132 from JakeGinnivan/Win32DocumentIssue
Browse files Browse the repository at this point in the history
Fixed issue where you cannot find a multiline textbox in win32
  • Loading branch information
Jake Ginnivan committed Aug 1, 2013
2 parents bb6be49 + a5adefd commit 2718564
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 183 deletions.
34 changes: 32 additions & 2 deletions src/TestStack.White.UITests/Scenarios/Win32Tests.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
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;

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()
Expand All @@ -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<Button>(SearchCriteria.ByAutomationId("Item 3"));
//check if we can get a win32 tooltip
Assert.Equal("Tools (Alt+X)", window.GetToolTipOn(button).Text);
button.Click();
window.PopupMenu("Internet options").Click();
using (var internetOptions = window.ModalWindow("Internet Options"))
{
var textBox = internetOptions.Get<TextBox>(SearchCriteria.ByAutomationId("1487"));

textBox.Text = "http://google.com";

Assert.Equal("http://google.com", textBox.Text);
}
}
}

[Fact]
public void CalculatorTests()
{
Expand All @@ -40,6 +65,11 @@ public void CalculatorTests()
using (var application = Application.AttachOrLaunch(psi))
using (var mainWindow = application.GetWindow(SearchCriteria.ByText("Calculator"), InitializeOption.NoCache))
{
// Verify can click on menu twice
var menuBar = mainWindow.Get<MenuBar>(SearchCriteria.ByText("Application"));
menuBar.MenuItem("Edit", "Copy").Click();
menuBar.MenuItem("Edit", "Copy").Click();

mainWindow.Keyboard.HoldKey(KeyboardInput.SpecialKeys.CONTROL);
mainWindow.Keyboard.Enter("E");
mainWindow.Keyboard.LeaveKey(KeyboardInput.SpecialKeys.CONTROL);
Expand Down
171 changes: 11 additions & 160 deletions src/TestStack.White.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
..\Build.cmd = ..\Build.cmd
..\Changes.txt = ..\Changes.txt
..\LICENSE-APACHE.txt = ..\LICENSE-APACHE.txt
..\LICENSE-MIT.txt = ..\LICENSE-MIT.txt
..\LICENSE.txt = ..\LICENSE.txt
..\TestStack.White.proj = ..\TestStack.White.proj
EndProjectSection
EndProject
Expand Down Expand Up @@ -124,14 +127,6 @@ Global
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Release|Any CPU.Build.0 = Release|Any CPU
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Release|Any CPU.Build.0 = Release|Any CPU
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Debug|Any CPU.Build.0 = Debug|Any CPU
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Release|Any CPU.ActiveCfg = Release|Any CPU
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Release|Any CPU.Build.0 = Release|Any CPU
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Debug|Any CPU.Build.0 = Debug|Any CPU
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -144,158 +139,14 @@ Global
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Release|Any CPU.Build.0 = Release|Any CPU
{12C59CE2-9CF7-44F4-B27C-90754609F979}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{12C59CE2-9CF7-44F4-B27C-90754609F979}.Debug|Mixed Platforms.Build.0 = Debug|x86
{12C59CE2-9CF7-44F4-B27C-90754609F979}.Debug|x86.ActiveCfg = Debug|x86
{12C59CE2-9CF7-44F4-B27C-90754609F979}.Debug|x86.Build.0 = Debug|x86
{12C59CE2-9CF7-44F4-B27C-90754609F979}.Release|Mixed Platforms.ActiveCfg = Release|x86
{12C59CE2-9CF7-44F4-B27C-90754609F979}.Release|Mixed Platforms.Build.0 = Release|x86
{12C59CE2-9CF7-44F4-B27C-90754609F979}.Release|x86.ActiveCfg = Release|x86
{12C59CE2-9CF7-44F4-B27C-90754609F979}.Release|x86.Build.0 = Release|x86
{7C7960B2-905D-409A-8068-B010A35BA151}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{7C7960B2-905D-409A-8068-B010A35BA151}.Debug|Mixed Platforms.Build.0 = Debug|x86
{7C7960B2-905D-409A-8068-B010A35BA151}.Debug|x86.ActiveCfg = Debug|x86
{7C7960B2-905D-409A-8068-B010A35BA151}.Debug|x86.Build.0 = Debug|x86
{7C7960B2-905D-409A-8068-B010A35BA151}.Release|Mixed Platforms.ActiveCfg = Release|x86
{7C7960B2-905D-409A-8068-B010A35BA151}.Release|Mixed Platforms.Build.0 = Release|x86
{7C7960B2-905D-409A-8068-B010A35BA151}.Release|x86.ActiveCfg = Release|x86
{7C7960B2-905D-409A-8068-B010A35BA151}.Release|x86.Build.0 = Release|x86
{BDD325EF-D400-4A37-B4C6-D7BF150587C7}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{BDD325EF-D400-4A37-B4C6-D7BF150587C7}.Debug|Mixed Platforms.Build.0 = Debug|x86
{BDD325EF-D400-4A37-B4C6-D7BF150587C7}.Debug|x86.ActiveCfg = Debug|x86
{BDD325EF-D400-4A37-B4C6-D7BF150587C7}.Debug|x86.Build.0 = Debug|x86
{BDD325EF-D400-4A37-B4C6-D7BF150587C7}.Release|Mixed Platforms.ActiveCfg = Release|x86
{BDD325EF-D400-4A37-B4C6-D7BF150587C7}.Release|Mixed Platforms.Build.0 = Release|x86
{BDD325EF-D400-4A37-B4C6-D7BF150587C7}.Release|x86.ActiveCfg = Release|x86
{BDD325EF-D400-4A37-B4C6-D7BF150587C7}.Release|x86.Build.0 = Release|x86
{EAC2EAA3-9C17-4F59-BC5B-89C2601D38AC}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{EAC2EAA3-9C17-4F59-BC5B-89C2601D38AC}.Debug|Mixed Platforms.Build.0 = Debug|x86
{EAC2EAA3-9C17-4F59-BC5B-89C2601D38AC}.Debug|x86.ActiveCfg = Debug|x86
{EAC2EAA3-9C17-4F59-BC5B-89C2601D38AC}.Debug|x86.Build.0 = Debug|x86
{EAC2EAA3-9C17-4F59-BC5B-89C2601D38AC}.Release|Mixed Platforms.ActiveCfg = Release|x86
{EAC2EAA3-9C17-4F59-BC5B-89C2601D38AC}.Release|Mixed Platforms.Build.0 = Release|x86
{EAC2EAA3-9C17-4F59-BC5B-89C2601D38AC}.Release|x86.ActiveCfg = Release|x86
{EAC2EAA3-9C17-4F59-BC5B-89C2601D38AC}.Release|x86.Build.0 = Release|x86
{24929CE3-4000-4600-8830-503BE6A2BA42}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{24929CE3-4000-4600-8830-503BE6A2BA42}.Debug|Mixed Platforms.Build.0 = Debug|x86
{24929CE3-4000-4600-8830-503BE6A2BA42}.Debug|x86.ActiveCfg = Debug|x86
{24929CE3-4000-4600-8830-503BE6A2BA42}.Debug|x86.Build.0 = Debug|x86
{24929CE3-4000-4600-8830-503BE6A2BA42}.Release|Mixed Platforms.ActiveCfg = Release|x86
{24929CE3-4000-4600-8830-503BE6A2BA42}.Release|Mixed Platforms.Build.0 = Release|x86
{24929CE3-4000-4600-8830-503BE6A2BA42}.Release|x86.ActiveCfg = Release|x86
{24929CE3-4000-4600-8830-503BE6A2BA42}.Release|x86.Build.0 = Release|x86
{492E6340-32CC-4D03-A9C4-36FB4C40CF5C}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{492E6340-32CC-4D03-A9C4-36FB4C40CF5C}.Debug|Mixed Platforms.Build.0 = Debug|x86
{492E6340-32CC-4D03-A9C4-36FB4C40CF5C}.Debug|x86.ActiveCfg = Debug|x86
{492E6340-32CC-4D03-A9C4-36FB4C40CF5C}.Debug|x86.Build.0 = Debug|x86
{492E6340-32CC-4D03-A9C4-36FB4C40CF5C}.Release|Mixed Platforms.ActiveCfg = Release|x86
{492E6340-32CC-4D03-A9C4-36FB4C40CF5C}.Release|Mixed Platforms.Build.0 = Release|x86
{492E6340-32CC-4D03-A9C4-36FB4C40CF5C}.Release|x86.ActiveCfg = Release|x86
{492E6340-32CC-4D03-A9C4-36FB4C40CF5C}.Release|x86.Build.0 = Release|x86
{10A51741-09F8-47CA-AB94-965EE71342F7}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{10A51741-09F8-47CA-AB94-965EE71342F7}.Debug|Mixed Platforms.Build.0 = Debug|x86
{10A51741-09F8-47CA-AB94-965EE71342F7}.Debug|x86.ActiveCfg = Debug|x86
{10A51741-09F8-47CA-AB94-965EE71342F7}.Debug|x86.Build.0 = Debug|x86
{10A51741-09F8-47CA-AB94-965EE71342F7}.Release|Mixed Platforms.ActiveCfg = Release|x86
{10A51741-09F8-47CA-AB94-965EE71342F7}.Release|Mixed Platforms.Build.0 = Release|x86
{10A51741-09F8-47CA-AB94-965EE71342F7}.Release|x86.ActiveCfg = Release|x86
{10A51741-09F8-47CA-AB94-965EE71342F7}.Release|x86.Build.0 = Release|x86
{D0ED95E7-584A-45B9-B8E2-1A7ADD78C366}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{D0ED95E7-584A-45B9-B8E2-1A7ADD78C366}.Debug|Mixed Platforms.Build.0 = Debug|x86
{D0ED95E7-584A-45B9-B8E2-1A7ADD78C366}.Debug|x86.ActiveCfg = Debug|x86
{D0ED95E7-584A-45B9-B8E2-1A7ADD78C366}.Debug|x86.Build.0 = Debug|x86
{D0ED95E7-584A-45B9-B8E2-1A7ADD78C366}.Release|Mixed Platforms.ActiveCfg = Release|x86
{D0ED95E7-584A-45B9-B8E2-1A7ADD78C366}.Release|Mixed Platforms.Build.0 = Release|x86
{D0ED95E7-584A-45B9-B8E2-1A7ADD78C366}.Release|x86.ActiveCfg = Release|x86
{D0ED95E7-584A-45B9-B8E2-1A7ADD78C366}.Release|x86.Build.0 = Release|x86
{F5604A48-3BD0-4418-83F1-3ECC03DD2FF0}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{F5604A48-3BD0-4418-83F1-3ECC03DD2FF0}.Debug|Mixed Platforms.Build.0 = Debug|x86
{F5604A48-3BD0-4418-83F1-3ECC03DD2FF0}.Debug|x86.ActiveCfg = Debug|x86
{F5604A48-3BD0-4418-83F1-3ECC03DD2FF0}.Debug|x86.Build.0 = Debug|x86
{F5604A48-3BD0-4418-83F1-3ECC03DD2FF0}.Release|Mixed Platforms.ActiveCfg = Release|x86
{F5604A48-3BD0-4418-83F1-3ECC03DD2FF0}.Release|Mixed Platforms.Build.0 = Release|x86
{F5604A48-3BD0-4418-83F1-3ECC03DD2FF0}.Release|x86.ActiveCfg = Release|x86
{F5604A48-3BD0-4418-83F1-3ECC03DD2FF0}.Release|x86.Build.0 = Release|x86
{51509F9D-12C4-4043-A68F-16A300F38FDB}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{51509F9D-12C4-4043-A68F-16A300F38FDB}.Debug|Mixed Platforms.Build.0 = Debug|x86
{51509F9D-12C4-4043-A68F-16A300F38FDB}.Debug|x86.ActiveCfg = Debug|x86
{51509F9D-12C4-4043-A68F-16A300F38FDB}.Debug|x86.Build.0 = Debug|x86
{51509F9D-12C4-4043-A68F-16A300F38FDB}.Release|Mixed Platforms.ActiveCfg = Release|x86
{51509F9D-12C4-4043-A68F-16A300F38FDB}.Release|Mixed Platforms.Build.0 = Release|x86
{51509F9D-12C4-4043-A68F-16A300F38FDB}.Release|x86.ActiveCfg = Release|x86
{51509F9D-12C4-4043-A68F-16A300F38FDB}.Release|x86.Build.0 = Release|x86
{3CC2654B-2108-4A38-AFFF-82718703EBE3}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{3CC2654B-2108-4A38-AFFF-82718703EBE3}.Debug|Mixed Platforms.Build.0 = Debug|x86
{3CC2654B-2108-4A38-AFFF-82718703EBE3}.Debug|x86.ActiveCfg = Debug|x86
{3CC2654B-2108-4A38-AFFF-82718703EBE3}.Debug|x86.Build.0 = Debug|x86
{3CC2654B-2108-4A38-AFFF-82718703EBE3}.Release|Mixed Platforms.ActiveCfg = Release|x86
{3CC2654B-2108-4A38-AFFF-82718703EBE3}.Release|Mixed Platforms.Build.0 = Release|x86
{3CC2654B-2108-4A38-AFFF-82718703EBE3}.Release|x86.ActiveCfg = Release|x86
{3CC2654B-2108-4A38-AFFF-82718703EBE3}.Release|x86.Build.0 = Release|x86
{EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}.Debug|x86.ActiveCfg = Debug|Any CPU
{EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}.Debug|x86.Build.0 = Debug|Any CPU
{EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}.Release|x86.ActiveCfg = Release|Any CPU
{EC32732F-6CB9-4078-B3A8-E3F038D5C2E1}.Release|x86.Build.0 = Release|Any CPU
{C186FEFC-D0B7-4FED-822D-688302B3B8A0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{C186FEFC-D0B7-4FED-822D-688302B3B8A0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{C186FEFC-D0B7-4FED-822D-688302B3B8A0}.Debug|x86.ActiveCfg = Debug|Any CPU
{C186FEFC-D0B7-4FED-822D-688302B3B8A0}.Debug|x86.Build.0 = Debug|Any CPU
{C186FEFC-D0B7-4FED-822D-688302B3B8A0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{C186FEFC-D0B7-4FED-822D-688302B3B8A0}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{C186FEFC-D0B7-4FED-822D-688302B3B8A0}.Release|x86.ActiveCfg = Release|Any CPU
{C186FEFC-D0B7-4FED-822D-688302B3B8A0}.Release|x86.Build.0 = Release|Any CPU
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Debug|Mixed Platforms.Build.0 = Debug|x86
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Debug|x86.ActiveCfg = Debug|x86
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Debug|x86.Build.0 = Debug|x86
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Release|Mixed Platforms.ActiveCfg = Release|x86
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Release|Mixed Platforms.Build.0 = Release|x86
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Release|x86.ActiveCfg = Release|x86
{19FC2A6E-1C39-4DB8-AABF-A234FD6BC3FE}.Release|x86.Build.0 = Release|x86
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Debug|Mixed Platforms.Build.0 = Debug|x86
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Debug|x86.ActiveCfg = Debug|x86
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Debug|x86.Build.0 = Debug|x86
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Release|Mixed Platforms.ActiveCfg = Release|x86
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Release|Mixed Platforms.Build.0 = Release|x86
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Release|x86.ActiveCfg = Release|x86
{31F10CBC-B77C-4B58-8706-E8800FFC1D20}.Release|x86.Build.0 = Release|x86
{FF4C5653-D6B8-4E17-82B1-E23D52F1C49F}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{FF4C5653-D6B8-4E17-82B1-E23D52F1C49F}.Debug|Mixed Platforms.Build.0 = Debug|x86
{FF4C5653-D6B8-4E17-82B1-E23D52F1C49F}.Debug|x86.ActiveCfg = Debug|x86
{FF4C5653-D6B8-4E17-82B1-E23D52F1C49F}.Debug|x86.Build.0 = Debug|x86
{FF4C5653-D6B8-4E17-82B1-E23D52F1C49F}.Release|Mixed Platforms.ActiveCfg = Release|x86
{FF4C5653-D6B8-4E17-82B1-E23D52F1C49F}.Release|Mixed Platforms.Build.0 = Release|x86
{FF4C5653-D6B8-4E17-82B1-E23D52F1C49F}.Release|x86.ActiveCfg = Release|x86
{FF4C5653-D6B8-4E17-82B1-E23D52F1C49F}.Release|x86.Build.0 = Release|x86
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Debug|Mixed Platforms.Build.0 = Debug|x86
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Debug|x86.ActiveCfg = Debug|x86
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Debug|x86.Build.0 = Debug|x86
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Release|Mixed Platforms.ActiveCfg = Release|x86
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Release|Mixed Platforms.Build.0 = Release|x86
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Release|x86.ActiveCfg = Release|x86
{1799B721-B2C1-41DE-9DD2-650A608A1D2B}.Release|x86.Build.0 = Release|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Debug|Mixed Platforms.Build.0 = Debug|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Debug|x86.ActiveCfg = Debug|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Debug|x86.Build.0 = Debug|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Release|Mixed Platforms.ActiveCfg = Release|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Release|Mixed Platforms.Build.0 = Release|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Release|x86.ActiveCfg = Release|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Release|x86.Build.0 = Release|x86
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Debug|Mixed Platforms.Build.0 = Debug|x86
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Debug|x86.ActiveCfg = Debug|x86
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Debug|x86.Build.0 = Debug|x86
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Release|Mixed Platforms.ActiveCfg = Release|x86
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Release|Mixed Platforms.Build.0 = Release|x86
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Release|x86.ActiveCfg = Release|x86
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Release|x86.Build.0 = Release|x86
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FCD3E92F-FEE9-414D-A460-09F7F685B83E}.Release|Any CPU.Build.0 = Release|Any CPU
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Debug|Any CPU.Build.0 = Debug|Any CPU
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Release|Any CPU.ActiveCfg = Release|Any CPU
{168E237E-07C8-4379-8199-9FDEB6B7D402}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Automation;
Expand All @@ -14,6 +15,7 @@ public class AutomationElementFinder

public AutomationElementFinder(AutomationElement automationElement)
{
if (automationElement == null) throw new ArgumentNullException("automationElement");
this.automationElement = automationElement;
}

Expand Down
Loading

0 comments on commit 2718564

Please sign in to comment.