Ejemplo n.º 1
0
 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']"));
 }
Ejemplo n.º 2
0
 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')]"));
 }
Ejemplo n.º 3
0
 public IWebElement GenerateDocumentLink(string fileName)
 {
     return(em.GetElement("//td//a[text()=\"" + fileName + "\"]"));
 }