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
@@ -117,6 +117,11 @@ To generate public shareable test link, run the below cURL command.
117
117
| Test |`entityIds` <br/> <br/> `entityType` <br/> <br/> `expiresAt`| For tests, pass `entityIds` as the test id and pass `entityType` as "App Automation Test" <br/> `expiresAt` is the number of days after which the shareable test link will expire '|
118
118
| Build |`entityIds` <br/> <br/> `entityType` <br/> <br/> `expiresAt`| For builds, pass `entityIds` as the build id and pass `entityType` as "App Automation Build" <br/> `expiresAt` is the number of days after which the shareable build link will expire '|
119
119
120
+
:::note
121
+
The shareable links are valid for a period of 7, 15, or 30 days, after which they will expire.
122
+
123
+
:::
124
+
120
125
>That’s all! In case you have any questions or need any additional information, you could reach out at our <span className="doc__lt" onClick={() => window.openLTChatWidget()}>**24X7 Chat Support**</span> or mail us directly at [email protected].
App settings play a crucial role in testing the environment for mobile applications. These settings, provided by LambdaTest, offer developers a range of capabilities to enhance testing procedures and ensure comprehensive validation of their apps functionality.
Enable the Disable App Resigning feature to use biometrics and image injection without needing to re-sign the app after updates. This simplifies development and testing by bypassing the app resigning process.
Enable the Biometric Authentication feature to effortlessly test your biometric authentication-reliant applications on designated remote Lambdatest devices. This functionality enables the emulation of diverse biometric authentication techniques such as fingerprint scanning, facial recognition and others. Leveraging this feature ensures thorough validation of your applications' security and functionality across a spectrum of realistic usage scenarios.
54
+
55
+
Check out our detailed [support documentation](https://www.lambdatest.com/support/docs/biometric-authentication/) to learn in detail about the Biometric supported APIs and much more.
Enable the Image Injection feature to capture images, QR codes, and barcode scans seamlessly within your app using LambdaTest devices. Our approach utilizes Sensor Instrumentation to seamlessly integrate your app with various mobile sensors, such as the camera. By enabling Image Injection for a specific session, LambdaTest seamlessly injects camera code modules into your app, effectively mocking or overriding the Android or iOS SDK used in your app.
47
60
48
61
Check out our detailed [support documentation](https://www.lambdatest.com/support/docs/camera-image-injection/) to learn in detail about the image injection feature.
Enable this setting to effortlessly test your biometric authentication-reliant applications on designated remote Lambdatest devices. This functionality enables the emulation of diverse biometric authentication techniques such as fingerprint scanning, facial recognition and others. Leveraging this feature ensures thorough validation of your applications' security and functionality across a spectrum of realistic usage scenarios.
65
+
Enable the Default Network Logs feature to seamlessly initiate network log capturing at the beginning of each session within your application. By enabling this setting at the app level, you prioritize the logging of network activities over device logs, ensuring comprehensive monitoring of network interactions right from the start.
53
66
54
-
Check out our detailed [support documentation](https://www.lambdatest.com/support/docs/biometric-authentication/) to learn in detail about the Biometric supported APIs and much more.
67
+
## Language and Local <AndroidDeviceTagvalue="Android Device" /> <IOSDeviceTagvalue="iOS Device" />
68
+
Enable the Language & Locale feature to first select the language for the application, and then choose the locale. Once enabled, the language cannot be changed during the session.
Enable this setting to conduct uninterrupted testing of your application's performance, even when screenshot capture is restricted within your app. This tool facilitates testing in both app-live and app automation scenarios, ensuring seamless evaluation of your applications.
72
+
Enable the Disable Screenshot Block feature to conduct uninterrupted testing of your application's performance, even when screenshot capture is restricted within your app. This tool facilitates testing in both app-live and app automation scenarios, ensuring seamless evaluation of your applications.
59
73
60
74
Check out our detailed [support documentation](https://www.lambdatest.com/support/docs/disable-screenshot-block/) to learn in detail about disable screenshot block feature.
Enable the App Arguments feature to provide custom arguments before launching the app, allowing you to configure specific settings or behaviors. These arguments are passed to the app at startup, enabling you to control app modes, enable debugging, or customize other options based on your needs.
78
+
79
+
80
+
81
+
82
+
63
83
64
-
Enable this feature to seamlessly initiate network log capturing at the beginning of each session within your application. By enabling this setting at the app level, you prioritize the logging of network activities over device logs, ensuring comprehensive monitoring of network interactions right from the start.
Copy file name to clipboardExpand all lines: docs/appium-visual-regression.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
id: appium-visual-regression
3
3
title: Getting Started With Visual Regression Testing Using Appium On SmartUI Real Devices (NodeJS)
4
-
sidebar_label: Appium
4
+
sidebar_label: Appium Hooks
5
5
description: Explore our Appium Visual Regression support documentation for step-by-step guidance! Conduct visual testing, manage apps, and ensure your mobile apps are flawless before launch.
Copy file name to clipboardExpand all lines: docs/deep-dive-into-hyperexecute-yaml.md
+44-8Lines changed: 44 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -622,29 +622,48 @@ The uploadArtefact flag is not currently supported for tests running with the **
622
622
***
623
623
624
624
### `globalPre`
625
-
> Currently, only **Linux OS** is supported
626
-
627
625
The `globalPre` flag allows you to define a pre-execution step that runs once before any of your tasks starts. This flag ensures that all necessary setup tasks, such as installing dependencies, configuring environments, or initializing resources, are completed before test execution begins.
628
626
629
627
#### Functionality
630
628
- Runs before any test execution starts, ensuring the environment is properly configured.
631
629
- Executes on a separate machine (VM) or the local machine, based on the [test discovery mode](/support/docs/deep-dive-into-hyperexecute-yaml/#mode) selected.
632
630
- Useful for setup tasks, such as fetching credentials, initializing databases, or downloading required files.
633
631
632
+
#### Limitations
633
+
- This feature is supported in YAML version 0.1 and 0.2 only.
634
+
- `remote`mode is not supported for **XCUI** and **Espresso** framework jobs. Default mode for these frameworks is `local`.
635
+
634
636
```yaml title="hyperexecute.yaml"
635
637
globalPre:
636
638
mode: remote #local or remote
637
639
commands:
638
640
- "echo 'Setting up environment'"
639
641
- "apt-get update && apt-get install -y curl"
640
642
- "curl -X POST https://api.example.com/init"
643
+
runson: win
644
+
cache: true
645
+
```
646
+
647
+
:::info
648
+
You can also use `beforeAll` as an alias for the `globalPre` command:
649
+
650
+
```yaml
651
+
beforeAll:
652
+
commands:
653
+
- "apt-get update && apt-get install -y curl"
654
+
mode: remote
655
+
runson: win
656
+
cache: true
641
657
```
658
+
:::
642
659
643
660
#### Parameters
644
661
| Parameter | Type | Description |
645
662
|-----------|------|-------------|
646
-
| mode | string | Defines where the pre-step commands will be executed. <br /> Options: [local or remote](/support/docs/deep-dive-into-hyperexecute-yaml/#mode). |
663
+
| mode | string | Defines where the pre-step commands will be executed. <br /> Options: [local or remote](/support/docs/deep-dive-into-hyperexecute-yaml/#mode). Default `mode` is `remote`.|
647
664
| commands | list | List of shell commands to execute before test execution begins. |
665
+
| runson | string | It specifies the operating system on which all the task would run in case of `remote mode`. By default, it is set to `linux`. |
666
+
| cache | boolean | It is used to cache the payload after all commands have executed. It is useful in cases like: <br /> - If you want to made some modification in the payload at runtime by executing some set of commands. <br /> - If the payload is fetched from git source. By caching the payload, git rate limiting can be avoided as the payload will only be fetched once per job with `cache: true`. |
648
667
649
668
#### Difference between `globalPre` and `pre` flags
650
669
| Scenario | globalPre | pre |
@@ -657,29 +676,45 @@ globalPre:
657
676
***
658
677
659
678
### `globalPost`
660
-
> Currently, only **Linux OS** is supported
661
-
662
679
The `globalPost` flag defines a post-execution step that runs once after all tasks have completed. This step ensures that cleanup tasks, such as removing temporary files, logging results, or notifying external systems, are performed after test execution.
663
680
664
681
#### Functionality
665
682
- Runs after all test execution is completed, ensuring final cleanup and reporting.
666
683
- Executes on a separate machine (VM) or the local machine, based on the mode selected.
667
684
- Useful for cleanup tasks, such as deleting test artifacts, summarizing reports, or deallocating cloud resources.
668
685
686
+
#### Limitations
687
+
- This feature is supported in YAML version 0.1 and 0.2 only.
688
+
- `remote`mode is not supported for **XCUI** and **Espresso** framework jobs. Default mode for these frameworks is `local`.
689
+
669
690
```yaml title="hyperexecute.yaml"
670
691
globalPost:
671
692
mode: remote #local or remote
672
693
commands:
673
694
- "echo 'Cleaning up test environment'"
674
695
- "rm -rf /tmp/test-results"
675
696
- "curl -X POST https://api.example.com/cleanup"
697
+
runson: linux
676
698
```
677
699
700
+
:::info
701
+
You can also use `afterAll` as an alias for the `globalPost` command:
702
+
703
+
```yaml
704
+
afterAll:
705
+
commands:
706
+
- "curl -X POST https://api.example.com/cleanup"
707
+
mode: local
708
+
runson: linux
709
+
```
710
+
:::
711
+
678
712
#### Parameters
679
713
| Parameter | Type | Description |
680
714
|-----------|------|-------------|
681
-
| mode | string | Defines where the post-step commands will be executed. <br /> Options: [local or remote](/support/docs/deep-dive-into-hyperexecute-yaml/#mode). |
715
+
| mode | string | Defines where the post-step commands will be executed. <br /> Options: [local or remote](/support/docs/deep-dive-into-hyperexecute-yaml/#mode). Default `mode` is `remote`. |
682
716
| commands | list | List of shell commands to execute after test execution completes. |
717
+
| runson | string | It specifies the operating system on which all the task would run in case of `remote mode`. By default, it is set to `linux`. |
683
718
684
719
#### Difference between `globalPost` and `post` flags
685
720
| Scenario | globalPost | post |
@@ -1346,9 +1381,10 @@ if your test loads jquery static library multiple times and for some reason it i
1346
1381
1347
1382
> **Note**: These cached resources are not yet shared across VMs. So, each VM has its own copy of cache.
1348
1383
1384
+
<!--
1349
1385
***
1350
1386
1351
-
### `afterAll`
1387
+
### `afterAll`
1352
1388
It is used to run commands after the job has finished. Currently only local directive is allowed, means that all the commands would be run on the same host on which HyperExecute CLI was run. Running commands in `afterAll` on HyperExecute VMs(remote commands) is not yet supported. Users will have access to all the artifacts when these commands would be run.
1353
1389
```yaml
1354
1390
afterAll:
@@ -1359,7 +1395,7 @@ afterAll:
1359
1395
1360
1396
For instance you want to further process the artifacts and create a custom PDF. You can use `afterAll` for this purpose wherein custom commands can be invoked. Other use cases can be in case you :
1361
1397
- Want to run some commands after the job is finished.
1362
-
- Want to run these commands from the same host from which hyperexecute-cli is run.
1398
+
- Want to run these commands from the same host from which hyperexecute-cli is run. -->
Copy file name to clipboardExpand all lines: docs/hyperexecute-yaml-parameters.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ The **HyperExecute YAML** file serves as the foundational component for test exe
162
162
|[postDirectives](/support/docs/deep-dive-into-hyperexecute-yaml/#postdirectives)| Map |Similar to post with option to retry. |
163
163
|[alwaysRunPostSteps](/support/docs/deep-dive-into-hyperexecute-yaml/#alwaysrunpoststeps)| Boolean | Execute the Post Steps in every scenario case |
164
164
|[cacheTestURL](/support/docs/deep-dive-into-hyperexecute-yaml/#cachetesturl)| Boolean |It enables users to cache static test files. |
165
-
|[afterAll](/support/docs/deep-dive-into-hyperexecute-yaml/#afterall)| Map |It is used to run commands after the job has finished. |
165
+
<!--| [afterAll](/support/docs/deep-dive-into-hyperexecute-yaml/#afterall) | Map |It is used to run commands after the job has finished. |-->
166
166
|[project](/support/docs/deep-dive-into-hyperexecute-yaml/#project)| String | Segregate data at a project/repo level |
167
167
|[slackChannel](/support/docs/deep-dive-into-hyperexecute-yaml/#slackchannel)| String | Allows you to receive notifications of your Job updates directly in your preferred Slack channel. |
168
168
|[afterEachScenario](/support/docs/deep-dive-into-hyperexecute-yaml/#aftereachscenario)| List of Strings | Allows you to trigger your define tasks after each test scenario. |
This method of uploading applications will be deprecated on [31st March 2025](https://learn.microsoft.com/en-us/appcenter/retirement).
43
+
:::
40
44
41
45
LambdaTest enables developers to test their mobile applications and websites across a range of real devices and browsers. It allows you to install apps directly from the App Center to test them on real android or iOS devices, ensuring that they perform well in actual user environments.
Copy file name to clipboardExpand all lines: docs/kaneai-ci-cd-automation.md
+28-11Lines changed: 28 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,17 @@ Open the test run to view its URL. Copy the Test Run ID from the URL. This ID wi
68
68
A list of test instances with various configurations will be displayed for each test run.
69
69
:::
70
70
71
+
72
+
### Step 3: Configure the API Call
73
+
Replace `<TestRunID>` with the actual ID from the URL and set additional optional parameters:
74
+
75
+
-**concurrency :** Defaults to 1 if not specified.
76
+
-**title :** Assign a unique job title; a random one will be generated if omitted.
77
+
-**region :** Choose a region such as eastus or centralindia.
78
+
-**tunnel :** Add the parameter and tunnel name if you want to run using LambdaTest Tunnel.
79
+
-**accessibility :** Set as true if you want to run accessibility test on all your tests in the test run. (Could potentially slow the execution down if set as true)
80
+
-**replaced_url :** To be used to dynamically replace any pattern URL in test cases with the replacement URL for entire test run.
"tunnel": "tunnel-name", #Optional to be used if running via tunnel
94
+
"accessibility": false, #Optional
95
+
"replaced_url": [
96
+
{
97
+
"pattern_url": "TEST_URL_1",
98
+
"replacement_url": "REPLACED_TEST_URL_1"
99
+
},
100
+
{
101
+
"pattern_url": "TEST_URL_2",
102
+
"replacement_url": "REPLACED_TEST_URL_2"
103
+
},
104
+
{
105
+
"pattern_url": "TEST_URL_3",
106
+
"replacement_url": "REPLACED_TEST_URL_3"
107
+
}
108
+
] #Optional to be used to dynamically replace any pattern URL in test cases with the replacement URL
82
109
}'
83
110
```
84
111
85
-
86
112
#### Sample API Response:
87
113
88
114
The API response contains the job ID for both jobs created for desktop web tests as well as mobile tests on real devices. Here is a sample response for a test run which contains both app and web test cases:
@@ -97,15 +123,6 @@ The API response contains the job ID for both jobs created for desktop web tests
97
123
}
98
124
```
99
125
100
-
### Step 3: Configure the API Call
101
-
Replace `<TestRunID>` with the actual ID from the URL and set additional optional parameters:
102
-
103
-
-**Concurrency :** Defaults to 1 if not specified.
104
-
-**Title :** Assign a unique job title; a random one will be generated if omitted.
105
-
-**Region :** Choose a region such as eastus or centralindia.
106
-
107
-
Confirm that the job title is unique to avoid conflicts. Select a region if you require a specific allocation for your devices.
108
-
109
126
110
127
### Step 4: Authenticate and Trigger the Job
111
128
- Provide your LambdaTest username and access key for Basic Authentication.
0 commit comments