ServiceMax Field Service, Mobile Testing
ServiceMax Field Service App (FSA) is a mobile field service management tool designed to help technicians and engineers access important information and optimize productivity while working in the field. With ServiceMax FSA, users can access advanced scheduling tools, contract entitlements, parts and logistics information and more. Currently, ServiceMax FSA can be accessed from laptops, smartphones and iPads.
The following includes instructions for using Provar to test mobile applications of ServiceMax FSA using a computer that uses a Microsoft Windows operating system. To get started, you will need to complete some initial configuration tasks.
- Standard Provar system requirements, plus…
- Provar version 2.0.5 or later
- ChromeDriver version 2.38 (Only this version of ChromeDriver is compatible)
- A Windows 7 or later machine
- A Salesforce org with the ServiceMax package installed on it
- A user login for this org with administrator and/or technician permissions (or a permission set listed here)
- If you use a technician connection, you will need an administrator connection in addition to access to the Salesforce metadata in this org for testing
- Developer mode enabled
- You can find instructions for enabling your device here
ServiceMax FSA setup instructions for Windows
Step 1: Start by installing and configuring ServiceMax FSA for Windows.
Step 2: Accept all of the defaults when installing this onto your machine. The location of your ServiceMax executable file should appear similar to the following example:
C:\Program Files\ServiceMax\ServiceMax Field Service\Laptop Mobile.exe
We recommend that you first test your connections to a sandbox org with ServiceMax installed.
Step 3: Add a connection and enter the sandbox or production org login URL.
Once you have created this connection, select Login and provide your connection credentials for this org.
Note: The first time that you login to this org from the ServiceMax FSA on your machine, it will perform a data sync that can take anywhere from 15-20 minutes depending on the size of the org and the speed of your network connection. This is a one-time process that occurs each time a new machine is used to log in to ServiceMax Field Service.
Once the sync is completed, you will see the calendar screen by default.
Install compatible ChromeDriver
In order to run, build and/or debug ServiceMax FSA tests in Provar, you must use the compatible ChromeDriver version. Provar typically packages the latest ChromeDriver in the installation files by default. However, you will need to override the ChromeDriver included in your download to ensure the tests can be run properly.
Step 3: Refer to Override ChromeDriver Version support article for instructions.
Step 4: Download ChromeDriver version 2.38 found here.
Download Windows app driver
Step 5: In order to support test automation on a mobile application, you will need to first download the Windows application driver.
Step 6: Follow the wizard to complete the WinAppDriver installation on your machine.
Create a ServiceMax FSA connection in Provar
Before moving forward, first ensure that you have Provar 2.0.5 (or newer) installed on your machine.
Step 7: Create a new connection in the Test Settings tab. Set the username, password and environment to the same values that you used to log in previously.
Note: Enable Lightning Mode must be left unchecked. You cannot use Log-on As via an administrator connection for ServiceMax FSA connections.
If this is a technician login, then you will need to perform the following steps.
Step 8: Set up an administrator connection for the same org you connected to previously and create this connection in Provar.
Step 9: Input the following options in the Advanced Settings tab for the technician connection (e.g. Technician in this example).
Test the connection created here and ensure it passes before continuing.
Add ServiceMax FSA mobile app in Provar
Step 10: Next to the Connections tab in Test Settings, you will find a Mobile Apps tab. This is where we can add Mobile Apps that will show up in the Salesforce Application list. You can also add Mobile Apps that are outside of Salesforce in this section (by selecting Runs under UI Testing connections).
Step 11: Create a new mobile app with the following settings.
Note: The path for your ServiceMax executable may differ based on where you selected to install it in the ServiceMax FSA mobile setup section.
Create a ServiceMax FSA test on Windows
You are now ready to begin creating a test case in ServiceMax FSA on Windows! Create a new test case and you should see ServiceMax FSA listed within your Salesforce Application list for the ServiceMax connection you just created.
If you would like more information, please refer to our ServiceMax FSA Mobile Testing support article.
- General information
- Licensing Provar
- Provar trial guide and extensions
- Using Provar
- API testing
- Behavior-driven development
- Creating and importing projects
- Creating test cases
- Custom table mapping
- Debugging tests
- Defining a namespace prefix on a connection
- Defining proxy settings
- Environment management
- Exporting test cases into a PDF
- Exporting test projects
- Managing test steps
- Namespace org testing
- Provar desktop
- Provar Test Builder
- Refresh and Recompile
- Reload Org Cache
- 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
- Test Palette introduction
- Control test steps
- List compare
- Read test step
- String test steps
- UI Test Steps
- Using custom APIs
- Callable tests
- Data-driven testing
- Page objects
- Block locator strategies
- Introduction to XPaths
- Creating an XPath
- Label locator strategies
- Maintaining page objects
- Mapping non-Salesforce fields
- Page object operations
- Refresh and reselect field locators in Test Builder
- Using Java method annotations for custom objects
- Applications testing
- Database testing
- Document testing
- Email testing
- Mobile testing
- OrchestraCMS Testing
- Salesforce CPQ testing
- ServiceMax testing
- Skuid testing
- Vlocity testing
- Webservices testing
- Introduction to test scheduling
- Apache Ant
- Configuration for sending emails via the Provar Command Line Interface (CLI)
- Continuous integration
- Azure DevOps
- Running a Provar CI task in Azure DevOps
- Configuring the Provar 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
- GitHub Actions
- Running a Provar CI task in GitHub Actions
- 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 CI
- Travis CI
- Parallel Execution
- Running Provar on Linux
- Salesforce DX
- Team foundation server
- Version control
- Zephyr Cloud and Server
- Salesforce testing
- Adding a Salesforce connection
- Assert Page Error Messages on Add/Edit Product
- Dynamic Forms
- Internationalization support
- List and table testing
- Salesforce Release Updates
- Salesforce Lightning Testing
- Salesforce Lightning Web Component (LWC) locator support
- Salesforce console testing
- Visualforce Testing
- Testing best practices
- Configurations and permissions
- Error messages
- Licensing, installation and firewalls
- Test Builder and test cases
- Release notes