Object disabled error stops my test running in QTP
I write test scripts for a Internet explorer-embedded application (aspx and activeX I think) which includes a few WebEdit textboxes. I started my test in QTP and faced a strange problem, object disabled problem.
I tried few things but could not succeed.
On one of the webedits, I get "Obejct Disabled" error, it stops QTP whlie executing the test, the script can not continue anymoew.
The interesting thing is that when I look to application, that area is not disabled et al, never.
After test stops, if I continued step by step by F10, the same line works..??
Can someone help me on this ? Please, I am realy scared.
Re: Object disabled error stops my test running in QTP
I guess that text area is dependant on one of the weblist/webedit/webcheckbox fields and once the value in the weblist/webedit/webcheckbox field is selected, the text area gets enabled.Can you please confirm.
If that is the case,then we need to put some explicit wait time after selecting the dependant field for text area and then enter the value.