This page is divided into the following sections:
- Introduction (see below)
- Configuring Perfecto in Provar
- Running Tests on Perfecto
Provar supports Perfecto mobile cloud testing from Provar version 1.9.
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 services such as advanced automation, monitoring and testing services. It enables mobile app testers to automate testing for mobile phone devices connected with diverse mobile networks spread across different geo-locations.
Configuring Perfecto in Provar
Adding a Browser Provider
To begin configuring the Perfecto Mobile App in Provar, start by adding 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’, select the ‘Perfecto Mobile’ radio button:
Add a Provider Name, along with Perfecto mobile server details to connect Perfecto:
Use the ‘Test Connection’ button to verify the server details:
Next, add the devices that will be used by clicking the Add New (‘+’) button on the Devices section:
Adding a Device
On the ‘Add Perfecto Mobile Device’ page, you can select the Platform where testing is going to 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:
Before selecting the Device, note that there are three radio buttons below Device which 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’ as well as devices that are currently available for testing.
- If Reserved By You is selected, the Device dropdown will offer ‘any’ as well as any devices that 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 which 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.
Back on the Browser Provider details screen, you can now click the ‘OK’ button to complete adding the new Browser Provider.
Now that you have added a new Browser Provider for Perfecto Mobile, you should see this reflected on the Browser Providers tab:
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:
Then, on the Properties section, click the Add New (‘+’) button.
On the Add new Desired Capability screen, you can add properties such as Name, Environment (‘any’ is available if this doesn’t need specifying), Platform (the device on which the tests should be executed) and Value (see below).
Note that Value represents the repository path where the mobile app is placed. This is defined as follows in Perfecto:
If you have an account with Perfecto you can use the Repository tab to place your mobile app. You will have two sections, one Public (named ‘Public Media’) and one Private (‘My Media’):
Based on the private or public repository you have chosen in Perfecto, configure the Value in Desired Capability.
If the mobile app is under a private repository, the path will appear as follows:
PRIVATE: App Name, eg. PRIVATE:ServiceMax Field Service_188.8.131.523_resigned.ipa
If it’s in a public repository, the value will appear as follows:
PUBLIC: App Name
Once you are happy with the information added, click the ‘OK’ button to add the Desired Capability. Once back on the Add new Mobile App screen, click the ‘OK’ button again to add the new Mobile App.
Now that you have added a new Mobile App for Perfecto Mobile, you should see this reflected on the Mobile Apps tab:
Running Tests on Perfecto
To start executing test cases, first select the new Web Browser which you created above:
To create a new Test Case using the setup above, create a new Test Case and select your mobile application, such as ServiceMax FSA. (Note that you can also run existing test cases if you select the mobile application where your Perfecto app settings are stored).
Click the ‘Finish’ button, then build your test case as usual.
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:
You can also access an execution report by clicking More > Execution Center:
To see more detail, click on any row: