This project is read-only.

Password control

Dec 3, 2012 at 7:59 PM

Hi,

I am having a problem entering text into a password text field.  I noticed that CUITe supports a CUITe_HtmlPassword.  I tried to use "set text" and got a null reference exception error:

 System.NullReferenceException: Object reference not set to an instance of an object.

What is the difference between using this and CUITe_HtmlEdit?  I saw that CUITe_HtmlPassword inherits from the CUITe_HtmlEdit but has the additional item of filtering based on the Type of "PASSWORD".  Has anyone seen this error before.

I tried to use CUITe_HtmlEdit to set text in the same control and I got this error: ystem.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.

If I click on the password text field first and then try to set text it works fine.

 

 

Jan 17, 2013 at 9:06 AM

Hi Jeff,

What is the complete stack trace when the exception is thrown?

Which version of CUITe are you using?

Can you provide some sample html and test code that can reproduce the problem?

Thank you.