nikgoodley-ibboost / aost

Automatically exported from code.google.com/p/aost
0 stars 0 forks source link

Tellurium core should throw an exception if the element is not present #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Current Tellurium Core always checks if the isElementPresent
before acts on the element. If the element is not present, it either
does nothing
or returns some default value. This may not be desirable. Since we
have Tellurium
exception in place now, we will convert this to throw exception if the
element is not present. 

Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 5 Mar 2009 at 8:25

GoogleCodeExporter commented 9 years ago
I changed Tellurium Core to throw an ElementNotPresentException
exception if the element is not present and the error message will
show the locator of the element. 

Original comment by John.Jian.Fang@gmail.com on 6 Mar 2009 at 6:44