We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f74b47 commit 2bd4795Copy full SHA for 2bd4795
src/TestStack.White.UITests/Scenarios/Win32Tests.cs
@@ -1,4 +1,5 @@
1
using System.Diagnostics;
2
+using System.Linq;
3
using TestStack.White.Factory;
4
using TestStack.White.UIItems;
5
using TestStack.White.UIItems.Finders;
@@ -36,7 +37,7 @@ public void NotepadTests()
36
37
public void InternetExplorerTests()
38
{
39
using (var app = Application.Launch(IExplorer))
- using (var window = app.GetWindow("New tab - Internet Explorer"))
40
+ using (var window = app.GetWindows().Single())
41
42
var button = window.Get<Button>(SearchCriteria.ByAutomationId("Item 3"));
43
//check if we can get a win32 tooltip
0 commit comments