public GetSpecificCustomerGridRow ( string strText ) : HtmlControl | ||
strText | string | The string text. |
return | HtmlControl |
public HtmlControl GetSpecificCustomerGridRow(string strText)
{
HtmlControl ctrl = GetHtmlControl<HtmlControl>(guiMap, "CustomerTabGridTableRows");
ICollection<Element> ele = ctrl.ChildNodes;
foreach (Element e in ele)
{
if (e.InnerText.Contains(strText))
{
return (new HtmlControl(e));
}
}
return null;
}