I am new to Selenium. I just want to send keys to a username text box and send a tab key both at a time so that text box can check for availability of username.
Try this, it will surely work:
driver.findElement(By.xpath("//label[text()='User Name:']/following::div/input")).sendKeys("UserName" + Keys.TAB);