Thread.Sleep or Wait or FluentWait

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

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

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

www.CodeNirvana.in

Powered by Blogger.

Translate

Total Pageviews

Copyright © 2025 T R I A G E D T E S T E R