Forum Discussion

fjdemiguel's avatar
fjdemiguel
New Member
24 days ago

Test Complete does not locate my Desktop app

Hi everyone, when I run every test, Test Complete does not minimize, so it does not locate my desktop app, this behavior happens 7 or 8 times, then it does minimize and locate my desktop app and the test runs.
I want to mention that (on my properties project, on Playback) I do have the option: Minimize Test Complete clicked, but even though it takes so much time to run correctly, so I have to wait 7,8 or sometimes even 10 times for Test Complete to minimize and run my tests.

Is there any solution for this issue?

Thanks in advance

Best regards

 

 

2 Replies

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

    Verify TC is able to locate your objects, based on the criteria given for your name mappings you have defined. For example, your first keyword operation is performing a click on Atelier. In your name mappings, press the button 'Check for Name Mapping updates' and TC will locate all objects that it can see (green dot). Any objects that it can not locate (red dot), will most likely indicate the issue. In this example, it's not able to find Atelier.

    Also, what version of TestComplete are you using?

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

    Tip: Most TestComplete minimize issues are caused by floating panels, modal dialogs, or focus problems, rather than the Playback setting itself. Ensuring TC has a clean workspace and proper window focus often resolves the problem.

    Diagnostic Checklist for TestComplete Failing to Minimize

    1. Verify Playback Settings
    Go to Project Properties → Playback. 
    Confirm “Minimize TestComplete on playback” is checked. 
    Check for any conflicting options that might affect window focus. 

    2. Check for Open Modal Dialogs or Panels
    Close all modal dialogs, popups, and floating panels (Name Mapping, Object Browser, Log, etc.) before running tests. 
    Reset the workspace layout to default for a clean start. 

    3. Check Window Focus and Overlap
    Make sure no other application windows overlap TestComplete. 
    If using multiple monitors: 
    Ensure TC is on the primary monitor. 
    Confirm consistent DPI scaling across monitors. 

    4. Observe Environment & Performance
    Note whether tests run on a local machine or VM. 
    Check CPU/memory usage — high load can delay TC minimizing. 
    Test with a simple, short test to see if the behavior persists. 

    5. Test in Different Playback Modes
    Try running the tests from the command line or via TestExecute. 
    Compare behavior to running playback directly from the IDE. 

    6. Examine Logs
    Enable detailed logging (Project Properties → Log Options). 
    Look for messages like: 
    “Cannot minimize TestComplete” 
    Playback delays or errors before test execution. 

    7. Test a Minimal Reproduction
    Create a small test project with a single simple test (open an app, minimize TC, perform one click). 
    If the issue doesn’t occur, the problem may be project-specific. 

    8. Reinstall TestComplete
    If the problem persists after all checks, try reinstalling TestComplete. 
    This ensures any corrupted configuration or missing files are fixed. 

    This checklist should help you systematically identify why TC is not minimizing and address the issue efficiently.

    🤖 AI-assisted response
    👍 Found it helpful? Click Like
    ✅ Issue resolved? Click Mark as Solution