ACPTest.UITesting.HideAndManualTriggerPasting C# (CSharp) Method

HideAndManualTriggerPasting() private method

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

            String output = UIMap.readFile(directory + fileName + ".txt");
            String expected = "By thinking differently, Jobs placed himself squarely in the mainstream.";
            File.Delete(directory + fileName + ".txt");

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