|
1 | 1 | ---
|
2 |
| -id: app-crash-logs |
3 |
| -title: App Crash Logs |
4 |
| -sidebar_label: App Crash Logs |
| 2 | +id: crash-error-reporting |
| 3 | +title: Crash/Error Reporting |
| 4 | +sidebar_label: Crash/Error Reporting |
5 | 5 | ---
|
6 | 6 |
|
7 | 7 | import useBaseUrl from '@docusaurus/useBaseUrl';
|
8 | 8 |
|
9 |
| -The App Crash Logs feature on Sauce Labs' Real Device Cloud (RDC) platform facilitates the automatic capture and display of crash data, both during live and automated testing. This eliminates the necessity to integrate an SDK or connect crash reporting tools to our system. |
| 9 | +<p><small><span className="sauceGreen">Real Devices Only</span></small></p> |
10 | 10 |
|
11 |
| -Through the App Crash Logs feature, users gain access to a centralized view encompassing an array of app diagnostic signals. This expedites the debugging process for teams and reduces issue resolution time. Our primary objective is to establish expedited feedback loops for developers, enabling the early identification of risks and ensuring comprehensive coverage within the development cycle. With this enhanced capability, teams can effectively prioritize errors, crashes, and test failures based on complete data and context, focusing their efforts on the most critical issues. |
| 11 | +The Crash/Error Reporting feature on Sauce Labs' Real Device Cloud (RDC) platform facilitates the automatic capture and display of crash data, both during live and automated testing. This eliminates the necessity to integrate an SDK or connect crash reporting tools to our system. |
| 12 | + |
| 13 | +Through the Crash/Error Reporting feature, users gain access to a centralized view encompassing an array of app diagnostic signals. This expedites the debugging process for teams and reduces issue resolution time. Our primary objective is to establish expedited feedback loops for developers, enabling the early identification of risks and ensuring comprehensive coverage within the development cycle. With this enhanced capability, teams can effectively prioritize errors, crashes, and test failures based on complete data and context, focusing their efforts on the most critical issues. |
12 | 14 |
|
13 | 15 | Our tool has the capability to detect and record fatal errors (crashes) that occur during the testing of both iOS and Android apps. Specifically for Android apps, this information is sent to [Error Reporting](/error-reporting/getting-started/), enabling the viewing of detailed call stack information. Furthermore, our interface also renders all non-fatal errors and warnings originating from the native application visible. This feature streamlines debugging and facilitates seamless integration with other Mobile App Diagnostics components, ultimately enhancing issue identification and resolution efficiency.
|
14 | 16 |
|
15 | 17 | ## What You'll Need
|
16 | 18 |
|
17 | 19 | - A Sauce Labs account ([Log in](https://accounts.saucelabs.com/am/XUI/#login/) or sign up for a [free trial license](https://saucelabs.com/sign-up))
|
18 | 20 | - A native Android, iOS, or iPadOS mobile app
|
19 |
| -- Make sure instrumentation is enabled, no other configuration is required. |
20 | 21 |
|
21 |
| -## Viewing the App Crash Logs for Real Devices |
| 22 | +## Using Crash/Error Reporting for Real Devices |
| 23 | + |
| 24 | +To use the Crash/Error Reporting feature, you must ensure that the functionality is enabled for your app. |
| 25 | + |
| 26 | +1. In Sauce Labs, from the left navigation, click **App Management**. |
| 27 | + <img src={useBaseUrl('img/mobile-apps/app-management.png')} alt="App Management" width="700"/> |
| 28 | +2. Upload your mobile app. |
| 29 | + <img src={useBaseUrl('img/mobile-apps/app-logs-8.png')} alt="App Logs" width="700"/> |
| 30 | +3. After you’ve uploaded your app, locate it in the table and select **Settings** from the corresponding row. |
| 31 | + <img src={useBaseUrl('img/mobile-apps/app-management-select-settings.png')} alt="Select Settings" width="700"/> |
| 32 | +4. Under **Real Device Settings** first enable **Instrumentation** and then toggle **Crash/Error Reporting** on. |
| 33 | + <img src={useBaseUrl('img/mobile-apps/crash-error-reporting-app-setting.png')} alt="Crash/Error Reporting App Setting" width="700"/> |
| 34 | + |
| 35 | +## Viewing the App Crash Logs for Real Devices |
22 | 36 |
|
23 |
| -The App Crash Logs feature is automatically activated when the [Instrumentation feature](/mobile-apps/features/mobile-app-diagnostics/interactions/#using-interactions-for-real-devices) is enabled. Upon detecting a crash, our system will exhibit an `App Crashed` label for the corresponding test result, regardless of the test's status. |
| 37 | +Upon detecting a crash, our system will exhibit an `App Crashed` label for the corresponding test result, regardless of the test's status. |
24 | 38 |
|
25 | 39 | <br/><img src={useBaseUrl('img/mobile-apps/app-crash-scr1.png')} alt="Mobile app settings navigation" width="900"/>
|
26 | 40 |
|
|
0 commit comments