Question
Accenture Solutions Pvt Ltd
IN
Last activity: 5 Jun 2018 7:03 EDT
OpenSpan.Adapters.FormDisabledException.Message : The form frmName is disabled. This may be due to a modal dialog.
Hi,
I have developed an openspan solution to automate a windows application(java swing) ,here in automation whenever windows application Errors(java exceptions ) occurs as windows popup, automation has to capture the error text & close the form & then has to close another form(Where the exception has occurred) but here when it closes the Error popup & closes the main application window form, am getting the below error,how ever I tried using Rematch, Activate,Focus, WaitforEnabled with & without Parameter methods of the form with but still am getting the error as "OpenSpan.Adapters.FormDisabledException.Message : The form frmName is disabled. This may be due to a modal dialog "(here the frmName is the name of the windows form am trying to close through automation). kindly provide some inputs. to resolve this.
Regards,
Pravallika.