Forum Discussion

Frits's avatar
Frits
Occasional Contributor
4 years ago
Solved

Windows 10 apps

Hi there! 

 

I have a question regarding Windows 10 applications. Is it possible to get into, for example, the objects/elements of the Windows 10 calculator? I would like to know, because we have an UWP application, which can be installed and launched in Windows 10. But we face the same problem with our application. In TestComplete it shows as "Windows.UI.Core.CoreWindow", which is a default in the UI Automation settings. However, it is impossible to get into the main window and see child objects 😞 

It is possible to spy and see children of the top menu bar (minimize,maximize,close), but not the actual main window (Windows.UI.Core.CoreWindow). The applications are both showing as process "ApplicationFrameHost". 

 

I have done and tried everything, also the suggestions mentioned here:

https://support.smartbear.com/testcomplete/docs/app-testing/desktop/windows-store/requirements.html

 

Could someone please clear this up for me? 🙂

 

Kind regards!

  • Frits's avatar
    Frits
    4 years ago
    Hi Sonya!

    The problem was the following option: (TestComplete shortcut > right-click > Properties > Compatibility > “Run this program as an administrator”). When this option is active, it doesn’t work. Neither when I double-click the shortcut, nor when I right-click the shortcut and “Run as administrator”.

    However, when I disable this option it always works fine. So when the option is disabled and I double-click the shortcut it works fine, and it also works fine when I right-click the shortcut and “Run as administrator”.

3 Replies

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Thank you Marsha!

       

      Hi Frits ! I found your support case (00472117) where you mentioned that you solved the issue! Could you share your solution with us?

      • Frits's avatar
        Frits
        Occasional Contributor
        Hi Sonya!

        The problem was the following option: (TestComplete shortcut > right-click > Properties > Compatibility > “Run this program as an administrator”). When this option is active, it doesn’t work. Neither when I double-click the shortcut, nor when I right-click the shortcut and “Run as administrator”.

        However, when I disable this option it always works fine. So when the option is disabled and I double-click the shortcut it works fine, and it also works fine when I right-click the shortcut and “Run as administrator”.