Skip to main content

Upload and Download Files

This guide provides a step-by-step process for uploading and downloading files within Kane AI, a cloud-based testing platform provided by LambdaTest. Users can easily upload files from their local system, access pre-uploaded files, and download files generated during a test session.

Prerequisites

  • A valid LambdaTest account with access to Kane AI.
  • An active test session on Kane AI.
  • Supported file formats:
    • Images : JPG, JPEG, PNG, GIF (Maximum size: 10 MB)
    • Videos : MP4 (Maximum size: 50 MB)
    • Files : XLS, XLSX, DOC, DOCX, PDF, CSV, TXT (Maximum size: 15 MB)

Steps to Upload a File

Step 1: Initiate a Test Session

  • Log in to your LambdaTest account.
  • Click on Create a Web Test to start a new session within Kane AI.
Image

Step 2: Navigate to the Upload Section

  • Within the test session, navigate to the specific webpage where file uploads are required.
  • Type a slash (/) to access the file selection menu.
Image

Step 3: Select Files for Upload

  • Choose to either:
    • Select from pre-uploaded files.
    • Upload files from your local system.
  • Ensure the upload limit does not exceed 5 files per session.
  • Supported file formats:
    • Images : JPG, JPEG, PNG, GIF (Maximum size: 10 MB)
    • Videos : MP4 (Maximum size: 50 MB)
    • Files : XLS, XLSX, DOC, DOCX, PDF, CSV, TXT (Maximum size: 15 MB)
  • Click Add File to confirm your selection.
Image

Step 4: File Upload Process

  • Upon clicking Add File, the selected files are uploaded successfully to the downloads folder within the session.
  • These files are treated as variables and their paths are dynamically assigned.
  • These variables are named with prefix FILE_

Step 5: Accessing Uploaded Files

  • In the test environment, type upload in the command field.
  • Select the required file from the available list using double-curly braces syntax (e.g.,upload {{FILE_IMAGE_1_PNG}} in upload section).
  • Kane AI will detect the appropriate action for uploading and provide relevant options.
  • On the right panel, all downloaded files in the session’s downloads folder will be displayed.
Image

Downloading Files from Kane AI

Step 1: Managing Downloaded Files

  • Files added during the session will be visible in the downloads section.
  • Users can either download all files at once or select specific files for download.
Image

Step 2: Reviewing Uploaded Files Post-Test

  • After test completion, all uploaded files are recorded as variables.
  • These files are also available as attachments in the test summary page for easy reference and download.

The file upload and download functionality in Kane AI enhances test automation by providing easy access to necessary files. By following these steps, testers can efficiently manage files during their test sessions.

Image

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles