I am trying to login to multiple RDP machines from the Bot machine. For example, I have 5 RDP machines, the bot needs to connect to 5 machines one after the other. The bot is able to connect to the first machine but for second machine it fails. It’s not able to find selectors in the RDP window.
Can anyone please help me with how I can achieve the above?
Thanks for the help on arguments. Can we also pass in user name to be connected as argument? By default its trying to login via the Administrator user.
The issue is not with the Password Credential box.
Not directly with mstsc. You would need to save your credentials to the credential manager, using the UiPath.Credentials.Activities, manually saving them or using cmdkey or equivalent command (Powershell, etc) of your choice to create the credentials.
Making sure to destroy the credentials afterwards. If you also create it with a local/persistence scope of the session so it is only available to the current session and is destroyed when that session ends.
If the selector is valid for you on the password field… where is your sequence failing and what is the error?