示例#1
0
        private void TestBrightnessAndSaturationSlider(IColorsLabController colorsLab)
        {
            Slide actualSlide = PpOperations.SelectSlide(OriginalSlideNo);

            colorsLab.SlideBrightnessSlider(120);
            colorsLab.SlideSaturationSlider(240);

            Point startPt = colorsLab.GetApplyLineButtonLocation();
            Point endPt   = colorsLab.GetMainColorRectangleLocation();

            PpOperations.SelectShape(TargetShape);
            DragAndDrop(startPt, endPt);

            Slide expSlide = PpOperations.SelectSlide(BrightnessAndSaturationChangeSlideNo);

            SlideUtil.IsSameLooking(expSlide, actualSlide);
        }