How to check whether the graphics rendering is complete on loading 3d CAD parts on application
I am trying to find out a way in which I can get the control of the thread process or any method from Testcomplete where in I can find that the processing of the part is complete.
Application I am automating is AutoCAD , SolidWorks and many other CAD applications. I load the 3D CAD parts and in the graphics i.e capture screen is of Class : (Afx:*) takes some time for rendering and loads it completely after 10 sec or more depending on the complex and size of the geometry.
Approach I used still now but could not get the exact way where in I am sure that parts is successfully rendered or loaded in the screen.
1. Process("app").ThreadCount -- Thread count seems to be not release immediately after part is loaded
2. Process("app").MemUsage-- System Memory seems to be not release immediately after part is loaded
3. Process("app").CPUUsage -- This seems to be working so far but not 100% accurate
4. Text message in the UI -- Generally we don't get any Text message in the screen after part is loaded
May be any way to get the thread control or WaitFor Process function in Testcomplete