Ingresar credenciales

hola comunidad, disculpen las preguntas.
tengo que ingresar credenciales de usuario y contraseña, son las correctas y la contraseña en este caso son solo numeros.
ocupo typeinto para ingresarlas, pero al dar enter me las toma como incorrectas…
como puedo solucionar esto? pq se que las credenciales son las correctas.
de ante mano, gracias por su tiempo

@mively

use a breakpoint and try to check what is entered in username and password

if there are any spaces or special characters

cheers

lo ingresa de forma correctas, eso es lo raro :confused:

@mively,

You must be trying the securestring password instead of plain password.

You can convert securestring with this code to normal string and then type it with enter key

New System.Net.NetworkCredential("",secstrPassword).Password

no funciono :frowning: es una aplicacion de escritorio por cierto


intente con eso igual y nada :confused:

Hi @mively

Please enter the password in a secure manner.

Most sites accepts password in a secure manner, so if you are trying to type in the password using plain text, it might not accept it.

Can you share if you are retrieving this credentials and have your password stored as secure string?

or that pass variable there is a simple string? if yes, please convert that to secure string. Also change plain text to secure text in type into for password.

Also confirm if you are using studio X, studio or studio web?

Regards
Sonali


UiPath studio uso

In that case, you can consider using Type secure text activity for password instead.

or you can use modern type into activity as shown below and select secure to enter password.


aun no

Please dont convert your password to string here.

You need to simply provide your password secure string variable. Get rid of that New NetworCredentials… value in the password box.

few questions..

  1. that variable pass - is that string or secure string?
  2. how are you assigning the value to variable pass?

Can you show me?

Hi @mively

Could you try this minor change?
The issue may be due to the speed at which the password is being typed.

or just change the delay between keys:


en el assign password tengo la contrasela " "
y abajo tengo lo que muestra la imagen

ya lo hice y nada, quiza es la manera en como creo la variable secure string o algo asi

Where are you Typing the UserID?

I can see that you are doing it before the “assign” password, and using the “Use Application” activity. I assume that, the password is getting typed in the new instance of the application.

Could you bring the Type into of username inside the Use Application, before the Type Into password

Hi,

You need to assign some value to it instead of blank " ".. here define password value in double quotes.

Then let your new Networkcredential.. statement there..

Ideally, you should be creating credential asset in orchestrator to save your username and password in there.

then use get credential activity to fetch username and password and save those to required variables. this would give you password in secuer string format.

and then use type into like i suggested with secure option enabled.

It should work.

lo puse en blanco, solo para no escribir la contraseña adentro, pero si la lleva

@mively

use click activity to click on the password field

Then use type into and in type into do not provide any selector and give only password value to be typed..select hardware events as input mode, remove activate or click before options in type into

cheers