Posts

Showing posts with the label Change set automation

Salesforce: Automate creation of Change Set using Selenium

Have you ever been involved in creation of change set for a release? If the number of components are high, then creation of change set becomes a time consuming process. And then the same change set creation has to be replicated across all the env: dev, QA, UAT and finally on Staging. To avoid all the manual work and save time, I have automated the creation of change set using Selenium. You just need the provide the name of your components in a property file and the application will take care of creating the change set. Currently the application is limited to 3 types of components: Apex class, VF page and Triggers and I will be enhancing it soon to support most of the component types. To use this application, create a new Java project in eclipse and follow below steps: 1) Copy following classes in src/main folder:     a) ChangeSet.java     b) ChangeSetUtils.java     c) SeleniumUtils.java 2) Create a file named config.properties under src folder and copy the contents giv