private void SaveShapesToShapesLabWithAddShapesButton(IShapesLabController shapesLab, int shapesSlideNum, int testSlideNum) { PpOperations.SelectSlide(shapesSlideNum); PpOperations.SelectShapesByPrefix("selectMeNow"); shapesLab.ClickAddShapeButton(); Microsoft.Office.Interop.PowerPoint.Slide actualSlide = PpOperations.SelectSlide(testSlideNum); AddShapesToSlideFromShapesLab(shapesLab, "selectMeNow1", "Group selectMeNow1"); }
private void TestSaveShapesToShapesLabWithAddShapesButton(IShapesLabController shapesLab) { PpOperations.SelectSlide(6); PpOperations.SelectShapesByPrefix("selectMeNow"); shapesLab.ClickAddShapeButton(); Microsoft.Office.Interop.PowerPoint.Slide actualSlide = PpOperations.SelectSlide(7); AddShapesToSlideFromShapesLab(shapesLab, "selectMeNow1", "Group selectMeNow1"); Microsoft.Office.Interop.PowerPoint.Slide expSlide = PpOperations.SelectSlide(8); SlideUtil.IsSameLooking(expSlide, actualSlide); SlideUtil.IsSameAnimations(expSlide, actualSlide); }