Document toolboxDocument toolbox

Header

(8.6.X) Executions on Perfecto

Introduction

Perfecto is a cloud-based lab for Web and Mobile application testing. It allows running tests in the cloud using different combinations of operating systems, browsers, and browser versions. In this environment, all desktop web application tests are executed on virtual machines (VMs) and mobile application tests are executed on physical devices. Perfecto allows you viewing video recordings of the test case executions after the suite executions are completed.

To know more about Perfecto, click here.

Prerequisites

Before you start offline execution on Perfecto, ensure you have:

  • An active account with valid Username/Access Key. If you don’t have an account, then you need to create an account first using this link https://trial.app.perfectomobile.com/
  • Sufficient balance of execution hours

Execution Guidelines

To execute tests on Perfecto, follow these steps:

  1. Sign into your Perfecto account.
  2. Click LEARN MANUAL TESTING.


  3. Select DESKTOP WEB in the What would you like to test? window.


  4. Click LET'S GO.


  5. In the next window, select Operating System and Browser of your choice.


  6. Next, set all the capabilities in the CAPABILITIES tab. 


  7. Now, open Qualitia Automation Studio and login.
  8. Go to the Execute tab.
  9. Click Execution Profile.
  10. Click the plus icon to add new Execution Profile.
  11. Provide a name for the Execution Profile.
  12. Under Execution Configuration > Web Environment select Perfecto
  13. Under Web Execution Platform select Perfecto.
  14. In the Desired Capabilities window, enter all the following mandatory fields by selecting the checkbox:
    1. url
    2. securityToken
    3. platformName
    4. platformVersion
    5. location
    6. resolution


      Note: You can find the security token in the My security token option present under the Profile menu.




  15. Select Chrome under Browser and enter the version in the Desired Capabilities section.


  16. Navigate to the Suite Execution tab.
  17. Create a test suite and test case.
  18. Select the Execution Profile you created.


  19. Click on the run now icon.
  20. Verify the report in RTR.


  21. Go to Perfecto.
  22. Click Onboarding > Test Analysis.


  23. Verify the execution.


  24. You can also see the video recording as shown in the following screenshot:

Executing Test Cases Behind Firewall Applications

Few applications are configured to be accessed using private networks. Such applications deny access when they are being accessed from other than local networks and so from Perfecto. Executing test cases on Perfecto for such applications needs special configurations.

Simply download Perfecto Connect client executable that matches your Operating System. You need to execute it on the machine in the private network to allow Perfecto executing tests flawlessly.

For more information on configuration of Perfecto connect, refer to the Perfecto documentation.

To configure perfecto to run test cases for the applications behind firewall:

  1. Download Perfecto Connect executable depending on your OS.
  2. Unzip the folder and run the file using command line interface along with Cloud URL and Security Token
    For example: 

    perfectoconnect.exe -c <Perfecto_Cloud_URL> -s <Security_token>



  3. Executing this file will give you the tunnel ID.
  4. Under Edit Additional capabilities, enter the tunnel ID in tunnelId. 

For more information about this, refer to the Perfecto documentation.

Footer