Skip to content

Documentation / app-automate / AppAutomateClient

Class: AppAutomateClient

Defined in: app-automate/src/index.ts:4

Extends

  • GeneratedAppAutomateClient

Constructors

Constructor

new AppAutomateClient(options?): AppAutomateClient

Defined in: app-automate/src/index.ts:10

Parameters

ParameterType
options?BrowserStackOptions

Returns

AppAutomateClient

Overrides

GeneratedAppAutomateClient.constructor

Properties

PropertyModifierTypeInherited fromDefined in
authHeader?readonlystringGeneratedAppAutomateClient.authHeadercore/src/api-client.ts:50
baseUrlsreadonlyobjectGeneratedAppAutomateClient.baseUrlscore/src/api-client.ts:49
baseUrls.sdkpublicstring-core/src/api-client.ts:49
baseUrls.sdkCloudpublicstring-core/src/api-client.ts:49
fetchFnreadonly(input, init?) => Promise<Response>GeneratedAppAutomateClient.fetchFncore/src/api-client.ts:52
registryreadonlyCodecRegistryGeneratedAppAutomateClient.registrycore/src/api-client.ts:53
userAgentreadonlystringGeneratedAppAutomateClient.userAgentcore/src/api-client.ts:51
FlutterPlatformreadonlyobject-app-automate/src/index.ts:5
FlutterPlatform.androidreadonly"android"-app-automate/src/index.ts:6
FlutterPlatform.iosreadonly"ios"-app-automate/src/index.ts:7

Methods

deleteApp()

deleteApp(appId, options?): Promise<{ success: boolean; }>

Defined in: openapi/generated/app-automate.client.ts:846

Delete an app that was previously uploaded to BrowserStack. Note that apps once deleted cannot be recovered.

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ success: boolean; }>

Inherited from

GeneratedAppAutomateClient.deleteApp


deleteBuild()

deleteBuild(buildId, options?): Promise<{ message?: string; status?: string; }>

Defined in: openapi/generated/app-automate.client.ts:472

Delete a build on the server. Please note that deleting a build will delete all the sessions contained within it. Builds once deleted cannot be recovered

Parameters

ParameterType
buildIdstring
options?ExecuteOptions

Returns

Promise<{ message?: string; status?: string; }>

Inherited from

GeneratedAppAutomateClient.deleteBuild


deleteEspressoApp()

deleteEspressoApp(appId, options?): Promise<{ success: { message: string; }; }>

Defined in: openapi/generated/app-automate.client.ts:1050

Delete an app that was previously uploaded to BrowserStack. Note that apps once deleted cannot be recovered.

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ success: { message: string; }; }>

Inherited from

GeneratedAppAutomateClient.deleteEspressoApp


deleteFlutterAndroidApp()

deleteFlutterAndroidApp(appId, options?): Promise<{ success: { message: string; }; }>

Defined in: openapi/generated/app-automate.client.ts:880

Delete an app that was previously uploaded to BrowserStack. Note that apps once deleted cannot be recovered.

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ success: { message: string; }; }>

Inherited from

GeneratedAppAutomateClient.deleteFlutterAndroidApp


deleteFlutteriOSApp()

deleteFlutteriOSApp(appId, options?): Promise<{ success: { message: string; }; }>

Defined in: openapi/generated/app-automate.client.ts:1254

Delete a Flutter iOS test package that was previously uploaded to BrowserStack. Note that apps once deleted cannot be recovered.

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ success: { message: string; }; }>

Inherited from

GeneratedAppAutomateClient.deleteFlutteriOSApp


deleteMediaFile()

deleteMediaFile(mediaId, options?): Promise<{ success: boolean; }>

Defined in: openapi/generated/app-automate.client.ts:1016

Fetches list of recently uploaded media files for the entire group

Parameters

ParameterType
mediaIdstring
options?ExecuteOptions

Returns

Promise<{ success: boolean; }>

