Forum Discussion

Nformation's avatar
Nformation
Contributor
11 years ago

Cannot "See" Objects in Windows Store App

I can see UIAObjects from other applications (e.g. OneDrive and PC Settings), but all the Object Spy can see on our app is the app window:



Sys.Process("our.process.name").Window("Windows.UI.Core.CoreWindow", "Our App Name", 1)  



It can't see any of the objects or text inside the window. 



I have verified the following:


  • Our store app is written in C#/XAML.


  • I have all Desktop extensions (including UI Automation) installed and all Web extensions installed.


  • In properties, the list of accepted windows includes DirectUIHWND, Windows.UI.CORE.CoreWindow, and even the wildcard asterisk. 


  • TC is installed in Program Files (x86) as required.




I'm not sure what else to try, especially since I can see objects of other applications. I would love some help.





4 Replies

  • UPDATE: Actually, it looks like I cannot see objects in the OneDrive app, which has a Full Name of 

    Sys.Process("Microsoft.Windows.FileManager").Window("Windows.UI.Core.CoreWindow", "OneDrive", 1)

    ...similar to our app. 



    I've found that I can see objects in our app if I enable the MSAA wildcard. However, I cannot record and play back with these options. The playback can't find the objects. I can specify an "On-Screen Action" for an object, but that means manually doing this for each step. 



    Does anybody have any insight as to what's going on and what my settings should be? Thanks.
  • Hi,

     


    Check whether the Tools | Options | Engines | General | Enable support for testing Windows Store applications option is activated on your computer.


     

  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 2 rankChampion Level 2
    Hi Tanya,



    I don't see the mentioned option for TC 10.40.2015.

    Does it require some extension to be active or patch installed or is this a setting from some upcoming update?



    Update: Got it - as per help, this option is available only under Windows 8 and later.