Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 4 additions & 7 deletions docs/app-auto-network-throttling.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,14 @@ To utilize the **networkProfile** capability, ensure that you include `network:
```python
driver.execute_script("updateNetworkProfile=offline")
```
:::note
Currently, for iOS, we do not support any capability or LambdaHook for offline mode.
:::

#### iOS

- **LambdaHook:** You can also switch to offline mode during the test execution with the following command:
```python
driver.execute_script("updateNetworkProfile=offline")
```

## Toggle Offline/Online Mode via API

- For both iOS and android devices you can use the offline/online mode API as well within the running test session:
- For android devices you can use the offline/online mode API as well within the running test session:

```bash
curl --location 'https://mobile-api.lambdatest.com/mobile-automation/api/v1/sessions/<session-id>/update_network' \
Expand Down
17 changes: 17 additions & 0 deletions docs/app-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,23 @@ Once your apps are uploaded, you can easily search and filter them using the too
<img loading="lazy" src={require('../assets/images/real-device-app-testing/APP_MANAGER_VERSION_CONTROL.png').default} className="doc_img"/>
---

### Release Notes for Versions
For each app version, you can add multiline release notes to help differentiate between multiple builds.
- To add release notes, open the three dots menu on the desired version in the App Card and click Version Details.
<img loading="lazy" src={require('../assets/images/real-device-app-testing/App_Manager_r1.png').default} className="doc_img"/>
- Inside Version Details, you’ll see an option to enter release notes.
<img loading="lazy" src={require('../assets/images/real-device-app-testing/App_Manager_r2.png').default} className="doc_img"/>
- Once added, a notes icon appears on the version. On hover, the release note is shown directly from the App Card.
<img loading="lazy" src={require('../assets/images/real-device-app-testing/App_Manager_r3.png').default} className="doc_img"/>

:::info
- Maximum release notes length is upto 500 characters.
- On hover, only the first 100 characters are displayed, followed by ... if the text is longer.
- Only the owner of the version has permission to add or edit release notes, Other users can only view them.
:::

---

## Launching an App on a Real Device
Once a specific version is selected:

Expand Down
13 changes: 13 additions & 0 deletions docs/hyperexecute-maestro-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/android
```
</TabItem>

<TabItem value="iOS-Real Device" label="iOS-Real Device" default>
> To enable execution on iOS real devices, install the following [JAR-file](https://prod-mobile-artefacts.lambdatest.com/assets/maestro-cli/1.41.0-beta-1/maestro.jar)
and include it in your payload. This JAR acts as a wrapper to facilitate compatibility with Maestro when running on iOS real devices.
```yaml reference title="hyperexecute.yaml"
https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/ios-realdevice.yaml
```
</TabItem>

<TabItem value="android-emu" label="Android-Emulator" default>

> To enable this for your organizaton, connect with us through our <span className="doc\_\_lt" onClick={() => window.openLTChatWidget()}>**24/7 chat support**</span> or drop us an email to [support@lambdatest.com](mailto:support@lambdatest.com).
Expand Down Expand Up @@ -139,6 +147,11 @@ The above command will generate a `report.xml` file in the root directory after
```yaml reference
https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/maestro-test/runTest.sh
```
When running on iOS real devices, you need to use a dedicated script since the execution flow differs slightly from iOS simulators and Android.

```yaml reference
https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/maestro-test/runTest_ios_realdevice.sh
```

2. Update your HyperExecute YAML file to enable the native reporting in HyperExecute using the generated JUnit XML files.

Expand Down
Loading