4

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?

  • How do you have your connection details stored? – Mike Chale Jan 31 '14 at 15:11
  • 1
    In custom settings – buyan kumar Jan 31 '14 at 16:59
1

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.

0

force.com CLI could be used to script these kind of things. It's possible to both update data and run annonymous APEX.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.