Perfecto Mobile
Provar now supports the use of Perfecto mobile cloud for cloud-based test execution.
The Perfecto Mobile cloud is a web-based Software as a Service (SaaS) platform that allows mobile application developers and QA Engineers to work with advanced automation, monitoring, and testing services. It enables mobile app testers to automate testing for mobile phone devices connected to diverse mobile networks spread across geo-locations.
Configuring Perfecto in Provar
Before configuring a Perfecto Mobile App in Provar, you should have already sorted your Perfecto setup and have your Perfecto Mobile Server details (username and password or a security token). Refer to Perfecto’s documentation for more information on completing this setup in Perfecto.
Adding a browser provider
To begin configuring the Perfecto Mobile App in Provar, add a new Browser Provider.
Navigate to the Test Settings view and click the Browser Providers tab. Then click the Add New (‘+’) button:
On the Add new Browser Provider screen, add a Provider Name and then select the Perfecto Mobile radio button:
Note that there are two ways we can connect to the Perfecto application: logging in with user credentials or logging in with a security token.
To log in with user credentials, leave this radio button ticked and add Perfecto mobile server details:
Alternatively, to log in with a security token, tick this radio button and then pass your application security token value into the Security Token field:
Once your login details are added, click the Test Connection button to verify the details are correct:
Adding a device
Next, add the devices that will be used.
On the same screen as above, click the Add New (‘+’) button on the Devices section:
On the Add Perfecto Mobile Device page, you can select the Platform where testing will be carried out. Provar provides two-platform support for iOS and Android. Selecting the Platform will alter the options in the Make and Model dropdowns.
First your Platform and then the relevant Make and Model.
Device selection
Before selecting the Device, note that three radio buttons below the Device offer different Device availability types: All, Available, and Reserved By You. These define how Provar should pick the Device.
These availability types have the following options:
- If All is selected, the Device dropdown will default to ‘any’ but also offer specific devices for selection (regardless of whether they are currently available for testing)
- If Available is selected, the Device dropdown will offer ‘any’ and devices currently available for testing.
- If Reserved By You is selected, the Device dropdown will offer ‘any’ and any devices you have reserved for testing on Perfecto.
If there are no available devices, we recommend selecting ‘any’ so that Provar will automatically pick the device that is available at that moment:
Once you are happy with the device details provided, click the OK button to complete adding the Perfecto Mobile Device. On the Browser Provider details screen, you can now click the OK button to complete adding the new Browser Provider. The new Browser Provider will have been added to the list:
Adding a mobile app
We can now add a new Mobile App for Perfecto Mobile.
Still, on the Test Settings view, click the Mobile Apps tab. Then click the Add New (‘+’) button:
Provide an App Name, then in the Perfecto section, select the Application Name from the dropdown.
In this dropdown, you can see all the Application Capability Values hosted on the Perfecto account.
Note that these names represent the repository path in Perfecto, where the mobile app is placed. It will be prefixed PRIVATE or PUBLIC, depending on the location in Perfecto.
In Perfecto, this can be seen under the Repository tab, where you can place mobile apps. There are two sections, one for Public (named ‘Public Media’) and one for Private (‘My Media’). These folder locations are reflected in Provar as above.
Back in Provar, click OK once you are happy with your Mobile App details.
You will see this new Mobile App added on the Mobile Apps tab:
Running tests on Perfecto
Now that setup is complete, you are ready to start executing test cases. To start executing test cases, select the new Web Browser you created above.
To create a new Test Case using the setup above, create a new Test Case and select your Perfecto mobile application from the Salesforce Application dropdown. Click the ‘Finish’ button, then build your test case as usual.
You can also run existing test cases by selecting the Web Browser as above and then amending the ‘Salesforce Application’ on the Connect step to reflect the mobile application where your Perfecto app settings are stored.
Once the test is ready, use Run mode or Debug mode to execute it. (Currently, Provar only supports these two modes for test execution on Perfecto.) Progress can be monitored as usual in the Test Runner. You can also review test execution on the Perfecto website by clicking More > Device Dashboard:
Click the Select Device option and the Select button to choose a device.
Below is an example of a ServiceMax FSA app test case running on Perfecto through Provar.
And below.
You can also access an execution report by clicking More > Execution Center.
To see more detail, click on any row.
- 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
- Salesforce Connection Best Practices
- Improve Your Metadata Performance
- 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
- 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