Exemple #1
0
 public void SendingTextSteps()
 {
     GlobalDefinitions.ExcelLib.PopulateInCollection(Base.ExcelPath, "Chat");
     SelectUser1.Click();
     TextBox.SendKeys(GlobalDefinitions.ExcelLib.ReadData(2, "TextMessage"));
     SendTab.Click();
 }
Exemple #2
0
        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);
        }