StartUpload

start_upload(public_api_client, file_name, artifact_type)

Description

To initiate upload of artifacts in chunks. (must be used of file size is greater than 10 MB).

Arguments

  • public_api_client: QDC api client object.
  • file_name: Name of the artifact to be uploaded.
  • artifact_type: Type of the artifact (TESTPACKAGE, TESTSCRIPT).

Returns

  • uuid: uuid of the uploaded artifact.
  • None: In case of any failure.

Usages

file_name = "C:\\Temp\\test.apk"
artifact_type = ArtifactType.TESTPACKAGE
uuid = start_upload(public_api_client, file_name, artifact_type)