public void SendingTextSteps() { GlobalDefinitions.ExcelLib.PopulateInCollection(Base.ExcelPath, "Chat"); SelectUser1.Click(); TextBox.SendKeys(GlobalDefinitions.ExcelLib.ReadData(2, "TextMessage")); SendTab.Click(); }
public void SendingTextSteps() { GlobalDefinitions.ExcelLib.PopulateInCollection(Base.ExcelPath, "Chat"); SelectUser1.Click(); GlobalDefinitions.wait(50); TextBox.SendKeys(GlobalDefinitions.ExcelLib.ReadData(2, "TextMessage")); SendTab.Click(); GlobalDefinitions.WaitForElement(GlobalDefinitions.driver, By.XPath("//div[@class='message-container']//span[contains(text(), 'Text message')]"), 10); }