Forum Discussion

sitasrikanth's avatar
sitasrikanth
Contributor
13 years ago

Direct3D Application

Hi, 



I am trying to automate an application which is developed using Direct3D. With Test complete only parent object is recognized but all child objects inside the parent object are not getting identified and not shown in object browser.



Parent object is recognised with wndclass as "Direct3DWindowClass"



I 've tried adding the same window calss name to Project Properties under UI Automation, but child objects are not recognized.



Could you please me ?





5 Replies

  • Hi Tanya,



    Yes, I've tried by adding "Direct3DWindowClass" class to MSAA but still no luck. Only very few child objects like MenuBar("Aplication"), Client("System Application") and MenuBar('System") are displayed in parent object Window("Direct3DWindowClass","System Application",1) under object browser. 



    When
    "Direct3DWindowClass" class added to UI Automation then only parent object is recognized as UIAObject("System_Application") without any child objects



    If wndclass is not specified in UI Automation & MSAA then parent object is recognized as Window("Direct3DWindowClass","System Application",1). 

     





























  • Hi Srikanth,


     


    You can also try using the Text Recognition feature. Refer to the "Improving Object Recognition" article - it describes the basic approaches that can be used in TestComplete to test custom controls.


     


    Is there anybody who uses this control in your test? What approach are you using?


     

  • Hi Tanya,



    Using Text Recognition, none of the child objects in the application are recognised as TextObjects,



    I've added  "Direct3DWindowClass" wndclass to list of accepeted windows in Open Applications-> Text Recognition under current project properties.



    Normally while testing this application, we'll perform operations on objects only through mouse move, left and right mouse clicks.