I have finally succeed to isolate the function where the error came from. The problem is in using a CASE with the result as numerical interval (e.g. 12..25 in DelphiScript). TC 9.20 does recognize this syntax, but last TC release doesn't. In other words, the below function using DelphiScript syntax, won't work within last TC release, but will do within TC 9.20 and perhaps within other releases in between.
function CaseExemple: OleVariant; var i:integer; begin for i:=0 to 200 do begin case i of 0..100: begin if i=50 then Log.Message('This figure, '+IntToStr(i)+ ', is within 0-100 interval'); end; 101..200: begin if i=150 then Log.Message('This figure, '+IntToStr(i)+ ', is within 101-200 interval'); end; else begin
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.