Example #1
0
        public void MSUnitTestJournals()
        {
            string  key     = (string)TestContext.DataRow["Data"];
            Journal journal = dictionary[key];

            page.NavigateHere($"{journal.Name}/");
            foreach (Category cat in journal.category)
            {
                page.SetNaviLocator(cat.Name);
                if (cat.elements != null)
                {
                    page.CheckNavi();
                }
                foreach (Element e in cat.elements)
                {
                    page.SetMenuLocator(e.Name);
                }
            }
        }