private void TestMonochromeMatchingColors(IColorsLabController colorsLab) { Slide actualSlide = PpOperations.SelectSlide(OriginalSlideNo); // Apply monochromeRectOne as Line colorsLab.ClickMonochromeRect(1); Point startPt = colorsLab.GetApplyLineButtonLocation(); Point endPt = colorsLab.GetMainColorRectangleLocation(); PpOperations.SelectShape(TargetShape); DragAndDrop(startPt, endPt); // Apply monochromeRectTwo as Text colorsLab.ClickMonochromeRect(2); startPt = colorsLab.GetApplyTextButtonLocation(); endPt = colorsLab.GetMainColorRectangleLocation(); PpOperations.SelectShape(TargetShape); DragAndDrop(startPt, endPt); // Apply monochromeRectSix as Fill colorsLab.ClickMonochromeRect(6); startPt = colorsLab.GetApplyFillButtonLocation(); endPt = colorsLab.GetMainColorRectangleLocation(); PpOperations.SelectShape(TargetShape); DragAndDrop(startPt, endPt); Slide expSlide = PpOperations.SelectSlide(MonochromeColorChangeSlideNo); SlideUtil.IsSameLooking(expSlide, actualSlide); }