[SalesForce] Automating sandbox post-refresh steps

We are doing monthly refreshes on sandboxes which is causing us to manually do certain things.

  1. Deactivate some users and add developer user for testing in sandbox.
  2. Change webservice connection details to point to dev environments.

How can we automate these tasks of creating users after refresh for developers in sandbox only and change connection strings on webservices?
Do you guys have any apex class which does this now?

Best Answer

Have a look at the following question which has a discussion about running an apex class from ANT. Simply write your apex class to set the custom setting values and create the users then run the ANT command as needed.

You could also use selenium as discussed here that could automate any standard UI button pressing.

Related Topic