Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Jul 08, 2020 11:41

The Perfecto Repository is the storage where you keep and manage all your digital assets, such as Android and iOS apps, images, audio files, scripts, or any other files you may need for testing purposes. In the Repository management view, you can upload, download, and delete files, search for files, or modify file information.

The repository has a flat structure. It does not include any folders or subfolders. If you need to distinguish between files that have the same filename, you can change the file name. If you need to keep the file name, you can change the locator, which essentially serves as a virtual path. The locator is the file path that is included in your automation code and API calls. If you migrated from a repository in the legacy Perfecto UI, the locator also represents the former folder structure or hierarchy. It allows you to find files that once used to reside in the same folder.

You can keep files private, make them publicly available, or give access permission to people in your group. These categories are represented as dedicated tabs at the top of the Repository management view.

The panel on the left provides access to specific file types: All apps, Android apps, iOS apps, images, audio files, and other miscellaneous files. You can also view all files recently used, provided you have view permissions for them.

The maximum file size is 1 GB for applications and 150 MB for all other files. All file types are supported.

Note: You can also work with the repository via the Perfecto REST API. For details, see Repository Operations.

Repository files are available to you when you use features such as audio injection, image injection, and image analysis.

Watch this short video to get an overview of repository management.

To upload a file
  1. At the bottom right, click the upload icon .
  2. Browse to the file you want to upload, select it, and click Open.
  3. In the Upload file form, specify the following:
    • The file name: By default, this is the existing name of the file, but you can change it as needed.
    • The folder: This is the virtual folder. It specifies who has view access. Do you want to keep the file private, make it public, or restrict access to your group?
    • The locator: This is the virtual path that you will use in your automation code. By default, it consists of the virtual folder name and the file name (for example: My group: sample-app.apk), but you can insert additional levels between the virtual folder and the file name.
      To edit the locator: Click the pencil icon , enter the additional level or levels, and then click the disk icon  to save your change.
  4. Click UPLOAD to complete the process.
To download a file
  1. Move the pointer over a file.
  2. On the right, click the download icon .
To delete a file
  1. Move the pointer over a file.
  2. On the right, click the delete icon .
To view, copy, or update file information
  1. Click a file in the list.
  2. In the information panel on the right, do any of the following:
    1. Under Locator, click Copy to clipboard to use this information in your automation scripts.
    2. Edit the locator or file name.
To search for a file
  • At the top right, in the Search field, start typing.
    Search results are dynamic and update as you type. You can search by file name or any other field information.