ContributionsMost RecentMost LikesSolutionsdetermine whether testexecute is running or testexecute Is it possible through JScript to determine whether a test is run via TestExecute vs TestComplete? It would be nice if I can turn some settings off for one and have them turned on for the other. SolvedRe: set StopOnError via script I saw that, but figured I'd ask anyways. Thanks! set StopOnError via script I am trying to write a simple script that runs each time a project starts. It is to loop through the test items and shut off the StopOnError property. Here is the code I have right now that doessn't work (JScript): var i; for(i = 0; i < Project.TestItems.ItemCount; i++) { Project.TestItems.TestItem(i).StopOnError = 0; } This throws and error: "Invalid number of arguments or invalid property assignment" Is this specific task even possible? Solved