Forum Discussion

RobertFromDresd's avatar
RobertFromDresd
Occasional Contributor
13 years ago

Count child processes

Hi there,



I am starting with TC (great tool btw
My
Program is coming up with some dialogs after processes they need
different times to work (load a project, render a Audio/Video file,
etc.). In the end or with complications in the process itself. And i
want to delay till the moment when one of this messages boxes come up.
The problem is, we use an own concept of drawing the gui. We use mfc but
just a little bit, the most parts of the gui we build by ourselves. In
this case TC "Object Browser" don't know the names of internal dialogs
and i have to solve it other ways.

To get the dialogs yet, i want to
try to count the child-processes of my program and end up the delay
process when the count of process is increasing.



My questions are:

1) is that the best way to solve it?

2) is using FindAllChildren('*','') the best in this way?



..8hours i try it this way. But the problem is that FindAllChildren() or FindChild() didn't find anything. Also the example with MS-Notepad http://support.smartbear.com/viewarticle/12740 came back with "The Object was not found". :-/





thanks

Robert

1 Reply


  • Hi Robert,



    I would like to see how exactly TestComplete recognizes objects in your application. Could you please create a new project, disable the 'Engines | Name Mapping | Map object names automatically' option (Tools | Options...), record some actions over controls in your application, pack the project suite folder and send the archive to us?