Inheritance: RowColumn
Esempio n. 1
0
        public IList <ICell> CellsMatch(string regex, Column column)
        {
            var columnLine = Column(column);

            return(columnLine.Where(v => v.Value.Value.Matches(regex)).Select(v => v.Value).ToList());
        }
Esempio n. 2
0
        public ICell Cell(string value, Column column)
        {
            var colIndex = column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num);

            return(Columns.GetColumn(colIndex).FirstOrDefault(pair => pair.Value.Value.Equals(value)).Value);
        }
Esempio n. 3
0
 public bool WaitValue(string value, Column column)
 {
     return(Timer.Wait(() => Row(value, column) != null));
 }
Esempio n. 4
0
 public ICell Cell(IWebElement webElement, Column column, Row row)
 {
     return(AddCell(webElement, column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num), row.Get(name => Rows.Headers.IndexOf(name) + 1, num => num), column.Get(name => name, num => ""), row.Get(name => name, num => "")));
 }
Esempio n. 5
0
 private Dictionary <string, ICell> Column(Column column)
 {
     return(column.Get(Column, Column));
 }
Esempio n. 6
0
        public Dictionary <string, ICell> Row(string value, Column column)
        {
            var rowCell = Cell(value, column);

            return(rowCell != null?Rows.GetRow(rowCell.RowNum) : null);
        }