Thank you, Alexei, but this is not really that what I am looking for.
Imagin:
the project-suite contains a lot of tests.
some of these tests are using a script-function.
if this function fails it calls the raise-method (exception) to stop the current test.
tc runs then the next test. (stop on error = "none", stop on exception = "none")
function CheckCompareEqu(const Value1, Value2 : string) : Boolean;
begin
if Value1 <> Value2 then
raise('Value1 "'+Value1+'" not equal to Value2 "'+Value2+'"!');
end;
I would prefere to call another method but "raise",
because I think that "raise" should be called for fundamental errors like "file not found", "connection error occured" e.g.
this would be an essential error "of missing base informationen to test".
If all necessary Information are present and the test fails then, one shouldn't call raise, one should call "this test failed -> event "stop on error" will be called)
Before I implemented my function "CheckCompareEqu" I used in my KeywordTest-test
the "if"-Statement. I checked both strings and called "stop exection", but this stops my entier testsuite.
I hope my english is good enough that you can duplicat and understand my idea.