public void ShareTemplateExternally() { try { test = extent.CreateTest("_6826_ShareSaveDesignFromWorkCenter"); OpenBrowser(Browser.Chrome); Navigation.GoToURL("http://ii4.dev.brandmuscle.net/"); LoginPage.LoginToApplication("*****@*****.**", "go2web"); HomePage.VerifyHomePage(); MyProjectsPage.VerifyProjectsPage(); MyProjectsPage.ClickOnShare(); ShareTemplatePage.ShareTemplate("*****@*****.**"); Navigation.GoToURL("https://www.gmail.com"); Wait.WaitForPageToLoad(); LoginGmailPageMail.LoginToGmail("*****@*****.**", "brandmuscle"); LoginGmailPageMail.VerifyMailBySender(); LoginGmailPageMail.ClickOnLink(); Driver.Quit(); } catch (Exception e) { test.Fail("_6826_ShareSaveDesignFromWorkCenter" + e); } }