Skip to content

Commit eb19501

Browse files
updated readme
1 parent a6f31d7 commit eb19501

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
logs/
3+
node_modules/
4+
target/
5+

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# testng-appium-app-browserstack
2+
3+
This repository demonstrates how to run Appium tests in [TestNG](http://testng.org) on BrowserStack App Automate using BrowserStack SDK.
4+
5+
![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)
6+
7+
## Setup
8+
9+
### Requirements
10+
11+
1. Java 8+
12+
13+
- If Java is not installed, follow these instructions:
14+
- For Windows, download latest java version from [here](https://java.com/en/download/) and run the installer executable
15+
- 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/)
16+
17+
2. Maven (Only required if using Maven as the build tool)
18+
- If Maven is not downloaded, download it from [here](https://maven.apache.org/download.cgi)
19+
- For installation, follow the instructions [here](https://maven.apache.org/install.html)
20+
21+
22+
### Install the dependencies
23+
24+
To install the dependencies for tests, run :
25+
```sh
26+
mvn clean
27+
```
28+
29+
30+
## Getting Started
31+
32+
Getting Started with Appium tests in TestNg on BrowserStack couldn't be easier!
33+
34+
### **Run Sample test :**
35+
36+
- **For Maven:** Run the following command to execute tests in the Maven environment:
37+
```sh
38+
mvn test -P sample-test
39+
```
40+
41+
42+
## Integration with other Java frameworks
43+
44+
For other Java frameworks samples, refer to following repositories :
45+
46+
- [JUnit](https://github.com/browserstack/junit-appium-app-browserstack)
47+
- [Java](https://github.com/browserstack/java-appium-app-browserstack)
48+
49+
Note: For other test frameworks supported by App-Automate refer our [Developer documentation](https://www.browserstack.com/docs/)
50+
51+
## Getting Help
52+
53+
If you are running into any issues or have any queries, please check [Browserstack Support page](https://www.browserstack.com/support/app-automate) or [get in touch with us](https://www.browserstack.com/contact?ref=help).

0 commit comments

Comments
 (0)