Proxy exceptions
Functional Tester has a set of predefined exceptions that covers wide ranges of errors that are usually expected while functional testing. These exceptions are available for both the Java and .NET proxy development frameworks.
For best results, use the predefined exceptions while developing your ProxyObjects. The available exceptions and their hierarchies are as follows.
Table 1.
Exceptions AmbiguousRecognitionException ApplicationFrameworkException BadArgumentException CookieNotFoundException CoordinateOffScreenException CoordinateOnWrongObjectException CoordinateOnWrongSubitemException DatapoolException InvalidSignatureException InvalidSubitemException InvalidTestDataTypeException InvalidTestObjectException InvalidWindowHandleException InvocationTargetException MethodNotFoundException NestedException NoSuchRegistryKeyException NotSupportedOnUnixException NotYetAbleToPerformActionException ObjectIsDisposedException ObjectNotFoundException ObjectNotInMapException PropertyAccessException PropertyNotFoundException RationalTestException RationalTestRemoteException RecorderException StringNotInCodePageException SubitemNotFoundException TargetGoneException TestObjectMethodEventException UnableToAccomplishAllHooksException UnableToDeleteCookieException UnableToHookException UnableToPerformActionException UnregisteredObjectException UnsupportedActionException UnsupportedAnchorException UnsupportedMethodException UnsupportedSubitemException WindowActivateFailedException WindowHandleNotFoundException WrappedException