Assisted Sign-on - how to delete wrong credentials entered ?
I have implemented assisted sign-on for couple of web applications(from the Credentials property inside Assisted Sign-on), inside a single solution. But mistakenly for one of them I have entered a wrong username/password while testing for the first time, and cant login to the application. And now I can't change it any further. I have tried deleting the assisted sign-on and re-configuring them freshly, but it is of no help. Everytime it seems to be fetching the old credentials.
I have even tried deleting the Windows temp files, and cookies, but even that doesnt seem to help. I am using Robotics Studio 8.0.1080.0.
There is a file called ASO.db that is written to your %appdata%\openspan folder. This is the file that stores the credentials when you are using ASO. If you delete this file you will be asked to enter the credentials again.
1. The ASO manager has a SetCredentials method that allows you to reset the credentials for any of your applications. This should be implemented into your solution to allow the user to 'reset' their credentials when something like this happens. Alternatively, you may be able to interrogate the message that shows the credentials are invalid. Then, on a created event, you could automate a reset of the credentials for this application.
2. 'Pega Robotics' is somewhat unclear in this question. Do you mean ASO? If so, ASO manager does not validate the credentials that you enter, we simply pass them as strings to the user and password fields. If you wish to validate the credentials entered, then you will need to include the logic to do so in your automation prior to setting the credentials.
The ASO Manager has a method called ShowCredentialsDialog. This is used to display a dialog for the user to edit the credentials they have entered. I always provided a button for the user to click to display this dialog to allow them to edit any credential they need.