public void selectcolco(string colconame) { string xpath1 = null; string xpath2 = null; string xpath3 = null; string xpathgenerated = null; xpath1 = ""; xpath2 = colconame; xpath3 = ""; xpathgenerated = xpath1 + xpath2 + xpath3; IWebElement selectcolco = GenericHelper.FindElementWithXpath(xpathgenerated); GenericHelper.JavaScriptClick(selectcolco); }