Automate axis bank website
<p>Hi i want to select saving accounts using the following sequence and code . The script is passing every time but saving accounts in not clicked at all.
1. Open axis bank website. 2. Open Products dropdown 3. Open Accounts section in it 4. Click Savings account 5. Open Current Accounts section on next page</p>

<pre><code>driver.get("http://www.axisbank.com/");
Actions action=new Actions(driver);
WebElement prod=driver.findElement(By.id("product"));
WebElement saving=driver.findElement(By.xpath("html/body/form/div[5]/div[1]/div[3]/div/div[1]/div[2]/div/div/ul[2]/ul/li[1]/a"));
WebElement account=driver.findElement(By.xpath("html/body/form/div[5]/div[1]/div[3]/div/div[1]/div[2]/div/div/ul[1]/li[1]/a"));
action.moveToElement(prod).moveToElement(account).moveToElement(saving).click();
Action composite=action.build();
composite.perform();
</code></pre>