You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
373
+
:::
374
+
365
375
:::info
366
376
367
377
- 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**
368
379
- 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/).
-Youcangeneratecapabilitiesfor 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/).
@@ -47,6 +51,8 @@ import TabItem from '@theme/TabItem';
47
51
></script>
48
52
49
53
54
+
55
+
50
56
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.
51
57
52
58
## Prerequisites
@@ -204,6 +210,10 @@ public class TestRunner extends AbstractTestNGCucumberTests {
204
210
}
205
211
```
206
212
213
+
:::tip
214
+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
215
+
:::
216
+
207
217
### Step 5: Configure the Test Capabilities
208
218
209
219
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:
264
274
</TabItem>
265
275
</Tabs>
266
276
277
+
:::tip
278
+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
279
+
:::
280
+
267
281
:::info
268
282
269
283
- You must add the generated **APP_URL** to the `app` capability in the config file.
@@ -229,6 +233,10 @@ public class LambdaTestJBehaveRunner {
229
233
}
230
234
```
231
235
236
+
:::tip
237
+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
238
+
:::
239
+
232
240
### Step 5: Configure the Test Capabilities
233
241
234
242
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:
295
303
</TabItem>
296
304
</Tabs>
297
305
306
+
:::tip
307
+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
308
+
:::
309
+
298
310
:::info
299
311
300
312
- You must add the generated **APP_URL** to the `app` capability in the config file.
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
236
+
:::
237
+
229
238
</TabItem>
230
239
231
240
<TabItemvalue="ios"label="iOS"default>
@@ -329,6 +338,11 @@ public class ios {
329
338
}
330
339
```
331
340
341
+
342
+
:::tip
343
+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
344
+
:::
345
+
332
346
</TabItem>
333
347
334
348
</Tabs>
@@ -381,6 +395,11 @@ DesiredCapabilities capabilities = new DesiredCapabilities();
381
395
</TabItem>
382
396
</Tabs>
383
397
398
+
399
+
:::tip
400
+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
401
+
:::
402
+
384
403
:::info
385
404
- You must add the generated **APP_URL** to the `app` capability in the config file.
386
405
- 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/).
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
354
+
:::
355
+
347
356
</TabItem>
348
357
349
358
</Tabs>
@@ -398,9 +407,13 @@ DesiredCapabilities capabilities = new DesiredCapabilities();
398
407
</TabItem>
399
408
</Tabs>
400
409
410
+
:::tip
411
+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
412
+
:::
401
413
:::info
402
414
403
415
- 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**
404
417
- 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/).
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
342
+
:::
343
+
337
344
### Step 5: Configure the Test Capabilities
338
345
339
346
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();
360
367
capabilities.setCapability("devicelog", true);
361
368
```
362
369
370
+
:::tip
371
+
- You must set **isRealMobile** capability to `False` in the config file to run on **Virtual Devices**
372
+
:::
373
+
363
374
</TabItem>
364
375
365
376
<TabItemvalue="ios-config"label="iOS"default>
@@ -381,9 +392,10 @@ DesiredCapabilities caps = new DesiredCapabilities();
381
392
</TabItem>
382
393
</Tabs>
383
394
384
-
:::info
395
+
:::note
385
396
386
397
- 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**
387
399
- 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/).
0 commit comments