Input a password with an inputbox
Hello,
I would like to input a string with an inputbox. The problem is that :
if i iuse BuiltIn.inputBox(title,prompt,default), the input string is not hidden by special characters($,#,etc.). I want my password be hidden on the screen when i write the password.
i use VbScript.
i tried to use the activeX component CreateObject("ScriptPW.Password") but i have an error.
"ActiveX component can't create object: 'ScriptPW.Password'"
How can i solve my problem ?
Thanks,
BuiltIn.InputBox is intended to open a very simple dialog. There are no fancy bells and whistles with this dialog like masking passwords or anything like that.
If you want to have a dialog come up that prompts for a password and masks the data entry on screen, you'll want to use the "UserForms" feature of TestComplete. When you add a TcxTextEdit component to a user form, under the properties for that component, there is a property called "EchoMode". By default, that's set to eemNormal. If you change that to eemPassword, it masks the data entry on screen as the user types.