Inherited from

GeneratedAppAutomateClient.deleteMediaFile


deleteProject()

deleteProject(projectId, options?): Promise<{ message?: string; status?: string; }>

Defined in: openapi/generated/app-automate.client.ts:795

Delete a project on the server using the DELETE method. Please note that to delete a project, it needs to be empty of builds and sessions, and projects once deleted cannot be recovered

Parameters

ParameterType
projectIdstring
options?ExecuteOptions

Returns

Promise<{ message?: string; status?: string; }>

Inherited from

GeneratedAppAutomateClient.deleteProject


deleteSession()

deleteSession(sessionId, options?): Promise<{ message?: string; status?: string; }>

Defined in: openapi/generated/app-automate.client.ts:982

Delete a session on the server. Sessions once deleted cannot be recovered

Parameters

ParameterType
sessionIdstring
options?ExecuteOptions

Returns

Promise<{ message?: string; status?: string; }>

Inherited from

GeneratedAppAutomateClient.deleteSession


deleteXCUITestApp()

deleteXCUITestApp(appId, options?): Promise<{ success: { message: string; }; }>

Defined in: openapi/generated/app-automate.client.ts:574

Delete an app that was previously uploaded to BrowserStack. Note that apps once deleted cannot be recovered.

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ success: { message: string; }; }>

Inherited from

GeneratedAppAutomateClient.deleteXCUITestApp


execute()

protected execute<T>(spec): Promise<T>

Defined in: core/src/api-client.ts:103

Internal

Type Parameters

Type ParameterDefault type
Tunknown

Parameters

ParameterType
spec{[key: string]: unknown; baseUrl?: "sdk" | "sdkCloud"; method: HttpMethod; operationId: string; params?: { path?: Record<string, unknown>; query?: Record<string, unknown>; }; path: string; requestCodec?: string; requestCodecConfig?: unknown; requestInput?: unknown; responseCodec: string; responseCodecConfig: unknown; signal?: AbortSignal; }
spec.baseUrl?"sdk" | "sdkCloud"
spec.methodHttpMethod
spec.operationIdstring
spec.params?{ path?: Record<string, unknown>; query?: Record<string, unknown>; }
spec.params.path?Record<string, unknown>
spec.params.query?Record<string, unknown>
spec.pathstring
spec.requestCodec?string
spec.requestCodecConfig?unknown
spec.requestInput?unknown
spec.responseCodecstring
spec.responseCodecConfigunknown
spec.signal?AbortSignal

Returns

Promise<T>

Inherited from

GeneratedAppAutomateClient.execute


getAppiumLogs()

getAppiumLogs(buildId, sessionId, options?): Promise<string>

Defined in: openapi/generated/app-automate.client.ts:829

Access the Appium logs for your session. These are logs generated by the Appium server and contain the details about your each Appium command execution in the test session. You can troubleshoot any errors in case your test session failed.

Parameters

ParameterType
buildIdstring
sessionIdstring
options?ExecuteOptions

Returns

Promise<string>

Inherited from

GeneratedAppAutomateClient.getAppiumLogs


getAppProfilingDataV1()

getAppProfilingDataV1(buildId, sessionId, options?): Promise<object[]>

Defined in: openapi/generated/app-automate.client.ts:1203

Access the app profiling logs to view the resource consumption (CPU, memory, battery, and network) by your app on the device. The logs are only available for Android.

Parameters

ParameterType
buildIdstring
sessionIdstring
options?ExecuteOptions

Returns

Promise<object[]>

Inherited from

GeneratedAppAutomateClient.getAppProfilingDataV1


getAppProfilingDataV2()

getAppProfilingDataV2(buildId, sessionId, options?): Promise<{ data: {[key: string]: unknown; units?: {[key: string]: unknown; }; }; metadata: {[key: string]: unknown; }; }>

Defined in: openapi/generated/app-automate.client.ts:931

