ACPTest.UITesting.PasteSentenceWithQuickSelect C# (CSharp) Method

PasteSentenceWithQuickSelect() private method

private PasteSentenceWithQuickSelect ( ) : void
return void
        public void PasteSentenceWithQuickSelect()
        {
            this.UIMap.LaunchMicrosoftWord();

            UIMap.PasteSentenceWithQuickSelect();
            UIMap.SaveDocument(directory + fileName);
            UIMap.ExitWindow();

            String output = UIMap.readFile(directory + fileName + ".txt");
            String expected = "When it was announced that he'd be stepping down, analysts worried that the company would flounder without him.";
            File.Delete(directory + fileName + ".txt");

            Assert.AreEqual(output.Trim().ToLower(), expected.Trim().ToLower());
        }