Friday, February 24, 2012

Automate Chores with Selenium

No one likes clicking buttons when making configuration changes in but it's a fact of life in our business. We wanted to do less actual work so we ran our Automate Salesforce Config Changes with Selenium challenge to provide more time to play Jenga.

The Metadata API is a great invention. It allows you to script updates, synchronize changes between orgs and much more! Sadly, not everything in is updateable via the Metadata API. Nothing is more painful than setting field level security for 10+ profiles on 10+ custom objects.

Our goal with this challenge was to make the lives of countless "Button Click Admins" more enjoyable by automating this task with Selenium. In case you don't know, Selenium automates browsers. That's it. You can record your button clicks in one org and then play them back in another org to produce the same results. These script can generate Java code so we it would be cool to make this process repeatable by scripting it with ANT.

If you hate clicking buttons a much as we do, check out the video submissions from our winners. Some really cool stuff!
peakpado - video submission
Place: 1
Money: $1000
jordanbaucke - video submission
Place: 2
Money: $1000
Place: 3
Money: $250

1 comment:

  1. Beside this great challenge, just re: this blog post: I believe you can deploy FLS to another Org. if you use deployment connection and a change set and just add the fields + profiles to the change set. That will take the FLS for the selected profiles together with the fields to the target Org.