[ QUOTE ]
I want the TC to wait until the server send informations back
[/ QUOTE ]
When you are performing functional testing of your web page, the web page is just a number of controls for TestComplete. You need to find an object which indicates that the processing is completed and check the object's state. There are two general approaches you can use: 1) wait for an object to appear (if the object appears on the web page after the processing is completed); 2) wait for an object's property to take the needed value (if the property value changes when the processing is completed). You can use the WaitMSAAObject method (I guess, you are using MSAA to work with your application) to wait for an object and the WaitProperty method to wait for a property to change. Please see the "Waiting for Object State Changes" help topic for more information.