Access the detailed app profling metrics such as installed app size, UI rendering metrics, resource consumption metrics, etc.

Parameters

ParameterType
buildIdstring
sessionIdstring
options?ExecuteOptions

Returns

Promise<{ data: {[key: string]: unknown; units?: {[key: string]: unknown; }; }; metadata: {[key: string]: unknown; }; }>

Inherited from

GeneratedAppAutomateClient.getAppProfilingDataV2


getApps()

getApps(options?): Promise<DeepCamelCase<{ message: string; } | object[]>>

Defined in: openapi/generated/app-automate.client.ts:523

Fetches list of recently uploaded apps

Parameters

ParameterType
options?ExecuteOptions

Returns

Promise<DeepCamelCase<{ message: string; } | object[]>>

Inherited from

GeneratedAppAutomateClient.getApps


getAppsByCustomId()

getAppsByCustomId(customId, options?): Promise<DeepCamelCase<object[] | { message: string; }>>

Defined in: openapi/generated/app-automate.client.ts:1152

Fetches list of uploaded apps by custom ID

Parameters

ParameterType
customIdstring
options?ExecuteOptions

Returns

Promise<DeepCamelCase<object[] | { message: string; }>>

Inherited from

GeneratedAppAutomateClient.getAppsByCustomId


getBuild()

getBuild(buildId, options?): Promise<{ automationBuild: { automationProjectId?: number; buildTag: string; createdAt?: string; delta?: boolean; duration: number; framework?: string; groupId?: number; hashedId: string; name: string; status: "done" | "running" | "timeout" | "failed"; subGroupId?: number; testData?: {[key: string]: never; }; updatedAt?: string; userId?: number; }; sessions: object[]; }>

Defined in: openapi/generated/app-automate.client.ts:438

Fetches a build

Parameters

ParameterType
buildIdstring
options?ExecuteOptions

Returns

Promise<{ automationBuild: { automationProjectId?: number; buildTag: string; createdAt?: string; delta?: boolean; duration: number; framework?: string; groupId?: number; hashedId: string; name: string; status: "done" | "running" | "timeout" | "failed"; subGroupId?: number; testData?: {[key: string]: never; }; updatedAt?: string; userId?: number; }; sessions: object[]; }>

Inherited from

GeneratedAppAutomateClient.getBuild


getBuilds()

getBuilds(projectId?, limit?, offset?, status?, options?): Promise<GetAppAutomateBuildsResult>

Defined in: openapi/generated/app-automate.client.ts:1220

Fetch the 10 recent test builds that have run on BrowserStack. You can also limit the number of builds and paginate through your data

Parameters

ParameterType
projectId?string
limit?string
offset?string
status?string
options?ExecuteOptions

Returns

Promise<GetAppAutomateBuildsResult>

Inherited from

GeneratedAppAutomateClient.getBuilds


getDeviceLogs()

getDeviceLogs(buildId, sessionId, options?): Promise<string>

Defined in: openapi/generated/app-automate.client.ts:1186

Access the device logs for your session. These are system logs specific to your application generated by the OS(Android/iOS) and can be helpful for debugging any application crashes during test execution.

Parameters

ParameterType
buildIdstring
sessionIdstring
options?ExecuteOptions

Returns

Promise<string>

Inherited from

GeneratedAppAutomateClient.getDeviceLogs


getDevices()

getDevices(options?): Promise<object[]>

Defined in: openapi/generated/app-automate.client.ts:812

Fetches list of devices supported by App Automate

Parameters

ParameterType
options?ExecuteOptions

Returns

Promise<object[]>

Inherited from

GeneratedAppAutomateClient.getDevices


getEspressoApp()

