ACPTest.UITesting.RankingByFrequency C# (CSharp) 메소드

RankingByFrequency() 개인적인 메소드

private RankingByFrequency ( ) : void
리턴 void
        public void RankingByFrequency()
        {
            this.UIMap.LaunchMicrosoftWord();
            UIMap.RankingByFrequency();
            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. \r\nIn reality, they knew very little about him. \r\nThat Jobs never revealed much about his politics or his personal life also meant that he could never disappoint fans' preconceived notions.";
            File.Delete(directory + fileName + ".txt");

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