예제 #1
0
 public void Setup()
 {
     SelectInputControls();
     var textBox = MainWindow.Get<TextBox>("MultiLineTextBox");
     textBox.Text = "hfdsfjkhsdfjhdsfjhdsfhkjsdfhdsfkjhsdfjkdshfkjds " +
                    "fhsdkfhsdkfhhfdsfjkhsdfjhdsfjhdsfhkjsdfhdsfkjhsdf " +
                    "jkdshfkjdsfhsdkfhsdkfhhfdsfjkhsdfjhdsfjhdsfhkjsdfh " +
                    "dsfkjhsdfjkdshfkjdsfhsdkfhsdkfh";
     hScrollBar = textBox.ScrollBars.Horizontal;
     hScrollBar.SetToMinimum();
     hScrollBar.ScrollRightLarge();
     hScrollBar.ScrollLeftLarge();
 }
예제 #2
0
        public void Setup()
        {
            SelectInputControls();
            var textBox = MainWindow.Get <TextBox>("MultiLineTextBox");

            textBox.Text = "hfdsfjkhsdfjhdsfjhdsfhkjsdfhdsfkjhsdfjkdshfkjds " +
                           "fhsdkfhsdkfhhfdsfjkhsdfjhdsfjhdsfhkjsdfhdsfkjhsdf " +
                           "jkdshfkjdsfhsdkfhsdkfhhfdsfjkhsdfjhdsfjhdsfhkjsdfh " +
                           "dsfkjhsdfjkdshfkjdsfhsdkfhsdkfh";
            hScrollBar = textBox.ScrollBars.Horizontal;
            hScrollBar.SetToMinimum();
            hScrollBar.ScrollRightLarge();
            hScrollBar.ScrollLeftLarge();
        }
예제 #3
0
        protected override void ExecuteTestRun(WindowsFramework framework)
        {
            SelectInputControls();
            var textBox = MainWindow.Get<TextBox>("MultiLineTextBox");
            textBox.Text = "hfdsfjkhsdfjhdsfjhdsfhkjsdfhdsfkjhsdfjkdshfkjds " +
                           "fhsdkfhsdkfhhfdsfjkhsdfjhdsfjhdsfhkjsdfhdsfkjhsdf " +
                           "jkdshfkjdsfhsdkfhsdkfhhfdsfjkhsdfjhdsfjhdsfhkjsdfh " +
                           "dsfkjhsdfjkdshfkjdsfhsdkfhsdkfh";
            hScrollBar = textBox.ScrollBars.Horizontal;
            hScrollBar.SetToMinimum();
            hScrollBar.ScrollRightLarge();
            hScrollBar.ScrollLeftLarge();

            RunTest(ShouldGetHScrollBar);
            RunTest(ShouldScrollRight);
            RunTest(ShouldScrollRightLarge);
            RunTest(ShouldScrollLeft);
        }
예제 #4
0
        protected override void ExecuteTestRun(WindowsFramework framework)
        {
            SelectInputControls();
            var textBox = MainWindow.Get <TextBox>("MultiLineTextBox");

            textBox.Text = "hfdsfjkhsdfjhdsfjhdsfhkjsdfhdsfkjhsdfjkdshfkjds " +
                           "fhsdkfhsdkfhhfdsfjkhsdfjhdsfjhdsfhkjsdfhdsfkjhsdf " +
                           "jkdshfkjdsfhsdkfhsdkfhhfdsfjkhsdfjhdsfjhdsfhkjsdfh " +
                           "dsfkjhsdfjkdshfkjdsfhsdkfhsdkfh";
            hScrollBar = textBox.ScrollBars.Horizontal;
            hScrollBar.SetToMinimum();
            hScrollBar.ScrollRightLarge();
            hScrollBar.ScrollLeftLarge();

            RunTest(ShouldGetHScrollBar);
            RunTest(ShouldScrollRight);
            RunTest(ShouldScrollRightLarge);
            RunTest(ShouldScrollLeft);
        }