We are trying to create a process which opens up remote desktop connection exe file --> Enters the username —> Enters the password --> Clicks on Ok button to get the remote connection of the requested machine.
However, when we tried to achieve the same we observed and error after setting up the password.
Attached are the snapshots for better understanding
Once the password has been setup and the process now needs to click on the Ok button then we observed the following error. (Object reference not set to an instance of an object)
Any help would be very much appreciated.