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
{{ message }}
Repository navigation
Commit 82ea92d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/pages/docs/api/export-test-reports.md
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,9 @@ contextual_links:
18
18
- type: link
19
19
name: "Report Generation Flow"
20
20
url: "#report-generation-flow"
21
+
- type: link
22
+
name: "Retrieve the Result IDs"
23
+
url: "#retrieve-the-result-ids"
21
24
- type: link
22
25
name: "API Specification"
23
26
url: "#api-specification"
@@ -46,7 +49,7 @@ Testsigma allows you to export test reports in XML, PDF, or Excel format at any
46
49
> Before you begin, ensure that:
47
50
> 1. An API key exists for your Testsigma account. Refer to the [documentation on generating API keys](https://testsigma.com/docs/configuration/api-keys/).
48
51
> 2. The test plan run is complete.
49
-
> 3. The result ID for the level you want to export is available. Refer to the [documentation on fetching test results at all levels](https://testsigma.com/docs/api/test-results-at-all-levels/).
52
+
> 3. The result ID for the level you want to export is available. Refer to [Retrieve the Result IDs](#retrieve-the-result-ids) for test machine and test suite exports, or to the [documentation on fetching test results at all levels](https://testsigma.com/docs/api/test-results-at-all-levels/).
50
53
> 4. PDF report export is enabled for your account, if you export in PDF format.
51
54
52
55
---
@@ -81,6 +84,46 @@ Report generation is asynchronous. The same endpoint both triggers the report an
81
84
82
85
---
83
86
87
+
## **Retrieve the Result IDs**
88
+
89
+
The test machine and test suite result IDs are not exposed in the UI. Retrieve them from the network requests that the **Run Results** page sends, then use them in the export endpoint for that level.
90
+
91
+
[[info | NOTE:]]
92
+
| The test plan run ID is available in the URL of the **Run Results** page. Refer to the [documentation on obtaining the run ID](https://testsigma.com/docs/api/test-plans/#obtaining-the-run-id).
93
+
94
+
### **Retrieve the Test Machine Result ID**
95
+
96
+
1. Open the completed test plan run on the **Run Results** page.
97
+
2. From the view dropdown, select **Test Machines**.
98
+
3. Select the test machine you want to export.
99
+
4. Open the browser developer tools and go to the **Network** tab.
100
+
5. Clear the network log.
101
+
6. Reload the page.
102
+
7. Select the **Environments** request in the network log.
103
+
8. In the **Preview** panel, copy the machine result ID from the response.
9. Use the copied value as **{SUITE\_RESULT\_ID}** in the export request.
121
+
122
+
[[info | NOTE:]]
123
+
| The test case result ID follows the same pattern at the test case level. Refer to the [documentation on fetching test results at all levels](https://testsigma.com/docs/api/test-results-at-all-levels/) for the response fields at each level.
Your tests are ready to execute without manual intervention whenever there are changes in the build. The Auto Healing feature will automatically correct the elements.
3. In the **Select application** window, select the desktop application you want to record against.
49
49
50
50
[[info | **NOTE**:]]
@@ -53,6 +53,7 @@ Capture every UI element in a desktop application window at once using the **Bat
53
53
4. Click **Start recording**.
54
54
55
55
5. In the Element Recorder, click the **Batch** tab. The recorder captures every element in the currently open window of the application and lists them in a hierarchical tree.
| When you switch windows within the same application, the recorder captures elements from the new window and clears those recorded from the previous one.
3. In the **Select application** window, select the desktop application you want to record against.
49
50
50
51
[[info | **NOTE**:]]
51
52
| Only applications running on your device are listed. Use the search field to filter the list, or click the refresh icon to reload it after opening a new application.
52
53
53
54
4. Click **Start recording**. The Element Recorder opens on the **Selective** tab, with the application name displayed in the recorder header.
| Only applications running on your device are listed. Use the search field to filter the list, or click the refresh icon to reload it after opening a new application.
54
55
55
56
5. Click **Start recording**. The Testsigma Recorder opens, the selected application comes to the foreground, and **Open application** is added as the first test step with the application path.
56
57
57
58
6. Perform actions in the application. Each interaction is captured as a test step, and the elements involved are created automatically.
**Resume** continues the test from the next execution step without restarting from the beginning. **Rec** records additional steps into the test case during the session.
0 commit comments