Skip to content

Commit 0c15e54

Browse files
committed
updated tags and note
1 parent 967d216 commit 0c15e54

16 files changed

+83
-66
lines changed

docs/appium-csharp-nunit.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/co
2424
import RealDeviceTag from '../src/component/realDevice';
2525
import VirtualDeviceTag from '../src/component/virtualDevice';
2626

27+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
28+
2729
<script type="application/ld+json"
2830
dangerouslySetInnerHTML={{ __html: JSON.stringify({
2931
"@context": "https://schema.org",
@@ -343,6 +345,9 @@ namespace NUnitSelenium
343345
}
344346

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

347352
### Step 5: Configure the Test Capabilities
348353

@@ -363,6 +368,10 @@ capabilities.AddAdditionalCapability("name", "NUnit Test");
363368
capabilities.AddAdditionalCapability("isRealMobile", true);
364369
```
365370

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

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

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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,8 @@ public class TestRunner extends AbstractTestNGCucumberTests {
210210
}
211211
```
212212

213-
:::note
214-
213+
:::tip
215214
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
216-
- 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/).
217-
218215
:::
219216

220217
### Step 5: Configure the Test Capabilities
@@ -277,6 +274,10 @@ The capabilities object in the sample code are defined as:
277274
</TabItem>
278275
</Tabs>
279276

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

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

docs/appium-java-jbehave.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,8 @@ public class LambdaTestJBehaveRunner {
233233
}
234234
```
235235

236-
:::note
237-
236+
:::tip
238237
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
239-
- 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/).
240-
241238
:::
242239

243240
### Step 5: Configure the Test Capabilities
@@ -306,6 +303,10 @@ The capabilities object in the sample code are defined as:
306303
</TabItem>
307304
</Tabs>
308305

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

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

docs/appium-java-junit.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,9 @@ public class android {
230230
}
231231
```
232232

233-
:::note
234233

234+
:::tip
235235
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
236-
- 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/).
237-
238236
:::
239237

240238
</TabItem>
@@ -340,11 +338,9 @@ public class ios {
340338
}
341339
```
342340

343-
:::note
344341

342+
:::tip
345343
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
346-
- 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/).
347-
348344
:::
349345

350346
</TabItem>
@@ -399,6 +395,11 @@ DesiredCapabilities capabilities = new DesiredCapabilities();
399395
</TabItem>
400396
</Tabs>
401397

398+
399+
:::tip
400+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
401+
:::
402+
402403
:::info
403404
- You must add the generated **APP_URL** to the `app` capability in the config file.
404405
- 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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,9 @@ public class iOSApp {
348348
}
349349
```
350350

351-
:::note
352351

352+
:::tip
353353
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
354-
- 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/).
355-
356354
:::
357355

358356
</TabItem>
@@ -409,6 +407,9 @@ DesiredCapabilities capabilities = new DesiredCapabilities();
409407
</TabItem>
410408
</Tabs>
411409

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

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

docs/appium-java.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,10 @@ public class vanilla_ios {
337337

338338
</Tabs>
339339

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

342346
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.
@@ -363,10 +367,8 @@ DesiredCapabilities capabilities = new DesiredCapabilities();
363367
capabilities.setCapability("devicelog", true);
364368
```
365369

366-
:::note
367-
370+
:::tip
368371
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
369-
- 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/).
370372
:::
371373

372374
</TabItem>
@@ -387,16 +389,10 @@ DesiredCapabilities caps = new DesiredCapabilities();
387389
caps.setCapability("network", false);
388390
```
389391

390-
:::note
391-
392-
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
393-
- 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/).
394-
:::
395-
396392
</TabItem>
397393
</Tabs>
398394

399-
:::tip
395+
:::note
400396

401397
- You must add the generated **APP_URL** to the `app` capability in the config file.
402398
- You must set **isRealMobile** capability to `false` in the config file to run on **Virtual Devices**

docs/appium-kotlin.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/co
2323
import RealDeviceTag from '../src/component/realDevice';
2424
import VirtualDeviceTag from '../src/component/virtualDevice';
2525

26+
<RealDeviceTag value="Real Device" /> <VirtualDeviceTag value="Virtual Device" />
27+
2628
<script type="application/ld+json"
2729
dangerouslySetInnerHTML={{ __html: JSON.stringify({
2830
"@context": "https://schema.org",
@@ -212,7 +214,6 @@ class android {
212214
}
213215
}
214216
```
215-
216217
</TabItem>
217218

218219
<TabItem value="ios" label="iOS" default>
@@ -294,10 +295,13 @@ class iOS {
294295
}
295296
}
296297
```
297-
:::note
298+
:::tip
299+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
300+
:::
301+
298302

303+
:::tip
299304
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
300-
- 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/).
301305
:::
302306
</TabItem>
303307
</Tabs>
@@ -352,6 +356,9 @@ caps.setCapability("device log", true)
352356

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

356363
:::info
357364

docs/appium-nodejs-mocha.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@ describe("Mocha Appium Test " + caps.browserName, function() {
245245

246246
</Tabs>
247247

248+
:::tip
249+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
250+
:::
251+
248252
### Step 5: Configure the Test Capabilities
249253

250254
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.
@@ -274,11 +278,9 @@ exports.capabilities = {
274278
};
275279
```
276280

277-
:::note
278281

282+
:::tip
279283
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
280-
- 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/).
281-
282284
:::
283285

284286
</TabItem>
@@ -307,7 +309,7 @@ exports.capabilities = {
307309

308310
</Tabs>
309311

310-
:::tip
312+
:::note
311313

312314
- You must add the generated **APP_URL** to the `app` capability in the config file.
313315
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**

docs/appium-nodejs-webdriverio.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,9 @@ exports.config = {
305305
};
306306
```
307307

308-
:::note
309308

309+
:::tip
310310
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
311-
- 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/).
312-
313311
:::
314312

315313
</TabItem>
@@ -358,11 +356,9 @@ exports.config = {
358356
};
359357
```
360358

361-
:::note
362359

360+
:::tip
363361
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
364-
- 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/).
365-
366362
:::
367363

368364
</TabItem>

0 commit comments

Comments
 (0)