selenium webdriver -xpath generation
Xpaths are slow in IE because IE does not have native Xpath engine. You should instead use CSS Selector for better performance. As for your case, you can try below css selector which finds an input for which the id ends with txtAddress1
E[foo$="bar"] an E element whose "foo" attribute value ends exactly with the string "bar"
WebElement element = driver.findElement(By.cssSelector("input[id$='txtAddress1']"));