Hi,

As requested by users, I add Tellurium exceptions. Right now, I
defined a base exception class, TelluriumException. There are two
derived exceptions defined, i.e., UiObjectNotFoundException and
NotWidgetObjectException. If you want to catch the exception in your
test code, you can use

getErrorCode()

to get the String representation of the error and use

getErrorMessage()

to get the detailed message.

In the before, DslContext swallowed the errors if the UI object cannot
be found, but now, it will throw UiObjectNotFoundException.

Please see the testUiObjectNotFoundException() test case in
GoogleStartPageJavaTestCase in Tellurium core.

The new jar file will be upload to our user group and Maven repository
will be updated soon.

Thanks,

Jian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to