tobello
12 years agoContributor
Why 'aqSring is null or not an objet
Hi there,
Plz, I need help for this one:
50% of the times I run my testprojet, my JS utility function (a kind of StringBuilder) give this exception and projet cannot be run afterward. I alwas have to restart TC in order to rerun;
Any hint on why?
function BuildATextWithSeparator(sep, str1, str2, str3, str4)
{
if(str4 != null && str3 != null)
return aqString.Quote(str1 + sep + str2 + sep + str3 + sep + str4);
else if(str3 != null)
return aqString.Quote(str1 + sep + str2 + sep + str3);
else
return aqString.Quote(str1 + sep + str2);
}
Plz, I need help for this one:
50% of the times I run my testprojet, my JS utility function (a kind of StringBuilder) give this exception and projet cannot be run afterward. I alwas have to restart TC in order to rerun;
Any hint on why?
function BuildATextWithSeparator(sep, str1, str2, str3, str4)
{
if(str4 != null && str3 != null)
return aqString.Quote(str1 + sep + str2 + sep + str3 + sep + str4);
else if(str3 != null)
return aqString.Quote(str1 + sep + str2 + sep + str3);
else
return aqString.Quote(str1 + sep + str2);
}