Пример #1
0
        //Share Templates
        public static void ClickOnShare()
        {
            log4net.Config.XmlConfigurator.Configure();
            ILog logger = LogManager.GetLogger(typeof(MyProjectsPage));

            test = Base.extent.CreateTest("Click on Share");
            try
            {
                Wait.WaitVisible(Share);
                Share.Click();
            }
            catch (Exception e)
            {
                test.Fail("Share Template failed" + e);
                Driver.Quit();
                throw e;
            }
        }