Exemplo n.º 1
0
 public void addWindow(Window w)
 {
     if (topWindow != null)
     {
         var temp = new Window[backGroundWindows.Length + 1];
         backGroundWindows.CopyTo(temp, 0);
         temp[backGroundWindows.Length] = w;
         backGroundWindows = temp;
     }
     topWindow = w;
 }
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(ConfigHandler.GetValue("EventAggregationApp"));
            window = app.GetWindow("Shell", Core.Factory.InitializeOption.NoCache);

            //Stop the diagnosis.
            StateDiagnosis.Instance.StopDiagnosis(this);
        }
Exemplo n.º 3
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 CreateCustomerStep2Screen(Window window, Application application)
 {
     this.window = window;
     this.application = application;
 }
Exemplo n.º 5
0
 public WindowRenderer(Window w, WindowManager wm, int bg = 0)
 {
     window = w;
     windowManager = wm;
     bgColour = bg;
 }
Exemplo n.º 6
0
 public DashboardScreen(Window window, Application application)
 {
     this.window = window;
     this.application = application;
 }
 private void FillStep1(Window step1, string name, string age)
 {
     step1.Get<TextBox>("nameTextBox").BulkText = name;
     step1.Get<TextBox>("ageTextBox").BulkText = age;
     step1.Get<Button>("nextButton").Click();
 }
 public void SetUp()
 {
     application = Application.Launch(@"..\..\..\SampleApplication\bin\debug\SampleApplication.exe");
     window = application.GetWindow("Dashboard", InitializeOption.NoCache);
 }
 public SearchMovieScreen(Window window, Application application)
 {
     this.window = window;
     this.application = application;
 }
Exemplo n.º 10
0
 public SearchCustomerScreen(Window window, Application application)
 {
     this.window = window;
     this.application = application;
 }