Skip to content

Commit a379290

Browse files
authored
Merge pull request #2239 from sakshamarora-arch/stage
Updated documentation
2 parents 4454a0b + 90270d1 commit a379290

File tree

6 files changed

+59
-23
lines changed

6 files changed

+59
-23
lines changed

docs/appium-firebase-app-upload.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ import TabItem from '@theme/TabItem';
4949
import RealDeviceTag from '../src/component/realDevice';
5050

5151
---
52-
53-
## Tutorial to test an app uploaded on Firebase
5452
<RealDeviceTag value="Real Device" />
53+
## Tutorial to test an app uploaded on Firebase
54+
5555
**Firebase** is a platform developed by **Google** for creating mobile and web applications. **LambdaTest cloud platform** provides you various methods to upload your files on a real device like from playstore and appstore. Uploading an app through Firebase is one such method.
5656

5757
## How to Start with Firebase

docs/appium-install-uninstall-hook.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ import VirtualDeviceTag from '../src/component/virtualDevice';
5555

5656
LambdaTest now allows you to install and uninstall apps in the middle of your automated tests. This means you don’t need to restart the session every time you want to switch apps, upgrade them, or clean up the device.
5757

58-
## Installing and Uninstalling Apps
58+
## Installing and Uninstalling Apps
59+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
5960

6061
LambdaTest enables you to install and uninstall applications during automation test execution by using commands that can be run through WebDriver's script execution functionality.
6162

docs/application-setup-via-api.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The maximum size for application should not exceed 1GB.
117117
The upload time of your application can range from a few seconds to a minute, depending on the size of your application. Therefore, do not interrupt the cURL command request until you receive the response.
118118
:::
119119

120-
## Fetch your Applications
120+
## Fetch your Applications for Real Devices
121121

122122
<Tabs className="docs__val">
123123

@@ -161,6 +161,30 @@ Shown below is the response to the above cURL request.
161161
}
162162
```
163163

164+
## Fetch your Applications for Virtual Devices
165+
166+
<Tabs className="docs__val">
167+
168+
<TabItem value="android" label="Android" default>
169+
<div className="lambdatest__codeblock">
170+
<CodeBlock className="language-bash">
171+
{`curl --location --request GET "https://${ YOUR_LAMBDATEST_USERNAME()}:${ YOUR_LAMBDATEST_ACCESS_KEY()}@manual-api.lambdatest.com/app/data?type=emulator&level=user"`}
172+
</CodeBlock>
173+
</div>
174+
175+
</TabItem>
176+
177+
<TabItem value="ios" label="iOS" default>
178+
<div className="lambdatest__codeblock">
179+
<CodeBlock className="language-powershell">
180+
{`curl --location --request GET "https://${ YOUR_LAMBDATEST_USERNAME()}:${ YOUR_LAMBDATEST_ACCESS_KEY()}@manual-api.lambdatest.com/app/data?type=simulator&level=user"`}
181+
</CodeBlock>
182+
</div>
183+
184+
</TabItem>
185+
</Tabs>
186+
187+
164188
## Deleting your Application
165189

166190
<Tabs className="docs__val">

docs/supported-appium-versions.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ import NewTag from '../src/component/newTag';
2626
import RealDeviceTag from '../src/component/realDevice';
2727
import VirtualDeviceTag from '../src/component/virtualDevice';
2828

29-
<RealDeviceTag value="Real Device" />
30-
<VirtualDeviceTag value="Virtual Device" />
31-
3229
<script type="application/ld+json"
3330
dangerouslySetInnerHTML={{ __html: JSON.stringify({
3431
"@context": "https://schema.org",
@@ -52,9 +49,12 @@ import VirtualDeviceTag from '../src/component/virtualDevice';
5249
})
5350
}}
5451
></script>
52+
# Supported Appium Versions
53+
<RealDeviceTag value="Real Device" />
54+
<VirtualDeviceTag value="Virtual Device" />
5555
Customize your testing experience on LambdaTest by selecting the appropriate Appium version for your tests on real devices. LambdaTest offers flexibility in choosing the Appium version to meet your testing requirements. By default, the suitable Appium version is selected based on the operating system (OS) when running tests. However, you can explicitly specify the version using the `appiumVersion` capability in your test scripts.
5656

57-
## Appium Version Configuration
57+
## Appium Version Configuration for Real Devices
5858
To configure the Appium version for your tests on LambdaTest, use the `appiumVersion` capability in your test scripts. Below is a table of supported Appium versions for different platforms:
5959

6060
| Platform Versions | Supported Versions | Default Version | Latest Version |
@@ -65,16 +65,6 @@ To configure the Appium version for your tests on LambdaTest, use the `appiumVer
6565
| fireos | 1.21.0, 1.22.0, 1.22.3, 2.0.0, 2.1.3, 2.2.1, 2.3.0 | 2.2.1 | 2.3.0 |
6666
| tvos | 1.22.3, 2.2.1 | 1.22.3 | 1.22.3 |
6767

