{"id":21944760,"url":"https://github.com/browserstack/cucumber-java-appium-app-browserstack","last_synced_at":"2025-10-19T11:17:37.483Z","repository":{"id":259777998,"uuid":"844814940","full_name":"browserstack/cucumber-java-appium-app-browserstack","owner":"browserstack","description":"This repository demonstrates how to run Appium tests in Cucumber Java on BrowserStack App Automate.","archived":false,"fork":false,"pushed_at":"2024-11-21T15:04:02.000Z","size":35325,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-03T17:31:47.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-20T02:52:52.000Z","updated_at":"2024-11-21T15:04:03.000Z","dependencies_parsed_at":"2024-10-28T00:47:16.947Z","dependency_job_id":"5d4a2a3b-61a7-4fd3-ba3a-3070e1ae940d","html_url":"https://github.com/browserstack/cucumber-java-appium-app-browserstack","commit_stats":null,"previous_names":["browserstack/cucumber-java-appium-app-browserstack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-java-appium-app-browserstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-java-appium-app-browserstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-java-appium-app-browserstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fcucumber-java-appium-app-browserstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserstack","download_url":"https://codeload.github.com/browserstack/cucumber-java-appium-app-browserstack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244982057,"owners_count":20542300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T04:17:03.646Z","updated_at":"2025-10-19T11:17:37.478Z","avatar_url":"https://github.com/browserstack.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cucumber-java-appium-app-browserstack\n\nThis repository demonstrates how to run Appium tests in Cucumber Testng on BrowserStack App Automate using BrowserStack SDK.\n\n![BrowserStack Logo](https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780)\n\n## Setup\n\n### Requirements\n\n1. Java 8+\n\n    - If Java is not installed, follow these instructions:\n        - For Windows, download latest java version from [here](https://java.com/en/download/) and run the installer executable\n        - 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/)\n\n2. Maven (Only required if using Maven as the build tool)\n   - If Maven is not downloaded, download it from [here](https://maven.apache.org/download.cgi)\n   - For installation, follow the instructions [here](https://maven.apache.org/install.html)\n\n3. Gradle (Only required if using Gradle as the build tool)\n  - If Gradle is not downloaded, download it from [here](https://gradle.org/releases/)  \n  - For installation, follow the instructions [here](https://gradle.org/install/) \n\n### Install the dependencies\n\nTo install the dependencies for Android tests, run :\n```sh\ncd android/\nmvn clean\n```\n\nOr,\n\nTo install the dependencies for iOS tests, run :\n\n```sh\ncd ios/\nmvn clean\n```\n\n## Getting Started\n\nGetting Started with Appium tests in Cucumber TestNg on BrowserStack couldn't be easier!\n\n### **Run Sample test :**\n\n- Switch to one of the following directories: [Android examples](android) or [iOS examples](ios)\n- **For Maven:** Run the following command to execute tests in the Maven environment:  \n    ```sh\n    mvn test -P sample-test\n    ```\n- **For Gradle:** Run the following command to execute tests in the Gradle environment:  \n    ```sh\n    gradle clean sampleTest\n    ```\n\n### **Use Local testing for apps that access resources hosted in development or testing environments :**\n\n- Simply configure the `browserstackLocal` parameter in the `browserstack.yml` file accordingly in [Android examples](android) or [iOS examples](ios).\n  ```\n  browserstackLocal: true\n  ```\n- You can use the `LocalSample` app provided in both folder [Android examples](android) or [iOS examples](ios) to run your test. Change the app parameter in the `browserstack.yml` file.\n\n- **For Maven:** Run the following command to execute tests in the Maven environment:  \n    ```sh\n    mvn test -P sample-local-test\n    ```\n- **For Gradle:** Run the following command to execute tests in the Gradle environment:  \n    ```sh\n    gradle clean sampleLocalTest\n    ```\n\n**Note**: If you are facing any issues, refer [Getting Help section](#Getting-Help)\n\n## Integration with other Java frameworks\n\nFor other Java frameworks samples, refer to following repositories :\n\n- [JUnit](https://github.com/browserstack/junit-appium-app-browserstack)\n- [Java](https://github.com/browserstack/java-appium-app-browserstack)\n\nNote: For other test frameworks supported by App-Automate refer our [Developer documentation](https://www.browserstack.com/docs/)\n\n## Getting Help\n\nIf 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).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fcucumber-java-appium-app-browserstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserstack%2Fcucumber-java-appium-app-browserstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fcucumber-java-appium-app-browserstack/lists"}