Unable to find(attach) the Visual studio Window - Start Page - Microsoft Visual Studio using White

Jun 14, 2012 at 7:36 AM

Hi,

 please let me know how to attach the "Start Page - Microsoft Visual Studio" in White   automation process at the earliest and i tried with below code.

Public void TestMethod1()
{

application = Application.Launch(path);
//VSMainWindow = application.GetWindow("Start Page - Microsoft Visual Studio " , AutomationId:"VisualStudioMainWindow");
VSMainWindow = application.GetWindow (SearchCriteria.ByText("Start Page - Microsoft Visual Studio "),InitializeOption.NoCache);

 Assert.IsNotNull(VSMainWindow);

}

Jun 14, 2012 at 8:01 AM

Hi,

 It's working now, but am not able to get submenus

Your help is much appreciated.

Oct 15, 2012 at 12:43 PM

Hi

Please let me know how we can attach a Window using White.