Something is amiss. I am developing access to a webpage using “UiPath Studio WEB,” where I need to enter my username and password. The workflow is correctly designed; if I manually take control of the live stream screen and type the password, it is accepted correctly. However, if I enter it through UiPath, either by typing it directly or using a stored credential, the destination website does not recognize it as valid. Honestly, I am unsure how to proceed…
Can you cross check the password you are saving in your credential asset if its exactly the same and case-sensitive.
Also try to print it temporarily before typing in the website to verify if the value you intend to type there is the one thats actually going or is it some other value?
Sometimes, it can be the case that variable is picking some other value due to scope issue.
Regards
Sonali
Check if you are typing the Secure password instead of plain text password. If you are getting the password through Credential Asset, convert the retrieved secure password to string password using this below code and pass that string password to your website for login.
New System.Net.NetworkCredential(string.Empty, secureStringPasswordFromAsset).Password
Hello, I tried to do it as you instructed, but it continues to give the same error; it does not recognize the password. What I couldn’t do is remove the mask to see if it brings the correct value. If I copy it to another place that is not a password box, it returns system.Credential.password or something like that.
But I reiterate once again, what seems strange to me is that if I type the password value in plain text, it doesn’t recognize it. However, if I take control of the remote screen and enter the password, it accepts it.
If it doesn’t accept the password in plain strong, why do you need to enter as plain string.
Use type secure text activity to type in the password that you retrieve from credential asset.
Regards
Sonali
Hello, sorry, but I have UiPath web in Spanish, and I can’t find that activity. I asked in UiPath Assistant and it couldn’t guide me correctly either. Is that the correct name of the activity? Generally, when I write it in English, it also returns the activity in Spanish.
This post should help you find that activity or there is an alternative solution to use type into with a secure option. Both are mentioned in this post.
Regards
Sonali
then use type into, that one also has an option to input secure text
Do like below:
This is from studio web. Click on 2 lines and select Use secure text
Thank you very much! That was it! I am immensely grateful! Best regards!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.