Demonstration how to test Salesforce applications
To run tests, just type the following command in command line:
ant -Dsalesforce.username=your-username@developer.salesforce.com -Dsalesforce.password=your-passwordThis command can be run either by your or your CI server (like Jenkins or Bamboo).
You only need to have Java, Ant and Chrome installed on your computer to run these tests.
Selenide tests are run in Chrome by default.
To run UI tests with different browser, just add this parameter to command line:
ant -Dselenide.browser=chromeant -Dselenide.browser=phantomjsant -Dselenide.browser=htmlunit
P.S. To use some of these browsers, you need to install corresponding binary (e.g. chromedriver, phantomjs) or dependencies (e.g. htmlunit, phantomjs).