ACPTest.UITesting.PasteSentence C# (CSharp) Method

PasteSentence() private method

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

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

            String output = UIMap.readFile(directory + fileName + ".txt");
            String expected = "Jobs was born in San Francisco on February 24, 1955.";
            File.Delete(directory + fileName + ".txt");

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