element is not found //HTML Code
<input type="text" maxlength="61" style="width:185px;" value="" name="name73652d80" onblur="fieldTrack(this);
"/>
input type="text" onblur="fieldTrack(this);" onfocus="javascript:checkFullName(document.forms[0].name73652d80.value);" onclick="javascript:UncheckAllOptions();" maxlength="30" style="width:185px;" value="" name="login73652d80"/>
<br/>
// My Selenium code
driver.findElement(By.xpath("//input[contains(@type,'text')][starts-with(@name,'name')]")).sendKeys("Mahesh");
The above code execute successfully but the below code are fail I did some permutation with contains and starts-with method but its not working
driver.findElement(By.xpath("//input[starts-with(@type,'text')][contains(@name,'login')])]")).sendKeys("maheshwagh27");