Framework for testing Salesforce applications
- Reusable actions are defined in
Sfdc
module. - Data for each test case is defined in
Data.xlsx
. Dropdowns.xlsx
contains lists of values for RVL dropdowns.Output.xlsx
is used to persist data between test executions (see SetOutputValue, GetOutputValue common functions below).
The way of test parameterization and reading data from an Excel spreadsheet is described in the docs:
The framework includes a local Chrome browser profile located in Profiles\SeleniumProfiles
folder. This profile is configured to launch Chrome with the same user data profile to deal with MFA in Salesforce. It launches Chrome with these arguments:
["disable-notifications", "user-data-dir=C:\\ProgramData\\Inflectra\\Rapise\\Temp\\Chrome"]
All actions are defined in Sfdc
module and implemented in Sfdc.js
. Look into this file for details.
Launches Salesforce in a browser. SfdcUrl, UserName, Password must be set in Config.xlsx
Opens application.
Navigates to module using nav bar.
Selects list view.
Searches data in a table.
Selects item from a combobox.
Writes key/value pair to Output.xlsx
Reads value from Output.xlsx