68-
:::info
69-
70-
**For Virtual Devices:**
71-
- LambdaTest currently supports the following Appium versions:
72-
- **Android Devices:** `1.21.0`, `1.22.3`, `2.0.0`, `2.1.3`, `2.16.2`
73-
- **iOS Devices:** `1.22.3`, `2.0.0`, `2.1.3`, `2.16.2`
74-
- We also provide Support for Appium 3.0.2
75-
- **Android Devices:** `13`, `15`, `16`
76-
- **iOS Devices:** `16`, `17`, `18`, `26`
77-
:::
7868
**Java Example:**
7969
```java
8070
// Java code for configuring Appium version in tests on LambdaTest
@@ -111,4 +101,19 @@ capabilities.setCapability("platformName", "ios");
111101
:::note
112102
- If a user passes any Appium version other than the mentioned versions, appropriate error will be thrown.
113103
- For devices running iOS 17 and newer, it is recommended to use Appium versions `2.2.1` and `above` to ensure the best compatibility and performance.
114-
:::
104+
:::
105+
106+
107+
## Appium Version Configuration for Virtual Devices
108+
109+
| Platform Versions | Supported Versions |
110+
|-------------------|--------------------|
111+
| Android | 1.21.0, 1.22.3, 2.0.0, 2.1.3, 2.16.2 |
112+
| iOS |1.22.3, 2.0.0, 2.1.3, 2.16.2 |
113+
114+
115+
:::info
116+
- We also provide Support for Appium 3.0.2 on following versions
117+
- **Android Devices:** 13, 15, 16
118+
- **iOS Devices:** 16, 17, 18, 26
119+
:::

docs/supported-locales-xcui.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,13 @@ curl --location --request POST 'https://mobile-api.lambdatest.com/framework/v1/x
179179
```
180180

181181
:::note
182-
- Ensure that both the **language** and **locale** parameters are passed simultaneously in the API request.
183-
- App should support the language and locale mentioned in the API request to work.
184-
- For XCUI sharding tests, you have to mention this in the `.yaml` file.
182+
- When setting language or locale parameters, make sure your tests use the `ProcessInfo` object to pass these arguments correctly. This ensures the app launches with the specified language and locale settings.
183+
```swift
184+
let app = XCUIApplication()
185+
app.launchArguments += ProcessInfo().arguments
186+
app.launch()
187+
```
188+
- The language and locale settings are applied at the app level.
189+
- To ensure your application under test displays the correct localized strings, dates, times, and calendar formats, include both language and locale in your desired capabilities.
190+
- For XCUI sharding tests, you have to mention this in the `.yaml` file.
185191
:::

docs/supported-timezone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import VirtualDeviceTag from '../src/component/virtualDevice';
4848
}}
4949
></script>
5050

51-
# Setting up timezone on Real Devices
51+
# Setting up timezone
5252
<RealDeviceTag value="Real Device" />
5353
<VirtualDeviceTag value="Virtual Device" />
5454
In automated testing with Appium on LambdaTest, configuring the timezone accurately is crucial for precise testing scenarios. LambdaTest provides support for various timezones, allowing users to customize their testing environments to meet specific requirements.

0 commit comments

Comments
 (0)