Tuesday, April 19, 2011

Rational Functional Tester- isEnabled() method on buttons throws exception.




Problem: When using isEnabled method on a button disabled already throws ObjectNotFound exception.


Solution: Use buttonname(null,DISABLED).isEnabled() instead of buttonname().isEnabled()