We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hi stampy986,
It makes sense to consult with the TestComplete Support Team. Could you please contact them here? https://support.smartbear.com/message/?prod=testcomplete
Unfortunately it the same machine, I am just kicking off test execute to run it.
Double check something. In your test items, right click and select "Field Chooser". Then drag in the field for "On exception" and see what the setting for that is.
I didnt notice that property before now and it was set to stop on error. I have changed it to continue, but it did not help. My application still closes when test execute tries to launch it. It still launches correct through test complete
What are you getting in the log from the TestExecute runs? Is there anything present in the log output? Generally speaking, there should be no difference running on TE versus TC so I'm wondering if you're running into some other problem and not this one.
I agree, I think TC and TE should be the same, but I cant see what else it could be.
I created a new blank project to simplify everything.
First test is TC:
I set all the project properties to continue running:
TestedApp I launch with script:
function RunWellExplorer()
{
//Log.Enabled=false
Delay(3000)
TestedApps.WellExplorer.Run()
Delay(30000)
//Log.Enabled=true
}
Run TC:
After about 20 seconds my app launches alongside TC as seen in image below. It shows the error which is expected since I have logging turned on.
Close TC and open TE: My app briefly try to open after 20 seconds it closes. Same Error as TC by no app running.
In the event logger of windows, the errors are the same except for the case, but that shouldn't matter.