ProvarDX Commands
These are the current commands available for ProvarDX.
To learn more about using ProvarDX, visit our documentation about getting started.
Provar Automation Commands
sf provar automation config generate
Generate a boilerplate property file.
Example:
sf provar automation config generate -p provardx-properties.json --json
Flags:
Required:
-p
| --properties-file
Path to the properties file that will be generated.
Optional:
-n
| --no-prompt
Don’t prompt to confirm file should be overwritten.
Format response output as json.
sf provar automation config load
Load a property file to be used in subsequent commands.
Example:
sf provar automation config load -p myproperties.json --json
Flags:
Required:
-p
| --properties-file
Path to the properties file.
Optional:
Format response output as json.
sf provar automation config set
Set one or more properties in the properties file.
Examples:
sf provar automation config set environment.testEnvironment="SIT"
sf provar automation config set environment.testEnvironment="SIT" environment.webBrowser="Ch
rome"
sf provar automation config set testCases='["tests/myTestCase.testcase","tests/testSuite1/myTestCase1.testCase"]'
Flags:
Required:
Optional:
Format response output as json.
sf provar automation config get
Get a property from the properties file.
Example:
sf provar automation config get environment.testEnvironment
Flags:
Required:
Optional:
Format response output as json.
sf provar automation config validate
Validate a property file is a well-formed ProvarDX property file.
Example:
sf provar automation config validate
Flags:
Required:
Optional:
Format response output as json.
sf provar automation setup
Install Provar Automation.
Example:
sf provar automation setup --version 2.12.1
Flags:
Required:
Optional:
-v
| --version
Provar Automation build version number.
Format response output as json.
sf provar automation project compile
Compile PageObject and PageControl Java source files into object code using the configuration set in the properties file.
Example:
sf provar automation project compile
Flags:
Required:
Optional:
-v
| --version
Provar Automation build version number.
Format response output as json.
sf provar automation metadata download
Refresh metadata for a specified Salesforce connection and store it in the folder set in the properties file.
Example:
sf provar automation metadata download -c MySalesforceConnection
Flags:
Required:
-c
| --connections
Comma-separated list of names of Provar Salesforce connections to use, as defined in the project.
Optional:
Format response output as json.
sf provar automation test run
Run the tests as specified in the loaded properties file.
Example:
sf provar automation test run
Flags:
Required:
Optional:
Format response output as json.
Provar Manager Commands
sf provar manager connect
Load the alias or username to be used in subsequent commands to connect to Provar Manager.
Example:
sf provar manager connect -o my-scratch-org --json
Flags:
Required:
- None
Optional:
-o
|--target-org
Username or alias set in the SF CLI which corresponds to the Provar Manager org.--json
Format response output as json.
sf provar testcase retrieve
Retrieve test cases related to the provided user stories (issues) or metadata components, for a given test project.
Examples:
sf provar manager testcase retrieve -p MyTestProject -t Apex -m "ApexClass:MyApexClass,YourApexClass;ApexPage" --json
sf provar manager testcase retrieve -p MyTestProject -t ProvarAutomation -i "TM-766,TM-718"
Flags:
Required:
-p
|--test-project
Test Project Key to filter by.-t
|--test-automation-tool
Test Automation tool used to automate the tests.
Allowed values: Apex, ProvarAutomation
Optional:
-l
|--test-plan
Test Plan Name. Use if you want to retrieve test instance file paths.-m
|--metadata-components
Semicolon-separated list of metadata components, grouped and prefixed by their metadata type.- -n | –ignore-metadata
Semicolon-separated list of metadata types to ignore from METADATA-COMPONENTS or METADATA-FILE. -f
|--metadata-file
Path to a text file that contains the list of metadata components in source format.-i
|--issues
A comma-separated list of issue names (ISS-000000), issue external keys, or issue external IDs.
-o
|--output
Output to a specific file instead of stdout.--json
Format response output as json.
- Provar Automation
- System Requirements
- Browser and Driver Recommendations
- Installing Provar Automation
- Updating Provar Automation
- Licensing Provar
- Granting Org Permissions to Provar Automation
- Optimizing Org and Connection Metadata Processing in Provar
- Using Provar Automation
- API Testing
- Behavior-Driven Development
- Consolidating Multiple Test Execution Reports
- Creating and Importing Projects
- Creating Test Cases
- Custom Table Mapping
- Functions
- Debugging Tests
- Defining a Namespace Prefix on a Connection
- Defining Proxy Settings
- Environment Management
- Exporting Test Cases into a PDF
- Exporting Test Projects
- Japanese Language Support
- Override Auto-Retry for Test Step
- Mapping and Executing the Lightning Article Editor in Provar
- Managing Test Steps
- Namespace Org Testing
- NitroX
- Provar Automation
- Provar Test Builder
- ProvarDX
- Refresh and Recompile
- Reintroduction of CLI License Check
- Reload Org Cache
- Reporting
- Running Tests
- Searching Provar with Find Usages
- Secrets Management and Encryption
- Setup and Teardown Test Cases
- Tags and Service Level Agreements (SLAs)
- Test Cycles
- Test Plans
- Testing Browser Options
- Tooltip Testing
- Using the Test Palette
- Using Custom APIs
- Callable Tests
- Data-Driven Testing
- Page Objects
- Block Locator Strategies
- Introduction to XPaths
- Creating an XPath
- JavaScript Locator Support
- Label Locator Strategies
- Maintaining Page Objects
- Mapping Non-Salesforce fields
- Page Object Operations
- ProvarX™
- Refresh and Reselect Field Locators in Test Builder
- Using Java Method Annotations for Custom Objects
- Applications Testing
- Provar Manager
- How to Use Provar Manager
- Provar Manager Setup
- Provar Manager Integrations
- Release Management
- Test Management
- Test Operations
- Provar Manager and Provar Automation
- Setting Up a Connection to Provar Manager
- Object Mapping Between Automation and Manager
- How to Upload Test Plans, Test Plan Folders, Test Plan Instances, and Test Cases
- Provar Manager Filters
- Uploading Callable Test Cases in Provar Manager
- Uploading Test Steps in Provar Manager
- How to Know if a File in Automation is Linked in Test Manager
- Test Execution Reporting
- Metadata Coverage with Manager
- Provar Grid
- DevOps
- Introduction to Provar DevOps
- Introduction to Test Scheduling
- Apache Ant
- Configuration for Sending Emails via the Automation Command Line Interface
- Continuous Integration
- AutoRABIT Salesforce DevOps in Provar Test
- Azure DevOps
- Running a Provar CI Task in Azure DevOps Pipelines
- Configuring the Automation secrets password in Microsoft Azure Pipelines
- Parallel Execution in Microsoft Azure Pipelines using Multiple build.xml Files
- Parallel Execution in Microsoft Azure Pipelines using Targets
- Parallel execution in Microsoft Azure Pipelines using Test Plans
- Bitbucket Pipelines
- CircleCI
- Copado
- Docker
- Flosum
- Gearset
- GitHub Actions
- Integrating GitHub Actions CI to Run Automation CI Task
- Remote Trigger in GitHub Actions
- Parameterization using Environment Variables in GitHub Actions
- Parallel Execution in GitHub Actions using Multiple build.xml Files
- Parallel Execution in GitHub Actions using Targets
- Parallel Execution in GitHub Actions using Test Plan
- Parallel Execution in GitHub Actions using Job Matrix
- GitLab Continuous Integration
- Travis CI
- Jenkins
- Execution Environment Security Configuration
- Provar Jenkins Plugin
- Parallel Execution
- Running Provar on Linux
- Reporting
- Salesforce DX
- Git
- Version Control
- Masking Provar Credentials on CI
- Salesforce Testing
- Best Practices
- Improve Your Metadata Performance
- Java 21 Upgrade
- Salesforce Connection Best Practices
- Testing Best Practices
- Automation Planning
- Supported Testing Phases
- Provar Naming Standards
- Test Case Design
- Create records via API
- Avoid using static values
- Abort Unused Test Sessions/Runs
- Avoid Metadata performance issues
- Increase auto-retry waits for steps using a global variable
- Create different page objects for different pages
- The Best Ways to Change Callable Test Case Locations
- Working with the .testProject file and .secrets file
- Best practices for the .provarCaches folder
- Best practices for .pageObject files
- Troubleshooting
- How to Use Keytool Command for Importing Certificates
- Installing Provar After Upgrading to macOS Catalina
- Browsers
- Configurations and Permissions
- Connections
- DevOps
- Error Messages
- Provar Manager 3.0 Install Error Resolution
- Provar Manager Test Case Upload Resolution
- Administrator has Blocked Access to Client
- JavascriptException: Javascript Error
- macOS Big Sur Upgrade
- Resolving Failed to Create ChromeDriver Error
- Resolving Jenkins License Missing Error
- Resolving Metadata Timeout Errors
- Test Execution Fails – Firefox Not Installed
- Selenium 4 Upgrade
- Licensing, Installation and Firewalls
- Memory
- Test Builder and Test Cases
- Release Notes