{"id":21944864,"url":"https://github.com/browserstack/lettuce-appium-app-browserstack","last_synced_at":"2025-04-22T21:10:31.613Z","repository":{"id":43699467,"uuid":"108263490","full_name":"browserstack/lettuce-appium-app-browserstack","owner":"browserstack","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-03T14:35:50.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-29T18:51:12.941Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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":null,"security":null,"support":null}},"created_at":"2017-10-25T11:57:13.000Z","updated_at":"2023-06-21T11:54:32.000Z","dependencies_parsed_at":"2023-01-22T00:48:41.965Z","dependency_job_id":null,"html_url":"https://github.com/browserstack/lettuce-appium-app-browserstack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Flettuce-appium-app-browserstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Flettuce-appium-app-browserstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Flettuce-appium-app-browserstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Flettuce-appium-app-browserstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserstack","download_url":"https://codeload.github.com/browserstack/lettuce-appium-app-browserstack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250324697,"owners_count":21411946,"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:17.298Z","updated_at":"2025-04-22T21:10:31.594Z","avatar_url":"https://github.com/browserstack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lettuce-appium-app-browserstack\n\nThis repository demonstrates how to run Appium Lettuce tests on BrowserStack App Automate.\n\n## Setup\n\n### Requirements\n\n1. Python 2.7+ (Note: Lettuce framework doesn't support Python3)\n\n    - If Python is not installed, follow these instructions:\n        - For Windows, download latest python version from [here](https://www.python.org/downloads/windows/) and run the installer executable\n        - For Mac and Linux, run `python --version` to see what python version is pre-installed. If you want a different version download from [here](https://www.python.org/downloads/)\n\n2. Package Manager `pip`\n\n    Note : `pip` comes installed with Python 2.7.9+\n\n    - If `pip` is not installed, follow these instructions:\n        - Securely download get-pip.py by following this link: [get-pip.py](https://bootstrap.pypa.io/get-pip.py) or use following cURL command to download it:\n\n        ```sh\n        curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n        ```\n\n        - After dowloading, run the file :\n            ```sh\n            python get-pip.py\n            ```\n\n### Install  the dependencies\n\nTo install the dependencies for Android tests, run :\n\n    ```sh\n    pip install -r android/requirements.txt\n    ```\nOr,\n\nTo install the dependencies for iOS tests, run :\n\n    ```sh\n    pip install -r ios/requirements.txt\n    ```\n\n## Getting Started\n\nGetting Started with Appium tests in Lettuce on BrowserStack couldn't be easier!\n\n### **Run first test :**\n\n- Switch to `run-first-test` directory under [Android examples](android/examples/run-first-test) or [iOS examples](ios/examples/run-first-test)\n\n- Follow the steps outlined in the documentation - [Get Started with your first test on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/python/lettuce)\n\n### **Speed up test execution with parallel testing :**\n\n- Switch to `run-prarallel-tests` directory under [Android examples](android/examples/run-parallel-tests) or [iOS examples](ios/examples/run-parallel-tests)\n\n- Follow the steps outlined in the documentation - [Get Started with Parallel testing on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/python/lettuce/parallelize-tests)\n\n### **Use Local testing for apps that access resources hosted in development or testing environments :**\n\n- Switch to `run-local-test` directory under [Android examples](android/examples/run-local-test) or [iOS examples](ios/examples/run-local-test)\n\n- Follow the steps outlined in the documentation - [Get Started with Local testing on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/python/lettuce/local-testing)\n\n**Note**: If you are facing any issues, refer [Getting Help section](#Getting-Help)\n\n## Integration with other python frameworks\n\nFor other Python frameworks samples, refer to following repositories :\n\n- [Behave](https://github.com/browserstack/behave-appium-app-browserstack)\n- [Python Native](https://github.com/browserstack/python-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).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Flettuce-appium-app-browserstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserstack%2Flettuce-appium-app-browserstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Flettuce-appium-app-browserstack/lists"}