- getting started
Introduction: Cloud
Frequently Asked Questions
Telemetry
Testsigma Terminology
Testsigma Sample Applications
Command Center
- collaboration
Invite Team Members
Assign Projects
Users & Role Management
Review Management [Test Cases]
Review Management [Elements]
Execution Controls
Features & Scenarios
Manage Test Cases
Test Case List Actions
Import Test Project Test Cases
Importing Postman Collections and Environments
Update Test Case Result in a Test Plan
Test Cases (Mobile Web App)
Custom Fields for Test Cases
Label Management
- Test Step Types
Type: Natural Language
Type: REST API
Type: Step Group
Type: For Loop
Type: While Loop
Type: Block
Type: If Condition
Nested Step Groups
Image Injection
Cross-application testing
- Test Data Types
Raw
Parameter
Runtime
Random
Data Generator
Phone Number
Mail Box
Environment
Concat Test Data
Create Test Data Profile
Update Test Data Profile
Updating Value in TDP
Import TDP
Bulk Deletion of a Test Data Profile
Create Test Data [Environment]
- data generators
Default Test Data Generators
Address Function Type
ChangeDataType Function Type
Company Function Type
DateFunctions Function Type
DomainFunctions Function Type
EmailFunctions Function Type
File Function Type
Friends Function Type
IdNumber Function Type
Internet Function Type
MailboxAliasFunctions Function Type
MailboxFunctions Function Type
Name Function Type
NameFunctions Function Type
Number Function Type
NumberFunctions Function Type
Phone Number Function Type
PhoneNumberFunctions Function Type
Random String Function Type
RandomText Function Type
StringFunctions Function Type
TestDataFromProfile Function Type
- Elements (Objects)
- Web Applications
Record Single Element
Record Multiple Elements
Create Elements
Supported Locator Types
Formulating Elements
Shadow DOM Elements
Verifying elements in Chrome DevTools
Handling iframe Elements?
Create Image Based Elements
Dynamic Locators using Parameter
Dynamic Locators using Runtime
Using Environment Test Data for Dynamic Locators
Locating Dynamic Elements in Date Widget
Freeze & Inspect Dynamic Elements (WebPage)
Locating Dynamic Elements in Tables
Import/Export Elements
AI Enabled Auto-Healing
Locator Precedence (Web Apps)
Verify Elements from Test Recorder
- test step recorder
Install Chrome Extension
Install Firefox Extension
Install Edge Extension
Exclude Attributes/Classes
- test plans
Add, Edit, Delete Test Machines
Add, Edit, Delete Test Suites
Schedule Test Plans
Run Test Suites In Parallel
Cross Browser Testing
Distributed Testing
Headless Testing
Test Lab Types
Disabling Test Cases in Test Plans
AfterTest Case
Post Plan Hook
AfterTest Suite
Email Configuration in Test Plan
Execute Partial Test Plans via API
- runs
Ad-hoc Run
Test Plan Executions
Dry Runs on Local Devices
Run Tests on Private Grid
Run Tests on Vendor Platforms
Run Test Plans on Local Devices
Test Locally Hosted Applications
Debug Test Case Failures
Parallel and Allowed queues
Introduction: Testsigma Terminal
Installing Testsigma Terminal
Editing a Test Case Using Live Editor
FAQs on Testsigma Terminal
- Testsigma Agent
Pre-requisites
Setup: Windows, Mac, Linux
Setup: Android Local Devices
Setting up iOS Local Devices
Update Agent Manually
Update Drivers Manually
Delete Corrupted Agent
Delete Agents: Soft & Permanent
Triggering Tests on Local Devices
- troubleshooting
Agent - Startup and Registration Errors
Agent Logs
Upgrade Testsigma Agent Automatically
Specify Max Sessions for Agents
Testsigma Agent - FAQs
- continuous integration
Test Plan Details
REST API (Generic)
Jenkins
Azure DevOps
AWS DevOps
AWS Lambda
Circle CI
Bamboo CI
Travis CI
CodeShip CI
Shell Script(Generic)
Bitrise CI
GitHub CI/CD
Bitbucket CI/CD
GitLab CI/CD
Copado CI/CD
Gearset CI/CD
- desired capabilities
Most Common Desired Capabilities
Browser Console Debug Logs
Geolocation Emulation
Bypass Unsafe Download Prompt
Geolocation for Chrome & Firefox
Custom User Profile in Chrome
Emulate Mobile Devices (Chrome)
Add Chrome Extension
Network Throttling
Network Logs
Biometric Authentication
Enable App Resigning in iOS
Enable Capturing Screenshots (Android & iOS)
Configure Android WebViews
Incognito/Private mode
Set Google Play Store Credentials
Basic Authentication [Safari]
- addons
What is an Addon?
Addons Community Marketplace
Install and Use Community Addons in Testsigma
Prerequisites for creating add-ons
Create an Addon
Update Addon
Addon Types
Create a Post Plan Hook add-on in Testsigma
Create OCR Text Extraction Addon
- configuration
API Keys
- Security(SSO)
Setting Up Google Single Sign-On(SSO) Login in Testsigma
Setting Up Okta Single Sign-On Integration with SAML Login in Testsigma
Setting up SAML-based SSO login for Testsigma in Azure
iOS Settings
Create WDA File
SMTP Configuration
Manage Access
- uploads
Upload Files
Upload Android and iOS Apps
How to generate mobile builds for Android/iOS applications?
- Testsigma REST APIs
Manage Environments
Elements
Test Plans
Upload Files
Get Project Wide Information
Upload & Update Test Data Profile
Fetch Test Results (All Levels)
Trigger Multiple Test Plans
Trigger Test Plans Remotely & Wait Until Completion
Run the Same Test Plan Multiple Times in Parallel
Schedule, Update & Delete a Test Plan Using API
Update Test Case Results Using API
Create and update values of Test Data Profile using REST API
Rerun Test Cases from Run Results using API
Salesforce Metadata Refresh Using API
- open source dev environment setup
macOS and IntelliJ Community Edition
macOS and IntelliJ Ultimate Edition
Windows and IntelliJ Ultimate Edition
Setup Dev Environment [Addons]
- NLPs
Retrieve Value in Text Element
Capture Dropdown Elements
Unable to Select Radiobutton
Unable to Click Checkbox
Clearing the Session or Cookies
UI Identifier NLP
Drag & Drop NLP
Uploading Files NLP
Use MySQL Addon in NLPs
- setup
Server Docker Deployment Errors
Secured Business Application Support
Troubleshooting Restricted Access to Testsigma
Why mobile device not displayed in Testsigma Mobile Test Recorder?
Unable to Create New Test Session
Agent Startup Failure Due to Used Ports
Tests Permanently Queued in Local Executions
Fix Testsigma Agent Registration Failures
Testsigma Agent Cleanup
Need of Apache Tomcat for Testsigma Agent
- web apps
URL not accessible
Test Queued for a Long Time
Issues with UI Identifiers
Missing Elements in Recorder
Collecting HAR File
Errors with Browser Session
Page Loading Issues
- mobile apps
Failed to Start Mobile Test Recorder
Troubleshooting “Failed to perform action Mobile Test Recorder” error
Why Test Execution State is Queued for a Long Time?
Why Mobile App Keeps Stopping After Successful Launch?
More pre-requisite settings
Why am I not able to start WDA Process on iPhone?
What are the Most Common causes for Click/Tap NLP Failure?
How to Find App Package & Activity in Android?
Cross-environment Compatible ID Locators (Android)
Why Accessibility IDs Over other Locators?
What are Common Android Issues & Proposed Solutions?
How to Find the App Bundle ID for iOS?
Developer Mode (iOS 16 & Above)
How to Handle iOS App Compatibility Issues?
How to Disable Play Protect for SMS Forwarder Installation?
How to Capture Network Logs in an Android Application?
- web apps
Why Install Chrome Extension?
Steps to Test Locally Hosted Apps
How to Turnoff Onboading Tutorial?
Non-Text Keys in Test Cases
Basic Authentication for Web
Why Bypass CAPTCHA?
Test Case Failures Due to Link Text Capture Issues
Why Is a Single Video for All Test Cases in a Test Plan Unavailable in Some Cases?
- accessibility testing
Accessibility Testing for Web Applications
Accessibility Testing for Android & iOS
- salesforce testing
Intro: Testsigma for Salesforce Testing
Creating a Connected App
Creating a Salesforce Project
Test Salesforce Connection Before Authorization
Creating Metadata Connections
Adding User Connections
Build Test Cases: Manual+Live
Salesforce Element Repositories
Intro: Testsigma Special NLPs
SOQL as Test Step
Query Builder for Salesforce Testing
Automating Listview Table NLPs
Error Handling On Metadata Refresh
Introduction: SAP Automation
Selective Element Recorder
Batch Element Recorder
Creating Test Cases for SAP Automation
List of Actions
- desktop automation
Introduction: Desktop Automation
Create Projects and Applications
Selective Element Recorder
Batch Element Recorder
Creating Test Cases for Desktop Automation
Intro: Windows Automation (Lite)
Windows (Lite) Project & Application
Element Learning with Test Recorder
Test Cases for Windows (Lite)
- GenAI Capabilities
Testsigma Copilot
Generate TDP Using Copilot
Generate Tests from User Actions
Generate Tests from Requirements (Jira)
Generate API Test Cases (Swagger)
Generate Tests from Figma Designs
Testsigma Copilot for Mobile Apps
Agentic Test Generation with GitHub
Intro: Windows Desktop Automation
Windows (Adv) Project & Application
Object Learning (Using UFT One)
Converting TSR Files to TSRx
Importing/Updating TSRx Files
Test Cases for Windows Automation
Error Handling Post TSRx File Update
- testsigma tunnel
Intro: Testsigma Tunnel
Components & Requirements
Setup and Installation: Mac
Setup and Installation: Windows
Setup and Installation: Linux
Setup and Installation: Docker
Using Testsigma Tunnel
- open source docs
Intro: Testsigma Community Edition
Testsigma Community Cloud
Testsigma Docker Setup
Reset Password
Upload Files using API
You can easily update or add files during test runs in your Continuous Integration (CI) pipeline using APIs. Once the updated file is uploaded, it becomes available for subsequent executions. This article discusses uploading and updating files using APIs.
Prerequisites
Before you begin, ensure you have an API Key from Testsigma application.
Upload New File API
This endpoint allows users to upload attachments, such as IPA or APK files, to Testsigma Uploads using the REST API.
Request Type | POST |
---|---|
Endpoint | https://app.testsigma.com/api/v1/uploads |
Authorization | Bearer <API_Token> Same as the Testsigma API Key mentioned above. |
Request Body Type | Multipart form-data |
Request Body(form data) | - projectId: 24 - name: APIFileUpload - uploadType: Attachment - platformType: TestsigmaLab - isPublic: true - applicationId: 43 - version: v101 - fileContent: UploadFile_Here |
Response Body(JSON) | { "id": 62, "createdById": 10, "updatedById": 10, "createdDate": 1681974022556, "updatedDate": 1681974022769, "name": " APIFileExample", "latestVersionId": 68, "latestVersion": { "id": 68, "createdById": 10, "updatedById": 10, "createdDate": 1681974023000, "updatedDate": 1681974023000, "name": "v101", "path": "46091/uploads/24/68/example.png", "fileName": "example.png", "uploadType": "Attachment", "testsigmaSauceLabsAppId": null, "testsigmaBrowserstackAppId": null, "testsigmaKobitonAppId": null, "testsigmaLambdatestAppId": null, "fileSize": 181368, "preSignedURL": null, "signed": false, "errorMessage": null, "status": "SUCCESS", "uploadName": " APIFileExample", "signStatus": "NONE", "uploadId": 62 }, "versions": null, "supportedDeviceType": null, "isFlutter": false } Note: The Response Body may contain additional information besides the mentioned keys. You can ignore that information. |
Request fields
- projectId (int): The ID of the project.
- name (string): The name of the file.
- uploadType (string): The type of upload (e.g. "Attachment").
- platformType (string): The type of platform (e.g. "TestsigmaLab").
- isPublic (boolean): Whether or not the file is public.
- applicationId (int): The ID of the application.
- version (string): The version of the file.
Response fields
- id (int): The ID of the file.
- createdById (int): The user's ID who created the file.
- updatedById (int): The user's ID who last updated the file.
- createdDate (int): The timestamp when the file was created.
- updatedDate (int): The timestamp when the file was last updated.
- name (string): The name of the file.
- latestVersionId (int): The ID of the latest version of the file.
-
latestVersion (object): An object containing information about the latest version of the file. This object has its own set of fields:
- id (int): The ID of the latest version of the file.
- createdById (int): The ID of the user who created the latest version of the file.
- updatedById (int): The ID of the user who last updated the latest version of the file.
- createdDate (int): The timestamp when the latest version of the file was created.
- updatedDate (int): The timestamp when the latest version of the file was last updated.
- name (string): The name of the latest version of the file.
- path (string): The path to the latest version of the file.
- fileName (string): The name of the latest version of the file, including the file extension.
- uploadType (string): The type of upload (e.g. "Attachment").
- testsigmaSauceLabsAppId (string/null): The ID of the Testsigma Sauce Labs app associated with the file, if any.
- testsigmaBrowserstackAppId (string/null): The ID of the Testsigma BrowserStack app associated with the file, if any.
- testsigmaKobitonAppId (string/null): The ID of the Testsigma Kobiton app associated with the file, if any.
- testsigmaLambdatestAppId (string/null): The ID of the Testsigma Lambdatest app associated with the file, if any.
- fileSize (int): The size of the latest version of the file in bytes.
- preSignedURL (string/null): The pre-signed URL of the latest version of the file, if any.
- signed (boolean): Whether or not the latest version of the file is signed.
- errorMessage (string/null): Any error message associated with the latest version of the file, if any.
- status (string): The status of the latest version of the file (e.g. "SUCCESS").
- uploadName (string): The name of the file that was uploaded to create the latest version of the file.
- signStatus (string): The signing status of the latest version of the file (e.g. "NONE").
- uploadId (int): The ID of the file that was uploaded to create the latest version of the file.
- versions (null): A placeholder field not currently used.
- supportedDeviceType (null): A placeholder field not currently being used.
- isFlutter (boolean): Whether or not the file is a Flutter project.
Update File API
This endpoint allows users to upload updated attachments, such as IPA or APK files, to Testsigma Uploads using the REST API.
Request Type | PUT |
---|---|
Endpoint | https://app.testsigma.com/api/v1/uploads/<Upload_ID> The Upload ID can be obtained from the Uploads Page as mentioned in the below section |
Authorization | Bearer <API_Token> Same as the Testsigma API Key mentioned above. |
Request Body Type | Multipart form-data |
Request Body(form data) | - projectId: 24 - name: APIFileUpdated - uploadType: Attachment - platformType: TestsigmaLab - isPublic: true - applicationId: 43 - version: v101 - fileContent: UploadFile_Here |
Response Body(JSON) | { "id": 62, "createdById": 10, "updatedById": 10, "createdDate": 1681974023000, "updatedDate": 1681974187126, "name": " APIFileUpdated", "latestVersionId": 68, "latestVersion": { "id": 68, "createdById": 10, "updatedById": 10, "createdDate": 1681974023000, "updatedDate": 1681974023000, "name": "v101", "path": "46091/uploads/24/68/example.png", "fileName": "example.png", "uploadType": "Attachment", "testsigmaSauceLabsAppId": null, "testsigmaBrowserstackAppId": null, "testsigmaKobitonAppId": null, "testsigmaLambdatestAppId": null, "fileSize": 181368, "preSignedURL":"https://s3.amazonaws.com/attachments-production.testsigma.com/testsigmatech.com/uploads/11/147/Testfile.pdf?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPDYqAbdKsCA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20211027T080801Z&X-Amz-SignedHeaders=host&X-Amz-Expires=10799&X-Amz-Credential=AS211027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=0e2f85ef6c0069e014", "signed": false, "errorMessage": null, "status": "SUCCESS", "uploadName": " APIFileUpdated", "signStatus": "NONE", "uploadId": 62 }, "versions": null, "supportedDeviceType": null, "isFlutter": false } Note: The Response Body may contain additional information besides the mentioned keys. You can ignore that information. |
Request fields
- projectId (required): An integer representing the ID of the project
- name (required): A string representing the name of the API file that was updated
- uploadType (required): A string representing the type of file upload (e.g. "Attachment", "Link", etc.)
- platformType (required): A string representing the type of platform the API file was updated on (e.g. "TestsigmaLab", "Postman", etc.)
- isPublic (optional): A boolean indicating whether the updated API file should be publicly accessible or not (default is usually false)
- applicationId (optional): An integer representing the ID of the application associated with the updated API file
- version (optional): A string representing the version of the updated API file (e.g. "v101")
Response fields
- id (integer): ID of the API file
- createdById (integer): The user's ID who created the file.
- updatedById (integer): The user's ID who last updated the file.
- createdDate (integer): timestamp when the API file was created
- updatedDate (integer): timestamp when the API file was last updated
- name (string): name of the API file
- latestVersionId (integer): ID of the latest version of the API file
-
latestVersion (object): object containing details of the latest version of the API file, including:
- id (integer): ID of the latest version
- createdById (integer): ID of the user who created the latest version
- updatedById (integer): ID of the user who last updated the latest version
- createdDate (integer): Timestamp when the latest version was created
- updatedDate (integer): Timestamp when the latest version was last updated
- name (string): Name of the latest version
- path (string): Path of the file in the server
- fileName (string): Name of the file
- uploadType (string): Type of upload
- testsigmaSauceLabsAppId (null or string): Sauce Labs App ID for the upload
- testsigmaBrowserstackAppId (null or string): BrowserStack App ID for the upload
- testsigmaKobitonAppId (null or string): Kobiton App ID for the upload
- testsigmaLambdatestAppId (null or string): LambdaTest App ID for the upload
- fileSize (integer): Size of the file in bytes
- signed (boolean): Whether the file is signed or not
- errorMessage (null or string): Error message if any
- status (string): Status of the file upload
- uploadName (string): Name of the upload
- signStatus (string): Sign status of the file
- uploadId (integer): ID of the upload
- versions (null): Versions of the API file
- supportedDeviceType (null): Device types supported by the API file
- isFlutter (boolean): Whether the API file is for Flutter or not
All properties mentioned in the section ‘Upload File properties for Upload file API’ are applicable here in addition to the properties mentioned below.
Upload ID: This can be found from the API Response while uploading the file. You can also find the Upload ID later from the Copy Path option.
The copy path URL is in the format:
testsigma-storage:/<account-name>/uploads/<project-id>/<upload-id>/file.pdf
For example, In the URL: testsigma-storage:/testsigma.com/uploads/101/147/file.pdf, the app ID is 147
GET Upload API
Will Return the Upload details
Request Type | GET |
---|---|
Endpoint | https://app.testsigma.com/api/v1/uploads/<Upload_ID> The Upload ID can be obtained from the Uploads Page as mentioned in below section |
Authorization | Bearer <API_Token> Same as the Testsigma API Key mentioned above. |
Response Body(JSON) | { "id": 147, "projectId": 11, "createdById": 43, "updatedById": 43, "createdDate": 1633535450000, "updatedDate": 1635322081221, "name": "test-file", "appPath": "testsigmatech.com/uploads/11/147/Testfile.pdf", "fileName": "Testfile.pdf", "uploadType": "Attachment", "version": null, "testsigmaAppId": null, "testsigmaSauceLabsAppId": null, "browserStackAppId": null, "sauceLabsAppId": null, "platformType": "TestsigmaLab", "isPublic": null, "uploadStatus": "Completed", "comments": null, "message": "Uploaded successfully", "status": 1, "nameFromApp": null, "versionFromApp": null, "fileSize": 334666, "preSignedURL": "https://s3.amazonaws.com/attachments-production.testsigma.com/testsigmatech.com/uploads/11/147/Testfile.pdf?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPDYqAbdKsCA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20211027T080801Z&X-Amz-SignedHeaders=host&X-Amz-Expires=10799&X-Amz-Credential=AS211027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=0e2f85ef6c0069e014", "signed": false } Note: The Response Body may contain additional information besides the mentioned keys. You can ignore that information. |
Response fields
- id (integer): The unique identifier of the file.
- projectId (integer): The identifier of the project that the file belongs to.
- createdById (integer): The identifier of the user who created the file.
- updatedById (integer): The identifier of the user who last updated the file.
- createdDate (integer): The date and time the file was created in UNIX timestamp format.
- updatedDate (integer): The file's date and time were last updated in UNIX timestamp format.
- name (string): The name of the file.
- appPath (string): The file path in the application's storage system.
- fileName (string): The name of the file with its extension.
- uploadType (string): The type of file upload, for example, "Attachment".
- version (string): The version number of the file, if applicable.
- testsigmaAppId (string): The file identifier in the TestSigma application, if applicable.
- testsigmaSauceLabsAppId (string): If applicable, the file identifier in the TestSigma SauceLabs application.
- browserStackAppId (string): The file identifier in the BrowserStack application, if applicable.
- sauceLabsAppId (string): The file identifier in the SauceLabs application, if applicable.
- platformType (string): The type of platform where the file was uploaded, for example, "TestsigmaLab".
- isPublic (boolean): A flag indicating whether the file is public or not.
- uploadStatus (string): The file upload status is "Completed".
- comments (string): Any comments related to the file.
- message (string): A message related to the file upload, for example, "Uploaded successfully".
- status (integer): The status of the file, for example, 1 for active or 0 for inactive.
- nameFromApp (string): The file's name in the application, if different from the original name.
- versionFromApp (string): The file's version number in the application, if applicable.
- fileSize (integer): The size of the file in bytes.
- preSignedURL (string): A pre-signed URL that allows authorised access to the file.
- signed (boolean): A flag indicating whether the pre-signed URL is signed.
GET Uploads API
Will Return the Upload details
Request Type | GET |
---|---|
Endpoint | https://app.testsigma.com/api/v1/uploads?query=name:<upload_name> The Upload ID can be obtained from the Uploads Page as mentioned in below section |
Authorization | Bearer <API_Token> Same as the Testsigma API Key mentioned above. |
Response Body(JSON) | { "id": 147, "projectId": 11, "createdById": 43, "updatedById": 43, "createdDate": 1633535450000, "updatedDate": 1635322081221, "name": "test-file", "appPath": "testsigmatech.com/uploads/11/147/Testfile.pdf", "fileName": "Testfile.pdf", "uploadType": "Attachment", "version": null, "testsigmaAppId": null, "testsigmaSauceLabsAppId": null, "browserStackAppId": null, "sauceLabsAppId": null, "platformType": "TestsigmaLab", "isPublic": null, "uploadStatus": "Completed", "comments": null, "message": "Uploaded successfully", "status": 1, "nameFromApp": null, "versionFromApp": null, "fileSize": 334666, "preSignedURL": "https://s3.amazonaws.com/attachments-production.testsigma.com/testsigmatech.com/uploads/11/147/Testfile.pdf?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPDYqAbdKsCA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20211027T080801Z&X-Amz-SignedHeaders=host&X-Amz-Expires=10799&X-Amz-Credential=AS211027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=0e2f85ef6c0069e014", "signed": false } Note: The Response Body may contain additional information besides the mentioned keys. You can ignore that information. |
Response fields
- id (integer): Unique identifier for the uploaded file.
- projectId (integer): An identifier for the project to which the file belongs.
- createdById (integer): An identifier for the user who uploaded the file.
- updatedById (integer): An identifier for the user who last updated the file.
- createdDate (integer): Timestamp in milliseconds indicating when the file was uploaded.
- updatedDate (integer): Timestamp in milliseconds indicating when the file was last updated.
- name (string): Name of the uploaded file.
- appPath (string): The file path in the application's storage.
- fileName (string): The name of the uploaded file.
- uploadType (string): The type of upload (e.g., "Attachment").
- version (string): The version number of the uploaded file.
- testsigmaAppId (string): An identifier for the uploaded file in Testsigma.
- testsigmaSauceLabsAppId (string): An identifier for the uploaded file in SauceLabs.
- browserStackAppId (string): An identifier for the uploaded file in BrowserStack.
- sauceLabsAppId (string): An identifier for the uploaded file in SauceLabs.
- platformType (string): The platform type for the uploaded file (e.g., "TestsigmaLab").
- isPublic (boolean): Indicates whether the uploaded file is public.
- uploadStatus (string): The status of the file upload (e.g., "Completed").
- comments (string): Comments for the uploaded file.
- message (string): A message indicating the success or failure of the file upload.
- status (integer): The status code indicating the success or failure of the file upload.
- nameFromApp (string): The name of the uploaded file from the application.
- versionFromApp (string): The version number of the uploaded file from the application.
- fileSize (integer): The uploaded file size in bytes.
- preSignedURL (string): The pre-signed URL of the uploaded file.
- signed (boolean): Indicates whether the uploaded file is signed.
GET Upload Versions API
Will Return All Versions of the UploadID/File
Request Type | GET |
---|---|
Endpoint | https://app.testsigma.com/api/v1/upload_versions?query=uploadId: The Upload ID can be obtained from the Uploads Page as mentioned in below section |
Authorization | Bearer <API_Token> Same as the Testsigma API Key mentioned above. |
Response Body(JSON) | [{ "id": 147, "createdById": 43, "updatedById": 43, "createdDate": 1633535450000, "updatedDate": 1635322081221, "name": "test-file", "appPath": "testsigmatech.com/uploads/11/147/Testfile.pdf", "fileName": "Testfile.pdf", "uploadType": "Attachment", "testsigmaAppId": null, "testsigmaSauceLabsAppId": null, "browserStackAppId": null, "sauceLabsAppId": null, "fileSize": 334666, "preSignedURL": "https://s3.amazonaws.com/attachments-production.testsigma.com/testsigmatech.com/uploads/11/147/Testfile.pdf?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPDYqAbdKsCA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20211027T080801Z&X-Amz-SignedHeaders=host&X-Amz-Expires=10799&X-Amz-Credential=AS211027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=0e2f85ef6c0069e014", "signed": false }] Note: The Response Body may contain additional information besides the mentioned keys. You can ignore that information. |
Response fields
- id (integer): The unique identifier of the file upload.
- createdById (integer): The unique identifier of the user who created the file upload.
- updatedById (integer): The unique identifier of the user who last updated the file upload.
- createdDate (integer): The date and time when the file upload was created.
- updatedDate (integer): The date and time the file upload was last updated.
- name (string): The name of the uploaded file.
- appPath (string): The application path where the file is stored.
- fileName (string): The name of the uploaded file.
- uploadType (string): The type of upload.
- testsigmaAppId (string): The ID of the Testsigma App associated with the file, if any.
- testsigmaSauceLabsAppId (string): The ID of the Sauce Labs App associated with the file, if any.
- browserStackAppId (string): The ID of the BrowserStack App associated with the file, if any.
- sauceLabsAppId (string): The ID of the Sauce Labs App associated with the file, if any.
- fileSize (integer):: The size of the uploaded file in bytes.
- preSignedURL (string): The pre-signed URL of the uploaded file.
- signed (boolean): A boolean value indicates whether the file upload is signed.