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
Copy file name to clipboardExpand all lines: docs/browserstack-to-lambdatest-migration-guide.md
+79-80Lines changed: 79 additions & 80 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,9 @@ Capabilities generator let you configure the desired capabilities (or capabiliti
118
118
119
119
Optionally, you can also choose the Selenium version and other advanced options present in the Selenium Capabilities Generator. For this migration guide, we have only restricted to the three capabilities listed above.
120
120
121
+
To generate capabilities use [LambdaTest Capabilities Generator](https://www.lambdatest.com/capabilities-generator/) to define key automation testing parameters, such as browser, version, operating system, and additional test settings.
122
+
123
+
121
124
For the migration, we have considered Java-based Selenium automation tests. Shown below are the screenshots of capabilities generator of BrowserStack and LambdaTest:
122
125
123
126
<TabsclassName="docs__val">
@@ -127,13 +130,12 @@ For the migration, we have considered Java-based Selenium automation tests. Show
To generate capabilities use [LambdaTest Capabilities Generator](https://www.lambdatest.com/capabilities-generator/) to define key automation testing parameters, such as browser, version, operating system, and additional test settings.
160
161
161
162
162
163
@@ -171,12 +172,14 @@ The Capabilities Generator allows you to configure the required desired capabili
171
172
172
173
With Selenium 3, the core capabilities remain:
173
174
174
-
*Browser Name (e.g., Chrome, Firefox, Edge)
175
-
*Browser Version
176
-
*Operating System / Platform
175
+
*Desired browser
176
+
*Desired browser version
177
+
*Desired platform (or operating system)
177
178
178
179
Optionally, you may also configure Selenium versions or other advanced settings based on your test requirements. However, for this migration guide, we will primarily focus on the three fundamental capabilities listed above.
179
180
181
+
To generate capabilities for Selenium 3, you can use the [LambdaTest Capabilities Generator](https://www.lambdatest.com/capabilities-generator/) , which allows you to define essential automation parameters such as browser name, browser version, operating system, along with any additional test configurations required for execution.
182
+
180
183
Below are example capability representations from BrowserStack and LambdaTest to help you understand how to adapt your existing configuration during migration.
181
184
182
185
@@ -186,13 +189,12 @@ Below are example capability representations from BrowserStack and LambdaTest to
To generate capabilities for Selenium 3, you can use the [LambdaTest Capabilities Generator](https://www.lambdatest.com/capabilities-generator/) , which allows you to define essential automation parameters such as browser name, browser version, operating system, along with any additional test configurations required for execution.
220
221
221
222
222
223
## Hands On Guide - LambdaTest Migration
@@ -234,61 +235,65 @@ This test script performs a basic text validation on the website [LambdaTest eCo
// ---------------- Authentication using Environment Variables ----------------
251
-
String username =System.getenv("LT_USERNAME") ==null?"Your LT Username":System.getenv("LT_USERNAME"); // If env variables are unavailable, you may hard-code credentials here.
252
-
String authkey =System.getenv("LT_ACCESS_KEY") ==null?"Your LT AccessKey":System.getenv("LT_ACCESS_KEY"); // If env variables are unavailable, you may hard-code credentials here.
// ================== LambdaTest Authentication via ENV Vars ==================
314
-
String username =System.getenv("LT_USERNAME") ==null?"Your LT Username":System.getenv("LT_USERNAME"); // If env variables are unavailable, you may hard-code credentials here.
315
-
String authkey =System.getenv("LT_ACCESS_KEY") ==null?"Your LT AccessKey":System.getenv("LT_ACCESS_KEY"); // If env variables are unavailable, you may hard-code credentials here.
0 commit comments