public void WhenICollapseTheTable()
        {
            var rows = d.Find(TablePage.StocksTable).FindElements(TablePage.StocksTableRows);

            beforeCount = rows.Count();
            d.Click(TablePage.StocksHeader);
        }
Beispiel #2
0
 public void WhenISelect(string name)
 {
     now = DateTime.Now;
     d.Select(selectByEx, name);
     Assert.AreEqual(name, d.Find(selectByEx).Value());
     time = DateTime.Now - now;
 }
Beispiel #3
0
        private static object GetMemberValueByEx(object page, MemberWrapper member)
        {
            ByEx byEx = (ByEx)GetMemberValue(page, member);

            if (byEx.Input == Input.Select)
            {
                return(_driver.FindSelect(byEx).Value());
            }
            else
            {
                return(_driver.Find(byEx).Value());
            }
        }