public void GoToUsersTab() { wait.WaitForElementToBeClickable(usersTab); usersTab.Click(); wait.WaitforBrowserLoad(); wait.WaitForElementToBeClickable(em.GetElement("//div[@class='ng-scope k-top k-bot']//span[text()='Automation Testing']")); }
public void LoginToVenue(string username, string password) { userNameTxtBox.SendKeys(username); passwordTxtBox.Clear(); passwordTxtBox.SendKeys(password); loginButton.Click(); wait.WaitforBrowserLoad(); wait.WaitForElementToDisplay(em.GetElement("//img[contains(@id,'_VenueDock_C_VenueLogo')]")); }
public IWebElement GenerateDocumentLink(string fileName) { return(em.GetElement("//td//a[text()=\"" + fileName + "\"]")); }