How to capture the text from QTP Error Message window.
I am getting the error message when i am trying to establish a connection with DB2 because either invalid User ID or Password. QTP Error Message window Stating that "Attempt to establish connection failed with security reason".

I have to capture this error message.

Please help me