/// <summary> /// Selects one or more rows in a table for given column names /// </summary> /// <param name="controlId">The locator</param> /// <param name="columnTexts">The text for consecutive columns</param> /// <returns>True if succeeded</returns> /// <param name="useSitemapId">By default element id will be picked from sitemaps, false to use the control Id directly</param> /// <param name="sourceType">Default mentions the element is of Id type</param> public bool SelectTableRows(string controlId, StringCollection columnTexts, bool useSitemapId = true, FindType sourceType = FindType.ById) { string locator = useSitemapId == true?_siteMapData.GetLocator(controlId, out sourceType) : controlId; return(_client.SelectTableRows(locator, columnTexts, sourceType)); }