Example #1
0
        public void Step_10_GetOnlineScreen()
        {
            WaitHelper.Wait(TimeSpan.FromMinutes(1).Milliseconds);
            OnlineScreen online = new OnlineScreen(dlt.LoadTest);

            online.WaitForTestFinished();
            online.CloseButtonClick();

            StartTab startTab = new StartTab();
        }
Example #2
0
        public void Complex([Range(0, 9)] int Itearation)
        {
            startTab = new StartTab();
            dlt      = startTab.ClickLastModifiedTest(testName);

            dlt.Workload.Run();
            StartRunDialog start = new StartRunDialog();

            start.StartRunTestIfAvailable();
            OnlineScreen online = new OnlineScreen(new LoadTest(testName));

            online.WaitForTestFinished();
            online.CloseButtonClick();
        }
        private void StopFlow()
        {
            _audioManage.StartGame.Stop();
            _audioManage.BackGround.StopLoop();
            _audioManage.EndGame.MyPlay();

            _dispatcherTimer.Stop();
            MessageBox.Show("Flow is over! Your score: " + Score);

            StartTab.Width = 100;
            FlowTab.Width  = 0;

            _totalSeconds = 300;
            StartTab.Focus();
        }
Example #4
0
 public void Step_01_NavigateToStartTab()
 {
     startTab = new StartTab();
     Assert.True(startTab.ViewOpened);
 }
 public void Step_26_NavigateToStartTab()
 {
     StartTab startTab = new StartTab();
 }