We are using test complete in our office.
Can any one guide me how to read a text which is inside an alert(a pop up window).
Most likely the text is a label component on the window. You'd have to do something like this:
<font class="small">Code:</font><hr /><pre>
AlertText := Sys.Process('MyApp').Window('TAlertClass','*',-1).Window('TLabel','*',-1).wText;
Or something like that. Not knowing your components or the window as it comes up, that's my best guess.
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure