private void TestAnalogousAndComplementaryColors(IColorsLabController colorsLab) { Slide actualSlide = PpOperations.SelectSlide(OriginalSlideNo); // Eyedrop the font color shape Shape shape = PpOperations.SelectShape(FontColorShape)[1]; Point startPt = colorsLab.GetEyeDropperButtonLocation(); Point endPt = GetShapeCenterPoint(shape); DragAndDrop(startPt, endPt); // Apply analagousRectOne as Text colorsLab.ClickAnalogousRect(1); startPt = colorsLab.GetApplyTextButtonLocation(); endPt = colorsLab.GetMainColorRectangleLocation(); PpOperations.SelectShape(TargetShape); DragAndDrop(startPt, endPt); // Apply complementaryRectThree as Line colorsLab.ClickComplementaryRect(3); startPt = colorsLab.GetApplyLineButtonLocation(); endPt = colorsLab.GetMainColorRectangleLocation(); PpOperations.SelectShape(TargetShape); DragAndDrop(startPt, endPt); Slide expSlide = PpOperations.SelectSlide(AnalogousAndComplementaryChangeSlideNo); SlideUtil.IsSameLooking(expSlide, actualSlide); }