Forum Discussion

Nimith's avatar
Nimith
Contributor
11 years ago

Unable to find Objects inside the main application

 

Hi,

 

I am using Test Complete ver. 10.50.2702.7 which is not able to recognize objects that are within the application under test.

 

I have worked on an earlier application which is WPFObject based, and in there I used to add the "ClrClassName" of the parent object into "Tools -> CurrentProjectProperties ->  Open Application -> WPF" and the child objects which are within it, gets recognized.

 

But the current application is a "WinFormsObject" based and  I am not sure where or what needs to be changed/added so that all the objects are recognised.

 

Below are few objects, how they are recognised by Test Complete at the moment:

 

>Main Application:
        Sys.Process("XYZ").WinFormsObject("frmMainMDI")

        Sys.Process("XYZ").WinFormsObject("frmMainMDI").WinFormsObject("MdiClient", "").WinFormsObject ("frmDisplay").WinFormsObject("Track", "", 275)


> A popup that is populated when right clicked inside the App:  (right click menu is recognised as a whole and none of its options inside is seperatly recognised)
       Sys.Process("XYZ").Window("#32768", "", 2)


> Sub menu of the above object is recognised as:
       Sys.Process("XYZ").Window("#32768", "", 1)

 

Could anyone please help me out with this issue? Let me know if you need any more information.

No RepliesBe the first to reply