getEspressoApp(appId, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:1033

Get details of an uploaded Espresso app

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.getEspressoApp


getEspressoApps()

getEspressoApps(scope?, customId?, limit?, options?): Promise<unknown>

Defined in: openapi/generated/app-automate.client.ts:914

Fetches list of recently uploaded Espresso apps

Parameters

ParameterType
scope?string
customId?string
limit?string
options?ExecuteOptions

Returns

Promise<unknown>

Inherited from

GeneratedAppAutomateClient.getEspressoApps


getFlutterAndroidApp()

getFlutterAndroidApp(appId, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:863

Get details of an uploaded Flutter app

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.getFlutterAndroidApp


getFlutterAndroidApps()

getFlutterAndroidApps(scope?, customId?, limit?, options?): Promise<unknown>

Defined in: openapi/generated/app-automate.client.ts:1169

Fetches list of recently uploaded Flutter apps

Parameters

ParameterType
scope?string
customId?string
limit?string
options?ExecuteOptions

Returns

Promise<unknown>

Inherited from

GeneratedAppAutomateClient.getFlutterAndroidApps


getFlutteriOSApp()

getFlutteriOSApp(appId, options?): Promise<{ customId?: string; shareableId?: string; testPackageId?: string; testPackageName?: string; testPackageUrl: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:1237

Get details of an uploaded Flutter iOS test package

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ customId?: string; shareableId?: string; testPackageId?: string; testPackageName?: string; testPackageUrl: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.getFlutteriOSApp


getFlutteriOSApps()

getFlutteriOSApps(scope?, customId?, limit?, options?): Promise<unknown>

Defined in: openapi/generated/app-automate.client.ts:1084

Fetches list of recently uploaded Flutter iOS test packages

Parameters

ParameterType
scope?string
customId?string
limit?string
options?ExecuteOptions

Returns

Promise<unknown>

Inherited from

GeneratedAppAutomateClient.getFlutteriOSApps


getGroupApps()

getGroupApps(options?): Promise<DeepCamelCase<object[] | { message: string; }>>

Defined in: openapi/generated/app-automate.client.ts:1118

Fetches list of recently uploaded apps for the entire group

Parameters

ParameterType
options?ExecuteOptions

Returns

Promise<DeepCamelCase<object[] | { message: string; }>>

Inherited from

GeneratedAppAutomateClient.getGroupApps


getGroupMediaFiles()

getGroupMediaFiles(options?): Promise<DeepCamelCase<object[] | { message: string; }>>

Defined in: openapi/generated/app-automate.client.ts:540

Fetches list of recently uploaded media files for the entire group

Parameters

ParameterType
options?ExecuteOptions

Returns

Promise<DeepCamelCase<object[] | { message: string; }>>

Inherited from

GeneratedAppAutomateClient.getGroupMediaFiles


getMediaFiles()

getMediaFiles(options?): Promise<DeepCamelCase<{ message: string; } | object[]>>

Defined in: openapi/generated/app-automate.client.ts:1067

Fetches list of recently uploaded media files

Parameters

ParameterType
options?ExecuteOptions

Returns

Promise<DeepCamelCase<{ message: string; } | object[]>>

Inherited from

GeneratedAppAutomateClient.getMediaFiles


getMediaFilesByCustomId()

getMediaFilesByCustomId(customId, options?): Promise<DeepCamelCase<object[] | { message: string; }>>

Defined in: openapi/generated/app-automate.client.ts:489

Fetches list of recently uploaded media files by custom ID

Parameters

ParameterType
customIdstring
options?ExecuteOptions

Returns

Promise<DeepCamelCase<object[] | { message: string; }>>

Inherited from

GeneratedAppAutomateClient.getMediaFilesByCustomId


getNetworkLogs()

getNetworkLogs(buildId, sessionId, options?): Promise<{[key: string]: never; }>

Defined in: openapi/generated/app-automate.client.ts:591

Access the network logs for your session. These logs capture network data such as network traffic, latency, HTTP requests/responses in the HAR (HTTP Archive) format. You can identify any performance bottlenecks or debug failed REST API responses. Network logs are disabled by default.

Parameters

ParameterType
buildIdstring
sessionIdstring
options?ExecuteOptions

Returns

Promise<{[key: string]: never; }>

Inherited from

GeneratedAppAutomateClient.getNetworkLogs


getPlan()

getPlan(options?): Promise<{ automatePlan: string; parallelSessionsMaxAllowed: number; parallelSessionsRunning: number; queuedSessions: number; queuedSessionsMaxAllowed: number; teamParallelSessionsMaxAllowed: number; }>

Defined in: openapi/generated/app-automate.client.ts:693

Fetches App Automate plan details

Parameters

ParameterType
options?ExecuteOptions

Returns

Promise<{ automatePlan: string; parallelSessionsMaxAllowed: number; parallelSessionsRunning: number; queuedSessions: number; queuedSessionsMaxAllowed: number; teamParallelSessionsMaxAllowed: number; }>

Inherited from

GeneratedAppAutomateClient.getPlan


getProject()

getProject(projectId, options?): Promise<{ builds: object[]; createdAt: string; groupId: number; id: number; name: string; subGroupId: number; updatedAt: string; userId: number; }>

Defined in: openapi/generated/app-automate.client.ts:761

Specific information about a particular project can be queried using the project ID

Parameters

ParameterType
projectIdstring
options?ExecuteOptions

Returns

Promise<{ builds: object[]; createdAt: string; groupId: number; id: number; name: string; subGroupId: number; updatedAt: string; userId: number; }>

Inherited from

GeneratedAppAutomateClient.getProject


getProjectBadgeKey()

getProjectBadgeKey(projectId, options?): Promise<string>

Defined in: openapi/generated/app-automate.client.ts:1271

Fetches the badge key for sharing a public link for the Automate dashboard to view the latest build and sessions for that project

Parameters

ParameterType
projectIdstring
options?ExecuteOptions

Returns

Promise<string>

Inherited from

GeneratedAppAutomateClient.getProjectBadgeKey


getProjects()

getProjects(limit?, offset?, status?, options?): Promise<object[]>

Defined in: openapi/generated/app-automate.client.ts:999

Fetch the last 10 projects or your BrowserStack group. You can also limit the number of projects and paginate through your data

Parameters

ParameterType
limit?string
offset?string
status?string
options?ExecuteOptions

Returns

Promise<object[]>

Inherited from

GeneratedAppAutomateClient.getProjects


getSession()

getSession(sessionId, options?): Promise<{ appDetails: { appCustomId?: string; appName?: string; appUrl?: string; appVersion?: string; uploadedAt?: string; }; appiumLogsUrl: string; browser: string; browserConsoleLogsUrl: string; browserstackStatus: string; browserUrl: string; browserVersion: string; buildName: string; createdAt: string; device?: string; duration: number; harLogsUrl: string; hashedId: string; logs: string; name: string; os: string; osVersion: string; projectName: string; publicUrl: string; realMobile?: boolean; reason: string; seleniumLogsUrl: string; seleniumTelemetryLogsUrl: string; status: "done" | "running" | "timeout" | "failed"; videoUrl: string; }>

Defined in: openapi/generated/app-automate.client.ts:948

Get details of a test session including its status and debugging information such as Appium logs and test video recording

Parameters

ParameterType
sessionIdstring
options?ExecuteOptions

Returns

Promise<{ appDetails: { appCustomId?: string; appName?: string; appUrl?: string; appVersion?: string; uploadedAt?: string; }; appiumLogsUrl: string; browser: string; browserConsoleLogsUrl: string; browserstackStatus: string; browserUrl: string; browserVersion: string; buildName: string; createdAt: string; device?: string; duration: number; harLogsUrl: string; hashedId: string; logs: string; name: string; os: string; osVersion: string; projectName: string; publicUrl: string; realMobile?: boolean; reason: string; seleniumLogsUrl: string; seleniumTelemetryLogsUrl: string; status: "done" | "running" | "timeout" | "failed"; videoUrl: string; }>

Inherited from

GeneratedAppAutomateClient.getSession


getSessionLogs()

getSessionLogs(buildId, sessionId, options?): Promise<string>

Defined in: openapi/generated/app-automate.client.ts:506

Access the logs for the session in textual format. It includes information about the test session’s desired capabilities and detailed information about every request and response. You can view all the steps executed in the test and troubleshoot errors for any failed steps.

Parameters

ParameterType
buildIdstring
sessionIdstring
options?ExecuteOptions

Returns

Promise<string>

Inherited from

GeneratedAppAutomateClient.getSessionLogs


getXCUITestApp()

getXCUITestApp(appId, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:557

Get details of an uploaded XCUITest app

Parameters

ParameterType
appIdstring
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.getXCUITestApp


getXCUITestApps()

getXCUITestApps(scope?, customId?, limit?, options?): Promise<unknown>

Defined in: openapi/generated/app-automate.client.ts:659

Fetches list of recently uploaded XCUITest apps

Parameters

ParameterType
scope?string
customId?string
limit?string
options?ExecuteOptions

Returns

Promise<unknown>

Inherited from

GeneratedAppAutomateClient.getXCUITestApps


updateBuild()

updateBuild(buildId, body, options?): Promise<DeepCamelCase<{ automation_build: { automation_project_id?: number; build_tag: string; created_at?: string; delta?: boolean; duration: number; framework?: string; group_id?: number; hashed_id: string; name: string; status: "done" | "running" | "timeout" | "failed"; sub_group_id?: number; test_data?: Record<string, never>; updated_at?: string; user_id?: number; }; } | { error: string; }>>

Defined in: openapi/generated/app-automate.client.ts:455

Update the tag of your build after the build is complete. To delete a build tag, simply pass an empty string as value for build_tag.

Parameters

ParameterType
buildIdstring
body{ buildTag: string; }
body.buildTagstring
options?ExecuteOptions

Returns

Promise<DeepCamelCase<{ automation_build: { automation_project_id?: number; build_tag: string; created_at?: string; delta?: boolean; duration: number; framework?: string; group_id?: number; hashed_id: string; name: string; status: "done" | "running" | "timeout" | "failed"; sub_group_id?: number; test_data?: Record<string, never>; updated_at?: string; user_id?: number; }; } | { error: string; }>>

Inherited from

GeneratedAppAutomateClient.updateBuild


updateProject()

updateProject(projectId, body, options?): Promise<{ createdAt: string; groupId: number; id: number; name: string; subGroupId: number; updatedAt: string; userId: number; }>

Defined in: openapi/generated/app-automate.client.ts:778

Update the name of your project after the project is complete

Parameters

ParameterType
projectIdstring
body{ name: string; }
body.namestring
options?ExecuteOptions

Returns

Promise<{ createdAt: string; groupId: number; id: number; name: string; subGroupId: number; updatedAt: string; userId: number; }>

Inherited from

GeneratedAppAutomateClient.updateProject


updateSession()

updateSession(sessionId, body, options?): Promise<{ appDetails: { appCustomId?: string; appName?: string; appUrl?: string; appVersion?: string; uploadedAt?: string; }; appiumLogsUrl: string; browser: string; browserConsoleLogsUrl: string; browserstackStatus: string; browserUrl: string; browserVersion: string; buildName: string; createdAt: string; device?: string; duration: number; harLogsUrl: string; hashedId: string; logs: string; name: string; os: string; osVersion: string; projectName: string; publicUrl: string; realMobile?: boolean; reason: string; seleniumLogsUrl: string; seleniumTelemetryLogsUrl: string; status: "done" | "running" | "timeout" | "failed"; videoUrl: string; }>

Defined in: openapi/generated/app-automate.client.ts:965

Set the status for a session. You can mark test status as passed or failed along with a reason.

Parameters

ParameterType
sessionIdstring
body{ reason: string; status: "failed" | "passed"; }
body.reasonstring
body.status?"failed" | "passed"
options?ExecuteOptions

Returns

Promise<{ appDetails: { appCustomId?: string; appName?: string; appUrl?: string; appVersion?: string; uploadedAt?: string; }; appiumLogsUrl: string; browser: string; browserConsoleLogsUrl: string; browserstackStatus: string; browserUrl: string; browserVersion: string; buildName: string; createdAt: string; device?: string; duration: number; harLogsUrl: string; hashedId: string; logs: string; name: string; os: string; osVersion: string; projectName: string; publicUrl: string; realMobile?: boolean; reason: string; seleniumLogsUrl: string; seleniumTelemetryLogsUrl: string; status: "done" | "running" | "timeout" | "failed"; videoUrl: string; }>

Inherited from

GeneratedAppAutomateClient.updateSession


uploadApp()

uploadApp(body, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:1101

Upload the application under test (AUT) for Appium testing.

Parameters

ParameterType
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.uploadApp


uploadBuildTerminalLogs()

uploadBuildTerminalLogs(buildId, body, options?): Promise<string>

Defined in: openapi/generated/app-automate.client.ts:608

Upload terminal logs for your build.

Parameters

ParameterType
buildIdstring
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<string>

Inherited from

GeneratedAppAutomateClient.uploadBuildTerminalLogs


uploadDetoxAndroidApp()

uploadDetoxAndroidApp(body, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:642

Upload the application under test (AUT) for Detox Android testing.

Parameters

ParameterType
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.uploadDetoxAndroidApp


uploadDetoxAndroidAppClient()

uploadDetoxAndroidAppClient(body, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:727

Upload the app client under test for Detox Android testing.

Parameters

ParameterType
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.uploadDetoxAndroidAppClient


uploadEspressoApp()

uploadEspressoApp(body, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:1135

Upload the application under test (AUT) for Espresso testing.

Parameters

ParameterType
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.uploadEspressoApp


uploadFlutterAndroidApp()

uploadFlutterAndroidApp(body, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:625

Upload the application under test (AUT) for Flutter testing.

Parameters

ParameterType
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.uploadFlutterAndroidApp


uploadFlutteriOSApp()

uploadFlutteriOSApp(body, options?): Promise<{ customId?: string; shareableId?: string; testPackageId?: string; testPackageName?: string; testPackageUrl: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:710

Upload the application under test (AUT) for Flutter iOS testing in .zip format.

Parameters

ParameterType
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<{ customId?: string; shareableId?: string; testPackageId?: string; testPackageName?: string; testPackageUrl: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.uploadFlutteriOSApp


uploadMediaFile()

uploadMediaFile(body, options?): Promise<{ customId?: string; mediaId: string; mediaName?: string; mediaUrl: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:897

Upload a media file you want to use in your tests

Parameters

ParameterType
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<{ customId?: string; mediaId: string; mediaName?: string; mediaUrl: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.uploadMediaFile


uploadSessionTerminalLogs()

uploadSessionTerminalLogs(sessionId, body, options?): Promise<string>

Defined in: openapi/generated/app-automate.client.ts:676

Upload terminal logs for your session.

Parameters

ParameterType
sessionIdstring
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<string>

Inherited from

GeneratedAppAutomateClient.uploadSessionTerminalLogs


uploadXCUITestApp()

uploadXCUITestApp(body, options?): Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Defined in: openapi/generated/app-automate.client.ts:744

Upload the application under test (AUT) for XCUITest testing.

Parameters

ParameterType
body{ file: Blob; } | { url: string; } & object & Record<string, unknown>
options?ExecuteOptions

Returns

Promise<{ appId?: string; appName?: string; appUrl: string; appVersion?: string; customId?: string; expiry?: string; shareableId?: string; uploadedAt?: string; }>

Inherited from

GeneratedAppAutomateClient.uploadXCUITestApp