Forum Discussion

DevaV's avatar
DevaV
Contributor
11 years ago

Objects / Record and playback are not getting recognized with Windows 8.1 Metro app testing

Hi,

 

We are about to start testing with metro app against windows8.1 environment. Testcomplete is installed with web and desktop modules earlier. Objects recognization or record playback for metro app is not working even after performing below pre-requsites,

 

- 'Enable support for testing windows store applications (requires restart)' is enabled.

- Added 'DirectUIHWND' and 'Windows.UI.Core.CoreWindow' to the Current project properties -> UI Automation.

- Extension related to UI Automation is available at test complete extensions.

- Restarted testcomplete after above changes.

 

Kindly let us know how to make objects get exposed for metro apps.

3 Replies

  • Hi Deva,

     

    Testing Windows Store application requires TestComplete’s Web module. Is it installed and activated?

     

    • DevaV's avatar
      DevaV
      Contributor

      Hi Tanya,

       

      Yes, both desktop & web modules are installed. Refer below for the image,

       

      Extensions.png

       

      As told earlier, we have also enabled 'Enable support for testing windows store applications (requires restart)' under test complete options and added 'DirectUIHWND and Windows.UI.Core.CoreWindow' to the UI Automation of current project properties. We get process listed as in the below image.

       

      ObjectTree.png

      • Deva,

        Check the class name of the VSyncHelper window in TestComplete’s Object Browser, and try adding it to the UI Automation list of accepted window.

        Also, please check that you enabled the Enable support for testing Windows Store applications property in the current project settings. Sometimes, people change it in the default project settings.

        Does this help?