Ejemplo n.º 1
0
        /// <summary>
        /// Finds the first row that meets the <see cref="TableRowAttributeConstraint"/>.
        /// If no match is found, <c>null</c> is returned.
        /// </summary>
        /// <param name="findBy">The constraint used to identify the table cell.</param>
        /// <returns>The searched for <see cref="TableRow"/>; otherwise <c>null</c>.</returns>
        public TableRow FindRow(TableRowAttributeConstraint findBy)
        {
            TableRow row = ElementsSupport.TableRow(DomContainer, findBy, new ElementsInFirstTBody(this));

            if (row.Exists)
            {
                return(row);
            }

            return(null);
        }
 public SelectList SelectList(BaseConstraint findBy)
 {
     return(ElementsSupport.SelectList(DomContainer, findBy, this));
 }
 public RadioButton RadioButton(BaseConstraint findBy)
 {
     return(ElementsSupport.RadioButton(DomContainer, findBy, this));
 }
 public Para Para(BaseConstraint findBy)
 {
     return(ElementsSupport.Para(DomContainer, findBy, this));
 }
 public Link Link(BaseConstraint findBy)
 {
     return(ElementsSupport.Link(DomContainer, findBy, this));
 }
 public TextField TextField(BaseConstraint findBy)
 {
     return(ElementsSupport.TextField(DomContainer, findBy, this));
 }
 public Div Div(BaseConstraint findBy)
 {
     return(ElementsSupport.Div(DomContainer, findBy, this));
 }
 public Element Element(BaseConstraint findBy)
 {
     return(ElementsSupport.Element(DomContainer, findBy, this));
 }
 public Element Element(string tagname, BaseConstraint findBy, params string[] inputtypes)
 {
     return(ElementsSupport.Element(DomContainer, tagname, findBy, this, inputtypes));
 }
 public Area Area(BaseConstraint findBy)
 {
     return(ElementsSupport.Area(DomContainer, findBy, this));
 }
 public CheckBox CheckBox(BaseConstraint findBy)
 {
     return(ElementsSupport.CheckBox(DomContainer, findBy, this));
 }
 /// <summary>
 /// Returns the table row belonging to this table body (not including table rows
 /// from tables nested in this table body).
 /// </summary>
 /// <param name="findBy">The find by.</param>
 /// <returns></returns>
 public override TableRow TableRow(BaseConstraint findBy)
 {
     return(ElementsSupport.TableRow(DomContainer, findBy, new Rows(this)));
 }
Ejemplo n.º 13
0
 public virtual TableBody TableBody(BaseConstraint findBy)
 {
     return(ElementsSupport.TableBody(DomContainer, findBy, this));
 }
 /// <summary>
 /// Returns the <see cref="Options" /> which matches the specified <paramref name="findBy"/>.
 /// </summary>
 /// <param name="findBy">The find by to use.</param>
 /// <returns></returns>
 public Option Option(BaseConstraint findBy)
 {
     return(ElementsSupport.Option(DomContainer, findBy, new ElementCollection(this)));
 }
 public TableCell TableCell(Regex elementId, int index)
 {
     return(ElementsSupport.TableCell(DomContainer, elementId, index, this));
 }
 public FileUpload FileUpload(BaseConstraint findBy)
 {
     return(ElementsSupport.FileUpload(DomContainer, findBy, this));
 }
 public TableRow TableRow(BaseConstraint findBy)
 {
     return(ElementsSupport.TableRow(DomContainer, findBy, this));
 }
 public Form Form(BaseConstraint findBy)
 {
     return(ElementsSupport.Form(DomContainer, findBy, this));
 }
 public Span Span(BaseConstraint findBy)
 {
     return(ElementsSupport.Span(DomContainer, findBy, this));
 }
 public Label Label(BaseConstraint findBy)
 {
     return(ElementsSupport.Label(DomContainer, findBy, this));
 }
 public Image Image(BaseConstraint findBy)
 {
     return(ElementsSupport.Image(DomContainer, findBy, this));
 }
Ejemplo n.º 22
0
 /// <summary>
 /// Returns the table body section belonging to this table (not including table body sections
 /// from tables nested in this table).
 /// </summary>
 /// <param name="findBy">The find by.</param>
 /// <returns></returns>
 public override TableBody TableBody(BaseConstraint findBy)
 {
     return(ElementsSupport.TableBody(DomContainer, findBy, new TBodies(this)));
 }