//Changes in text alignment are too minute for CompareSlide to detect so we need to check them manually
        protected void CheckTextOrientation(string shape, int actualShapesSlideNo, int expectedShapesSlideNo)
        {
            Microsoft.Office.Interop.PowerPoint.Shape actualShape   = GetShape(actualShapesSlideNo, shape);
            Microsoft.Office.Interop.PowerPoint.Shape expectedShape = GetShape(expectedShapesSlideNo, shape);

            Microsoft.Office.Interop.PowerPoint.TextFrame2 actualTextFrame   = actualShape.TextFrame2;
            Microsoft.Office.Interop.PowerPoint.TextFrame2 expectedTextFrame = expectedShape.TextFrame2;

            Assert.IsTrue(actualTextFrame.Orientation == expectedTextFrame.Orientation,
                          "Text orientation does not match expected text orientation." +
                          "Expected orientation:{0}. Actual orientation:{1}.",
                          expectedTextFrame.Orientation, actualTextFrame.Orientation);
        }
        //Changes in text alignment are too minute for CompareSlide to detect so we need to check them manually
        protected void CheckTextAlignment(string shape, int actualShapesSlideNo, int expectedShapesSlideNo)
        {
            Microsoft.Office.Interop.PowerPoint.Shape actualShape   = GetShape(actualShapesSlideNo, shape);
            Microsoft.Office.Interop.PowerPoint.Shape expectedShape = GetShape(expectedShapesSlideNo, shape);

            Microsoft.Office.Interop.PowerPoint.TextFrame2 actualTextFrame   = actualShape.TextFrame2;
            Microsoft.Office.Interop.PowerPoint.TextFrame2 expectedTextFrame = expectedShape.TextFrame2;

            Assert.IsTrue(actualTextFrame.TextRange.ParagraphFormat.Alignment == expectedTextFrame.TextRange.ParagraphFormat.Alignment &&
                          actualTextFrame.HorizontalAnchor == expectedTextFrame.HorizontalAnchor &&
                          actualTextFrame.VerticalAnchor == expectedTextFrame.VerticalAnchor,
                          "Text alignment does not match expected text alignment." +
                          "Expected paragraphAlignment: {0}, horizontalAlignment:{1}, verticalAlignment: {2}."
                          + "Actual paragraphAlignment: {3}, horizontalAlignment:{4}, verticalAlignment:{5}.",
                          expectedTextFrame.TextRange.ParagraphFormat.Alignment,
                          expectedTextFrame.HorizontalAnchor, expectedTextFrame.VerticalAnchor,
                          actualTextFrame.TextRange.ParagraphFormat.Alignment,
                          actualTextFrame.HorizontalAnchor, actualTextFrame.VerticalAnchor);
        }