7
Views
2
Comments
Solved
I want to raise an AllException for UT testing of the search screen.
Question
Application Type
Reactive

I want to raise an AllException for unit testing the search screen.

I want to do this without modifying the logic in Service Studio.

There is also a separate CommunicationException.
How can do it

UserImage.jpg
Dilmi Amarasingha
Solution

I debugged and changed the information in DevTool and was able to get AllException to occur.

2026-01-28 16-57-48
Mihai Melencu
Champion

Hi,

Can you clarify what you’re trying to achieve and what this test involves?


According to the documentation:

Communication Exceptions are only raised by OutSystems — you can't raise these exceptions in your logic. 

UserImage.jpg
Dilmi Amarasingha
Solution

I debugged and changed the information in DevTool and was able to get AllException to occur.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.