Exemplo n.º 1
0
        public void TestInitialize()
        {
            SetupWhiteConfigParameters();

            // Instantiate and initiate the diagnosis process. Diagnosis steps are included
            // to identify the successful launch of the application window without any unexpected
            // exceptions.
            StateDiagnosis.Instance.StartDiagnosis(this);

            app = Application.Launch(ConfigHandler.GetValue("EventAggregationApp"));
            window = app.GetWindow("Shell", Core.Factory.InitializeOption.NoCache);

            //Stop the diagnosis.
            StateDiagnosis.Instance.StopDiagnosis(this);
        }
Exemplo n.º 2
0
        public void TestInitialize()
        {
            SetupWhiteConfigParameters();

            // Instantiate and initiate the diagnosis process. Diagnosis steps are included
            // to identify the successful launch of the application window without any unexpected
            // exceptions.
            StateDiagnosis.Instance.StartDiagnosis(this);

            app = Application.Launch(GetApplicationToLaunch());
            window = app.GetWindow(GetApplicationWindowName(), Core.Factory.InitializeOption.NoCache);
            testDataInfrastructure = new TestDataInfrastructure();

            //Stop the diagnosis.
            StateDiagnosis.Instance.StopDiagnosis(this);
        }
 public void SetUp()
 {
     application = Application.Launch(@"..\..\..\SampleApplication\bin\debug\SampleApplication.exe");
     window = application.GetWindow("Dashboard", InitializeOption.NoCache);
 }