Instead of sleeppublic void clickOntaskType() { getDriver().findElement(By.id("tasktypelink")).click(); sleep(500);}Prefer this fluentWaitpublic void clickOntaskType() { getDriver().findElement(By.id("tasktypelink")).click(); SeleniumUtil.fluentWait(By.name("handle"),...
Locating UI Elements–which to use
Filed Under:
Automation,
Web Testing
Liquidator

To locate an element we can usethe element’s ID the element’s name attribute an XPath statement by a links text document object model (DOM) In practice, you will discoverid and name are often the easiest and sure way.xpath are often brittle. for example...
Coded UI with Action Based Test Automation
Filed Under:
Automation,
Framework,
Model
Liquidator

A good video which gives a great overview of using Coded UI along with Action based test automation....