This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

HTML Form Login Monitor Error "Specified cast is not valid"

I am attempting to check the status of a web page that has a form based login. However upon trying to test the check I get the error "Specified cast is not valid." If I specify the credentials to login to the page then I get the"Specified cast is not valid" error. If I do not specify any credentials then I receive the following message:

Testing on node Server01: failed with 'NotAvailable' status
Response page still contains login form
Page contains 1 form(s). Form 'LoginForm' inputs: ('page' 'fwdpage' 'Username' 'Password' ); 
Assumed form with name = LoginForm as login form
Assumed login input: name = Username, password input: name = Password

I haven't found much info on this error. What can I do to troubleshoot this further?

  • Hello,
    error "Specified cast is not valid" is internal error and is connected with a know bug.

  • So how does that relate to getting a resolution? Do I need to open a support ticket? Is the solution known and going to be out in the next service pack? Is the solution unknown and it will have to be researched for an unknown amount of time?

  • Hello,
    I just realized that my post was not complete, sorry for that.

    It should have been:

    Have you tried to set Login Failed Keywords and Login Success Keywords? Message "Response page still contains login form" means that after submitting login form, it is still present on page and so monitor takes this as failed login. Regarding "Specified cast is not valid" error you should open a support ticket. We have to investigate your specific scenario to know if it is known or not.