william_roe
9 years agoSuper Contributor
[IGNORE] TC Freezes When Pausing Execution When Loop Is Used Which References Keyword Variables
I have a keyword tests which passes a comma delineated value from a spreadsheet variable to a script routine which return an array. This array is stored in a Keyword variable of type object using the LastResult and then the test loops through the array. Whenever pausing test execution using a break point or stepping into the loop TestComplete locks and the TC process must be killed.
Chrome 50
TC11.20
function toArray(val, delin){
var rtn;
try{
if(aqString.Find(val, delin) != -1)
rtn = val.split(delin);
else
rtn = [val];
}
catch (e) {
Log.Error(e.description);
}
return rtn;
}