Forum Discussion

MarcusBe's avatar
MarcusBe
Occasional Contributor
14 days ago

Unable to continue because test complete says the application is crashing

Hello! So when i run the test automation with final builder, one of the application i try to test is getting the error message in the log "The alarmstatus_wpf exe process crashed." 

The weird part is that it is always OK if i manually start the test execution with test complete and not final builder.

I cannot read the dump file that is created and i cannot add it to attachments here apparently. 

1 Reply

  • Hassan_Ballan's avatar
    Hassan_Ballan
    Icon for Champion Level 3 rankChampion Level 3

    Hi there,

    The issue you're describing—where alarmstatus_wpf.exe crashes only when run via FinalBuilder but works fine when launched manually through TestComplete—could be related to differences in the execution environment.

    Some possible root causes to consider:

    • User permissions or context: FinalBuilder might be running under a different user account or as a service, which could restrict UI access or permissions required by your WPF app.
    • Non-interactive desktop session: WPF apps often require an interactive session. If FinalBuilder is running in a headless or non-interactive session (e.g., as part of CI/CD), this could cause the app to crash.
    • Missing environment variables or dependencies: The environment under which FinalBuilder runs might be missing things available in your manual session—like specific PATH values or user-level configuration files.
    • Different test configs or parameters: Double-check if FinalBuilder is triggering the same test configuration or scripts as your manual run.

    Suggestions:

    • Try running FinalBuilder manually in the same session as your manual TestComplete test to isolate whether it’s a session/context issue.
    • Compare environment variables and user permissions between both execution paths.
    • Make sure TestComplete (or TestExecute) is being run in an interactive user session when triggered by FinalBuilder.

    🤖 AI-assisted response
    💬 Found the answer helpful? Give it a Kudos by clicking Like!
    ✅ Got your issue resolved? Click Mark as Solution so others can find it quickly.