ACPTest.UITesting.ExtendWordAfterPasting C# (CSharp) Method

ExtendWordAfterPasting() private method

private ExtendWordAfterPasting ( ) : void
return void
        public void ExtendWordAfterPasting()
        {
            this.UIMap.LaunchMicrosoftWord();
            UIMap.ExtendWordAfterPasting();
            UIMap.SaveDocument(directory + fileName);
            UIMap.ExitWindow();

            String output = UIMap.readFile(directory + fileName + ".txt");
            String expected = "People flocked to Apple stores across the globe to leave flowers. Groups used the candle";
            File.Delete(directory + fileName + ".txt");

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