Skip to content

Commit 8523f68

Browse files
authored
Merge pull request #2066 from 4DvAnCeBoY/main
Updated Tags for lang and framework for VD and RD
2 parents 3b8d064 + 0c15e54 commit 8523f68

21 files changed

+273
-40
lines changed

docs/appium-csharp-nunit.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ slug: appium-csharp-nunit/
1818
---
1919

2020
import CodeBlock from '@theme/CodeBlock';
21-
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
22-
2321
import Tabs from '@theme/Tabs';
2422
import TabItem from '@theme/TabItem';
23+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
24+
import RealDeviceTag from '../src/component/realDevice';
25+
import VirtualDeviceTag from '../src/component/virtualDevice';
26+
27+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
2528

2629
<script type="application/ld+json"
2730
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -342,6 +345,9 @@ namespace NUnitSelenium
342345
}
343346

344347
```
348+
:::tip
349+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
350+
:::
345351

346352
### Step 5: Configure the Test Capabilities
347353

@@ -362,9 +368,14 @@ capabilities.AddAdditionalCapability("name", "NUnit Test");
362368
capabilities.AddAdditionalCapability("isRealMobile", true);
363369
```
364370

371+
:::tip
372+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
373+
:::
374+
365375
:::info
366376

367377
- You must add the generated **APP_URL** to the `app` capability in the config file.
378+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
368379
- You can generate capabilities for your test requirements with the help of our inbuilt [**Capabilities Generator tool**](https://www.lambdatest.com/capabilities-generator/).For more details, please refer to our guide on [**Desired Capabilities in Appium**](https://www.lambdatest.com/support/docs/desired-capabilities-in-appium/).
369380

370381
:::

docs/appium-csharp.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/co
2222
import Tabs from '@theme/Tabs';
2323
import TabItem from '@theme/TabItem';
2424

25+
import RealDeviceTag from '../src/component/realDevice';
26+
import VirtualDeviceTag from '../src/component/virtualDevice';
27+
28+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
29+
2530
<script type="application/ld+json"
2631
dangerouslySetInnerHTML={{ __html: JSON.stringify({
2732
"@context": "https://schema.org",
@@ -233,6 +238,9 @@ namespace csharp_appium_first
233238
}
234239
}
235240
```
241+
:::tip
242+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
243+
:::
236244

237245
</TabItem>
238246

@@ -360,13 +368,18 @@ The capabilities object in the sample code are defined as:
360368

361369
```
362370

371+
:::tip
372+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
373+
:::
374+
363375
</TabItem>
364376

365377
</Tabs>
366378

367379
:::info
368380

369381
- You must add the generated **APP_URL** to the `app` capability in the config file.
382+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
370383
- You can generate capabilities for your test requirements with the help of our inbuilt [**Capabilities Generator tool**](https://www.lambdatest.com/capabilities-generator/).For more details, please refer to our guide on [**Desired Capabilities in Appium**](https://www.lambdatest.com/support/docs/desired-capabilities-in-appium/).
371384
372385
:::

docs/appium-java-cucumber.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ site_name: LambdaTest
1616
slug: appium-java-cucumber/
1717
---
1818

19-
import CodeBlock from '@theme/CodeBlock';
20-
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
2119

20+
import CodeBlock from '@theme/CodeBlock';
2221
import Tabs from '@theme/Tabs';
2322
import TabItem from '@theme/TabItem';
23+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
24+
import RealDeviceTag from '../src/component/realDevice';
25+
import VirtualDeviceTag from '../src/component/virtualDevice';
26+
27+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
2428

2529
<script type="application/ld+json"
2630
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -47,6 +51,8 @@ import TabItem from '@theme/TabItem';
4751
></script>
4852

4953

54+
55+
5056
In this documentation, you will learn how to trigger a automation script of **Cucumber** for application testing with **Appium** on LambdaTest, set the [**desired capabilities**](/support/docs/desired-capabilities-in-appium/) for appium testing, and other advanced features of LambdaTest.
5157

5258
## Prerequisites
@@ -204,6 +210,10 @@ public class TestRunner extends AbstractTestNGCucumberTests {
204210
}
205211
```
206212

213+
:::tip
214+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
215+
:::
216+
207217
### Step 5: Configure the Test Capabilities
208218

209219
You can update your custom capabilities in test scripts. In this sample project, we are passing platform name, platform version, device name and app url _(generated earlier)_ along with other capabilities like build name and test name via capabilities object.
@@ -264,6 +274,10 @@ The capabilities object in the sample code are defined as:
264274
</TabItem>
265275
</Tabs>
266276

277+
:::tip
278+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
279+
:::
280+
267281
:::info
268282

269283
- You must add the generated **APP_URL** to the `app` capability in the config file.

docs/appium-java-jbehave.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ site_name: LambdaTest
1616
slug: appium-java-jbehave/
1717
---
1818

19-
import CodeBlock from '@theme/CodeBlock';
20-
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
2119

20+
import CodeBlock from '@theme/CodeBlock';
2221
import Tabs from '@theme/Tabs';
2322
import TabItem from '@theme/TabItem';
23+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
24+
import RealDeviceTag from '../src/component/realDevice';
25+
import VirtualDeviceTag from '../src/component/virtualDevice';
26+
27+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
2428

2529
<script type="application/ld+json"
2630
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -229,6 +233,10 @@ public class LambdaTestJBehaveRunner {
229233
}
230234
```
231235

236+
:::tip
237+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
238+
:::
239+
232240
### Step 5: Configure the Test Capabilities
233241

234242
You can update your custom capabilities in test scripts. In this sample project, we are passing platform name, platform version, device name and app url _(generated earlier)_ along with other capabilities like build name and test name via capabilities object.
@@ -295,6 +303,10 @@ The capabilities object in the sample code are defined as:
295303
</TabItem>
296304
</Tabs>
297305

306+
:::tip
307+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
308+
:::
309+
298310
:::info
299311

300312
- You must add the generated **APP_URL** to the `app` capability in the config file.

docs/appium-java-junit.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ site_name: LambdaTest
1717
slug: appium-java-junit/
1818
---
1919

20-
import CodeBlock from '@theme/CodeBlock';
21-
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
2220

21+
import CodeBlock from '@theme/CodeBlock';
2322
import Tabs from '@theme/Tabs';
2423
import TabItem from '@theme/TabItem';
24+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
25+
import RealDeviceTag from '../src/component/realDevice';
26+
import VirtualDeviceTag from '../src/component/virtualDevice';
27+
28+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
2529

2630
<script type="application/ld+json"
2731
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -226,6 +230,11 @@ public class android {
226230
}
227231
```
228232

233+
234+
:::tip
235+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
236+
:::
237+
229238
</TabItem>
230239

231240
<TabItem value="ios" label="iOS" default>
@@ -329,6 +338,11 @@ public class ios {
329338
}
330339
```
331340

341+
342+
:::tip
343+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
344+
:::
345+
332346
</TabItem>
333347

334348
</Tabs>
@@ -381,6 +395,11 @@ DesiredCapabilities capabilities = new DesiredCapabilities();
381395
</TabItem>
382396
</Tabs>
383397

398+
399+
:::tip
400+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
401+
:::
402+
384403
:::info
385404
- You must add the generated **APP_URL** to the `app` capability in the config file.
386405
- You can generate capabilities for your test requirements with the help of our inbuilt [**Capabilities Generator tool**](https://www.lambdatest.com/capabilities-generator/).For more details, please refer to our guide on [**Desired Capabilities in Appium**](https://www.lambdatest.com/support/docs/desired-capabilities-in-appium/).

docs/appium-java-testng.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ site_name: LambdaTest
1616
slug: appium-java-testng/
1717
---
1818

19-
import CodeBlock from '@theme/CodeBlock';
20-
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
2119

20+
import CodeBlock from '@theme/CodeBlock';
2221
import Tabs from '@theme/Tabs';
2322
import TabItem from '@theme/TabItem';
23+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
24+
import RealDeviceTag from '../src/component/realDevice';
25+
import VirtualDeviceTag from '../src/component/virtualDevice';
26+
27+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
2428

2529
<script type="application/ld+json"
2630
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -344,6 +348,11 @@ public class iOSApp {
344348
}
345349
```
346350

351+
352+
:::tip
353+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
354+
:::
355+
347356
</TabItem>
348357

349358
</Tabs>
@@ -398,9 +407,13 @@ DesiredCapabilities capabilities = new DesiredCapabilities();
398407
</TabItem>
399408
</Tabs>
400409

410+
:::tip
411+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
412+
:::
401413
:::info
402414

403415
- You must add the generated **APP_URL** to the `app` capability in the config file.
416+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
404417
- You can generate capabilities for your test requirements with the help of our inbuilt [**Capabilities Generator tool**](https://www.lambdatest.com/capabilities-generator/).For more details, please refer to our guide on [**Desired Capabilities in Appium**](https://www.lambdatest.com/support/docs/desired-capabilities-in-appium/).
405418

406419
:::

docs/appium-java.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ slug: appium-java/
1717
---
1818

1919
import CodeBlock from '@theme/CodeBlock';
20-
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
21-
2220
import Tabs from '@theme/Tabs';
2321
import TabItem from '@theme/TabItem';
22+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
23+
import RealDeviceTag from '../src/component/realDevice';
24+
import VirtualDeviceTag from '../src/component/virtualDevice';
25+
26+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
2427

2528
<script type="application/ld+json"
2629
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -334,6 +337,10 @@ public class vanilla_ios {
334337

335338
</Tabs>
336339

340+
:::tip
341+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
342+
:::
343+
337344
### Step 5: Configure the Test Capabilities
338345

339346
You can update your custom capabilities in test scripts. In this sample project, we are passing platform name, platform version, device name and app url _(generated earlier)_ along with other capabilities like build name and test name via capabilities object.
@@ -360,6 +367,10 @@ DesiredCapabilities capabilities = new DesiredCapabilities();
360367
capabilities.setCapability("devicelog", true);
361368
```
362369

370+
:::tip
371+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
372+
:::
373+
363374
</TabItem>
364375

365376
<TabItem value="ios-config" label="iOS" default>
@@ -381,9 +392,10 @@ DesiredCapabilities caps = new DesiredCapabilities();
381392
</TabItem>
382393
</Tabs>
383394

384-
:::info
395+
:::note
385396

386397
- You must add the generated **APP_URL** to the `app` capability in the config file.
398+
- You must set **isRealMobile** capability to `false` in the config file to run on **Virtual Devices**
387399
- You can generate capabilities for your test requirements with the help of our inbuilt [**Capabilities Generator tool**](https://www.lambdatest.com/capabilities-generator/).For more details, please refer to our guide on [**Desired Capabilities in Appium**](https://www.lambdatest.com/support/docs/desired-capabilities-in-appium/).
388400

389401
:::

docs/appium-kotlin.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ slug: appium-kotlin/
1717
---
1818

1919
import CodeBlock from '@theme/CodeBlock';
20-
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
21-
2220
import Tabs from '@theme/Tabs';
2321
import TabItem from '@theme/TabItem';
22+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
23+
import RealDeviceTag from '../src/component/realDevice';
24+
import VirtualDeviceTag from '../src/component/virtualDevice';
25+
26+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
2427

2528
<script type="application/ld+json"
2629
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -211,7 +214,6 @@ class android {
211214
}
212215
}
213216
```
214-
215217
</TabItem>
216218

217219
<TabItem value="ios" label="iOS" default>
@@ -293,6 +295,14 @@ class iOS {
293295
}
294296
}
295297
```
298+
:::tip
299+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
300+
:::
301+
302+
303+
:::tip
304+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
305+
:::
296306
</TabItem>
297307
</Tabs>
298308

@@ -346,6 +356,9 @@ caps.setCapability("device log", true)
346356

347357
</TabItem>
348358
</Tabs>
359+
:::tip
360+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
361+
:::
349362

350363
:::info
351364

0 commit comments

Comments
 (0)