This type of error occurs when the environment in which we are trying to use the Click activity does not support Simulate or Send message activity (used by us to click the UI element).
Sometimes, either SimulateClick or the SendWindowMessages may be checked. In both cases, when an exception is thrown we just have to uncheck the appropriate box.