Esempio n. 1
0
        public void Open()
        {
            string dateFormatted     = DateOps.DateToPolishFormatInString(competitionDate);
            string expectedString    = competitionName + " " + dateFormatted + " " + competitionDescription;
            string xpathToRowPostion = "]/td[4]/a[2]";

            TableOps.FindAndOpenRowInTable(expectedString, xpathToRowPostion);
        }
Esempio n. 2
0
        public void Open()
        {
            string dateFormatted     = DateOps.DateToPolishFormatInString(date);
            string expectedString    = trainingName + " " + dateFormatted;
            string xpathToRowPostion = "]/td[3]/a[2]";

            TableOps.FindAndOpenRowInTable(expectedString, xpathToRowPostion);
        }
Esempio n. 3
0
        public void Delete()
        {
            string dateFormatted     = DateOps.DateToPolishFormatInString(competitionDate);
            string expectedString    = competitionName + " " + dateFormatted + " " + competitionDescription;
            string xpathToRowPostion = "]/td[4]/a[3]";

            TableOps.FindAndOpenRowInTable(expectedString, xpathToRowPostion);
            var deleteButton = Driver.Instance.FindElement(By.XPath("//form/div/input"));

            deleteButton.Click();
        }