I am doing automation testing using java with Selenium WebDriver. I want to click on tabs. I would like to check tab functionality.
I can use Tab key to get the button as below:
WebElement webElement = driver.findElementByXPath("");
webElement.sendKeys(Keys.TAB);
webElement.sendKeys(Keys.ENTER);
I have a form with multiple fields I want to track upon pressing key tab key is my control moving to next field successfully or not. Also I want to check upon which my control is below is my form 
But how do I click one by one tab. Basically I need to achieve press Tab key and then press Enter key to click the button.
I learning selenium. Please help me. Thanks in advance.