| || |
QTP 6.0 - Exception Editor
We are using QTP 6.0 for automation scripting. I need to handle some exception conditions in QTP 6.0. So I need to use exception Editor to accomplish this task.
For example I need to capture a message on a webpage which says “Session Time Out or Internal server error” its just a plain text on the webpage and on the occurrence of this I need to click on log off image link on the web page (Note: Its on web page not on a dialog box) so how do I do this? I saw the Exception editor. It has only three options in Action - > <enter> <login> <press button>. I thought of using <press button> option but I feel it is only for dialog box buttons.
Is there any feature in QTP 6.0 version Exception manager which can call user defined function on the occurrence of a specified error?
Thanks in Advance!