Forum Discussion

shahid24's avatar
shahid24
Contributor
22 hours ago

Prevent TestExecute dialog to Confirm Save in silent mode

When a particular project is run via silent mode, if the tests completes successfully or if it fails, Test Execute in both UI mode and silent mode will ask to save changes. In the silent log the below entry is shown ".

05/03/2026 07:16:40:411 Tried to open the Save dialog. The default value: YES.

When all test Pass, still the Jenkins job is s Fails as TE returns an exit code of -1/

This is only the case for a specific project, other projects don't have this issue. 

6 Replies

  •  

    Yes, this is exactly what is happening, and I am trying to see what is causing the project's Qualification.mds and Qualification.mds.tcLS files to be edited. At one point the ACEAutomation‑SuiteLC\Qualification project was an imported project in the Platform Smoke Test project suite, but now it lives in the same directory as ACE Platform Smoke Test.

    I dont see any options for auto update of name mapping and i have some persistent variables in that project 

    I can see that when clicking the Save button, the following files are modified.

    2026-03-09 17:23:59.181 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Qualification.mds

    2026-03-09 17:23:59.185 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Qualification.mds

    2026-03-09 17:23:59.188 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Qualification.mds.tcLS

    2026-03-09 17:23:59.191 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Qualification.mds.tcLS

    2026-03-09 17:23:59.194 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Qualification.mds.tcLS

    2026-03-09 17:24:00.202 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Qualification.mds

    2026-03-09 17:24:00.206 DELETED [????] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Run Installer\Events\{68810D21-B7AF-498D-B979-159D122CD3E9}\General_Events0.tcax.tlb

    2026-03-09 17:24:00.209 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Run Installer\Events\{68810D21-B7AF-498D-B979-159D122CD3E9}

    2026-03-09 17:24:00.212 DELETED [????] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Run Installer\Events\{68810D21-B7AF-498D-B979-159D122CD3E9}

    2026-03-09 17:24:01.228 MODIFIED [DIR ] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Run Installer\Events

    2026-03-09 17:24:01.232 DELETED [????] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Uninstall_Cleanup\Events\{C7C90EFB-407C-4C49-B3C4-AE69F5275F10}\EventControl10.tcax.tlb

    2026-03-09 17:24:01.235 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Uninstall_Cleanup\Events\{C7C90EFB-407C-4C49-B3C4-AE69F5275F10}

    2026-03-09 17:24:01.237 DELETED [????] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Uninstall_Cleanup\Events\{C7C90EFB-407C-4C49-B3C4-AE69F5275F10}

    2026-03-09 17:24:02.244 MODIFIED [DIR ] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Uninstall_Cleanup\Events

    2026-03-09 17:24:02.249 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Log\Qualification.mds.tcLogs

    2026-03-09 17:24:02.252 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Log\Qualification.mds.tcLogs

    2026-03-09 17:24:02.255 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\Log\Qualification.mds.tcLogs

    2026-03-09 17:24:03.269 DELETED [????] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Events\{85223017-C1D7-4BA3-8120-7C89721D8E41}\GeneralEvents0.tcax.tlb

    2026-03-09 17:24:03.273 MODIFIED [FILE] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Events\{85223017-C1D7-4BA3-8120-7C89721D8E41}

    2026-03-09 17:24:03.275 DELETED [????] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Events\{85223017-C1D7-4BA3-8120-7C89721D8E41}

    2026-03-09 17:24:03.278 MODIFIED [DIR ] E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACEAutomation-SuiteLC\Events

     

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

      To narrow it down, compare these files from before and after run. 

      Change Persistent Variables to Temporary Variables (This may affect your project design).

      Check this configuration Update Name Mapping During Test Run

      If this resolves your scenario, marking it as the solution helps future readers find it quickly.

  • This usually happens when something in the project gets modified during the test run. When TestExecute exits and detects unsaved changes, it tries to open the “Save changes” dialog. In silent mode the dialog cannot be shown, so the log records “Tried to open the Save dialog. The default value: YES”, but the attempt still causes TestExecute to return exit code -1, which makes Jenkins mark the build as failed.

    Since you mentioned it only happens with one project, it’s very likely that something in that project is being updated at runtime. Common causes are Name Mapping auto-updates, scripts changing project variables, or any code/extensions that modify project configuration files.

    A simple way to confirm is to run the project once in UI mode and close TestExecute/TestComplete afterward. If it asks you to save the project or suite, then something was modified during execution. You can also compare the project files before and after a run to see which file changed.

    Most often the fix is disabling automatic Name Mapping updates or ensuring the tests do not persist changes to project variables or project configuration files during execution. Once the project finishes a run without being marked as modified, the save prompt will not be triggered and the exit code should return to normal.

    If this resolves your scenario, marking it as the solution helps future readers find it quickly.

    • shahid24's avatar
      shahid24
      Contributor
      00:19:58 [TestComplete] Selected TestComplete/TestExecute installation:
      00:19:58 	Type: TE, Version: 15.80.1.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe"
      00:19:58 [TestComplete] [WARNING] The node is connected via Java Web Start (JNLP). In this mode, the "Run interactive user session" property of the TestComplete Test step is ignored. TestComplete (or TestExecute) will work in the current user session.
      00:19:58 [TestComplete] Launching the test runner.
      00:19:58 $ '"C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\SessionCreator.exe"' ExecuteProcess '/c:""C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe"" ""E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\ACE 3 Smoke Tests.pjs"" /run /accesskey:******** /SilentMode /ForceConversion /ns /exit ""/ExportLog:E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\1772756398560.tclogx"" ""/ExportLog:E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\1772756398560.htmlx"" ""/ErrorLog:E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\1772756398560.txt"" ""/ExportLog:E:\jenkins\workspace\Ace\Test Complete Smoke Tests\ACE Platform Smoke Test\1772756398560.mht"" "/project:Qualification" /DoNotShowLog /JenkinsTCPluginVersion:2.9.2'
      00:55:25 [TestComplete] Test runner exit code: -1.
      00:55:26 [TestComplete] [WARNING] Errors occurred during the test execution.
      00:55:26 [TestComplete] Marking the build as UNSTABLE.
      00:55:26 [TestComplete] The test execution finished (ACE 3 Smoke Tests/Qualification).
      00:55:26 Build step 'TestComplete Test' changed build result to UNSTABLE

       

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

        The parameters that you have used for TestExecute are correct. However, you pass /ForceConversion, if the project structure changes during conversion it might trigger a save request, though /SilentMode normally suppresses it.

        /ForceConversion - If this argument is specified and TestExecute is running in Silent mode, TestExecute automatically converts projects created in earlier versions of the tool to the new format when they are opened.

        The Save dialog, is that coming from the application under test or TestComplete/Execute?

        Do the state of your persistent variables change?

        Was this working before upgrading to TE v15.80.1.11?

        You should be able to reproduce this issue easily, if you run your project locally.

        Ensure the following options are disabledEnsure the following options are disabled