You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored and
Ishavyas9
committed
Document file upload behavior in App tests
Clarifies that App tests inject files directly into the device and
create no FILE_ variable, unlike the Web test upload flow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- These files are treated as variables and their paths are dynamically assigned.
81
81
- These variables are named with prefix `FILE_`
82
82
83
+
:::note
84
+
The `FILE_` variable behavior described above applies to **Web tests**. In **App tests** no file variable is created. See [File Upload in App Tests](#file-upload-in-app-tests) below for more information.
85
+
:::
86
+
83
87
### Step 5: Accessing Uploaded Files
84
88
- In the test environment, type upload in the command field.
85
89
- Select the required file from the available list using **double-curly braces syntax** (e.g.,`upload {{FILE_IMAGE_1_PNG}} in upload section`).
File upload behaves differently in App tests than in Web tests. In a Web test, <BrandName /> creates a file variable for each upload. App tests skip this step entirely — no file variable is created, so you never reference uploaded files with double-curly-brace syntax.
98
+
99
+
### How it works
100
+
101
+
When you upload files to an App test session, <BrandName /> injects them directly into the device's storage. The files become part of the device itself, which is why there is no variable to assign, track, or reference in your instructions.
102
+
103
+
### Working with injected files
104
+
105
+
Most native apps include their own file controls, such as an upload or attach button. Selecting one of these opens the device's system gallery or file picker, where your injected files are already available. You then choose the file you need and continue through the app's normal flow, exactly as a real user would.
106
+
91
107
## Downloading Files from Kane AI
92
108
### Step 1: Managing Downloaded Files
93
109
- Files added during the session will be visible in the downloads section.
0 commit comments