Skip to content

Commit a79c1a9

Browse files
committed
add devices
1 parent 65f6584 commit a79c1a9

File tree

13 files changed

+21
-23
lines changed

13 files changed

+21
-23
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
- For Mac and Linux, run `java -version` to see what java version is pre-installed. If you want a different version download from [here](https://java.com/en/download/)
1717

1818
2. Maven
19-
20-
- If Maven is not installed, follow the instructions [here](https://maven.apache.org/install.html)
21-
19+
- If Maven is not downloaded, download it from [here](https://maven.apache.org/download.cgi)
20+
- For installation, follow the instructions [here]((https://maven.apache.org/install.html))
2221
### Install the dependencies
2322

2423
To install the dependencies for Android tests, run :
@@ -142,6 +141,9 @@ Getting Started with Appium tests in Junit4 and Junit5 on BrowserStack couldn't
142141
143142
### **Use Local testing for apps that access resources hosted in development or testing environments :**
144143
144+
- If you do not have an local .apk file and looking to simply try local for App Automate, [you can download our sample local app and upload](https://www.browserstack.com/app-automate/sample-apps/android/LocalSample.apk)
145+
to the BrowserStack servers using the same app upload API.
146+
145147
- Junit4
146148
- Switch to `run-local-test` directory under [Android examples](android/junit4-examples/) or [iOS examples](ios/junit4-examples/)
147149
- Then run

android/junit4-examples/src/test/resources/com/browserstack/run_first_test/first.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
},
1313

1414
"environments": [{
15-
"device": "Samsung Galaxy S7"
15+
"device": "Google Pixel 3"
1616
}]
1717
}

android/junit4-examples/src/test/resources/com/browserstack/run_local_test/local.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
},
1414

1515
"environments": [{
16-
"device": "Samsung Galaxy S7"
16+
"device": "Google Pixel 3"
1717
}]
1818
}

android/junit4-examples/src/test/resources/com/browserstack/run_parallel_test/parallel.conf.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@
1212
},
1313

1414
"environments": [{
15-
"device": "Google Pixel"
15+
"device": "Google Pixel 3"
1616
},{
17-
"device": "Samsung Galaxy S7"
18-
},{
19-
"device": "Samsung Galaxy S20"
17+
"device": "Samsung Galaxy S10e"
2018
}]
2119
}

android/junit5-examples/src/test/resources/com/browserstack/run_first_test/first.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
},
1313

1414
"environments": [{
15-
"device": "Samsung Galaxy S7"
15+
"device": "Google Pixel 3"
1616
}]
1717
}

android/junit5-examples/src/test/resources/com/browserstack/run_local_test/local.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
},
1414

1515
"environments": [{
16-
"device": "Samsung Galaxy S7"
16+
"device": "Google Pixel 3"
1717
}]
1818
}

android/junit5-examples/src/test/resources/com/browserstack/run_parallel_test/parallel.conf.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@
1212
},
1313

1414
"environments": [{
15-
"device": "Google Pixel"
15+
"device": "Google Pixel 3"
1616
},{
17-
"device": "Samsung Galaxy S7"
18-
},{
19-
"device": "Samsung Galaxy S20"
17+
"device": "Samsung Galaxy S10e"
2018
}]
2119
}

ios/junit4-examples/src/test/resources/com/browserstack/run_first_test/first.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
},
1313

1414
"environments": [{
15-
"device": "iPhone 7"
15+
"device": "iPhone 11 Pro"
1616
}]
1717
}

ios/junit4-examples/src/test/resources/com/browserstack/run_local_test/local.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
},
1414

1515
"environments": [{
16-
"device": "iPhone 7"
16+
"device": "iPhone 11 Pro"
1717
}]
1818
}

ios/junit4-examples/src/test/resources/com/browserstack/run_parallel_test/parallel.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
},
1313

1414
"environments": [{
15-
"device": "iPhone 7"
15+
"device": "iPhone 11 Pro"
1616
}, {
17-
"device": "iPhone 7 Plus"
17+
"device": "iPhone 11 Pro Max"
1818
}]
1919
}

0 commit comments

Comments
 (0)