{"id":22363103,"url":"https://github.com/lambdatest/lt-appium-ruby-cucumber","last_synced_at":"2026-03-06T14:35:07.040Z","repository":{"id":37090419,"uuid":"478516751","full_name":"LambdaTest/LT-appium-ruby-cucumber","owner":"LambdaTest","description":"Run Cucumber and Appium scripts on LambdaTest automation cloud. A sample repo to help you run Cucumber framework based test scripts in parallel with LambdaTest","archived":false,"fork":false,"pushed_at":"2023-11-24T11:09:41.000Z","size":40,"stargazers_count":5,"open_issues_count":3,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-30T16:20:05.733Z","etag":null,"topics":["android-automation","app-automation","appium","appium-cucumber","appium-ruby","cucumber","ios-automation","mobile-app-testing","ruby-cucumber","testing-tools"],"latest_commit_sha":null,"homepage":"https://www.lambdatest.com/","language":"Ruby","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/LambdaTest.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":"2022-04-06T10:46:37.000Z","updated_at":"2022-06-13T15:15:52.000Z","dependencies_parsed_at":"2022-08-19T06:31:35.200Z","dependency_job_id":null,"html_url":"https://github.com/LambdaTest/LT-appium-ruby-cucumber","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LambdaTest/LT-appium-ruby-cucumber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FLT-appium-ruby-cucumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FLT-appium-ruby-cucumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FLT-appium-ruby-cucumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FLT-appium-ruby-cucumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LambdaTest","download_url":"https://codeload.github.com/LambdaTest/LT-appium-ruby-cucumber/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FLT-appium-ruby-cucumber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30180759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T12:39:21.703Z","status":"ssl_error","status_checked_at":"2026-03-06T12:36:09.819Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["android-automation","app-automation","appium","appium-cucumber","appium-ruby","cucumber","ios-automation","mobile-app-testing","ruby-cucumber","testing-tools"],"created_at":"2024-12-04T17:13:39.811Z","updated_at":"2026-03-06T14:35:07.004Z","avatar_url":"https://github.com/LambdaTest.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cucumber With Appium\n\n\u003cp align=\"center\"\u003e\n\u003cimg height=\"500\" src=\"https://user-images.githubusercontent.com/95698164/171858095-57a02573-3b2e-4dfb-92ee-5c62f1aade4d.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.lambdatest.com/blog/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber\" target=\"_bank\"\u003eBlog\u003c/a\u003e\n  \u0026nbsp; \u0026#8901; \u0026nbsp;\n  \u003ca href=\"https://www.lambdatest.com/support/docs/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber\" target=\"_bank\"\u003eDocs\u003c/a\u003e\n  \u0026nbsp; \u0026#8901; \u0026nbsp;\n  \u003ca href=\"https://www.lambdatest.com/learning-hub/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber\" target=\"_bank\"\u003eLearning Hub\u003c/a\u003e\n  \u0026nbsp; \u0026#8901; \u0026nbsp;\n  \u003ca href=\"https://www.lambdatest.com/newsletter/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber\" target=\"_bank\"\u003eNewsletter\u003c/a\u003e\n  \u0026nbsp; \u0026#8901; \u0026nbsp;\n  \u003ca href=\"https://www.lambdatest.com/certifications/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber\" target=\"_bank\"\u003eCertifications\u003c/a\u003e\n  \u0026nbsp; \u0026#8901; \u0026nbsp;\n  \u003ca href=\"https://www.youtube.com/c/LambdaTest\" target=\"_bank\"\u003eYouTube\u003c/a\u003e\n\u003c/p\u003e\n\u0026emsp;\n\u0026emsp;\n\u0026emsp;\n\n*Cucumber is a free and open source behavior-driven development (BDD) tool that supports the development process. Its ordinary language parser, Gherkin, allows software behavior to be specified in a logical language that anyone can understand. Perform Appium automation tests on [LambdaTest's online cloud](https://www.lambdatest.com/appium-mobile-testing).*\n\n*Learn the basics of [Appium testing on the LambdaTest platform.](https://www.lambdatest.com/support/docs/getting-started-with-appium-testing/)*\n\n[\u003cimg height=\"53\" width=\"200\" src=\"https://user-images.githubusercontent.com/70570645/171866795-52c11b49-0728-4229-b073-4b704209ddde.png\"\u003e](https://accounts.lambdatest.com/register)\n\n## Table of Contents\n\n* [Pre-requisites](#pre-requisites)\n* [Run Your First Test](#run-your-first-test)\n* [Executing The Tests](#executing-the-tests)\n\n## Pre-requisites\n\nBefore you can start performing Ruby automation testing with Selenium, you would need to:\n\n- Install **Ruby** and **gem** on your local system. Follow these instructions to install on different operating systems.\n\n  - For **Windows**, you can download from the [official website](https://rubyinstaller.org/downloads/).\n  - For **Linux** or **Ubuntu**, you can run a simple apt command like below:\n\n    ```bash\n    sudo apt-get install ruby-full\n    ```\n\n  - For **macOS**, you can run a [Homebrew](https://brew.sh/) command like this:\n\n    ```bash\n    brew install ruby\n    ```\n\n- Ensure you have Dependency manager **bundler** installed. If not installed, you can install with the following command -\n\n  ```\n  gem install bundler\n  ```\n\n### Clone The Sample Project\n\nClone the LambdaTest’s [LT_Ruby_Appium](https://github.com/LambdaTest/LT-appium-ruby-cucumber) and navigate to the code directory as shown below:\n\n```bash\ngit clone https://github.com/LambdaTest/LT-appium-ruby-cucumber\ncd LT-appium-ruby-cucumber\n```\n\n### Setting Up Your Authentication\n\nMake sure you have your LambdaTest credentials with you to run test automation scripts on LambdaTest. To obtain your access credentials, [purchase a plan](https://billing.lambdatest.com/billing/plans) or access the [Automation Dashboard](https://appautomation.lambdatest.com/).\n\nSet LambdaTest `Username` and `Access Key` in environment variables.\n\n**For Linux/macOS:**\n\n```js\nexport LT_USERNAME=YOUR_LAMBDATEST_USERNAME \\\nexport LT_ACCESS_KEY=YOUR_LAMBDATEST_ACCESS_KEY\n```\n  \n**For Windows:**\n\n```js\nset LT_USERNAME=YOUR_LAMBDATEST_USERNAME `\nset LT_ACCESS_KEY=YOUR_LAMBDATEST_ACCESS_KEY\n```\n  \n### Upload Your Application\n\nUpload your **_iOS_** application (.ipa file) or **_android_** application (.apk file) to the LambdaTest servers using our **REST API**. You need to provide your **Username** and **AccessKey** in the format `Username:AccessKey` in the **cURL** command for authentication. Make sure to add the path of the **appFile** in the cURL request. Here is an example cURL request to upload your app using our REST API:\n\n**Using App File:**\n\n**For Linux/macOS:**\n\n```js\ncurl -u \"YOUR_LAMBDATEST_USERNAME:YOUR_LAMBDATEST_ACCESS_KEY\" \\\n--location --request POST 'https://manual-api.lambdatest.com/app/upload/realDevice' \\\n--form 'name=\"Android_App\"' \\\n--form 'appFile=@\"/Users/macuser/Downloads/proverbial_android.apk\"' \n```\n\n**For Windows;**\n\n```js\ncurl -u \"YOUR_LAMBDATEST_USERNAME:YOUR_LAMBDATEST_ACCESS_KEY\" -X POST \"https://manual-api.lambdatest.com/app/upload/realDevice\" -F \"appFile=@\"/Users/macuser/Downloads/proverbial_android.apk\"\"\n```\n\n**Using App URL:**\n\n**For Linux/macOS:**\n\n```js\ncurl -u \"YOUR_LAMBDATEST_USERNAME:YOUR_LAMBDATEST_ACCESS_KEY\" \\\n--location --request POST 'https://manual-api.lambdatest.com/app/upload/realDevice' \\\n--form 'name=\"Android_App\"' \\\n--form 'url=\"https://prod-mobile-artefacts.lambdatest.com/assets/docs/proverbial_android.apk\"'\n```\n\n**For Windows:**\n\n```js\ncurl -u \"YOUR_LAMBDATEST_USERNAME:YOUR_LAMBDATEST_ACCESS_KEY\" -X POST \"https://manual-api.lambdatest.com/app/upload/realDevice\" -d \"{\"url\":\"https://prod-mobile-artefacts.lambdatest.com/assets/docs/proverbial_android.apk\",\"name\":\"sample.apk\"}\"\n```\n\n**Tip:**\n\n- If you do not have any **.apk** or **.ipa** file, you can run your sample tests on LambdaTest by using our sample :link: [Android app](https://prod-mobile-artefacts.lambdatest.com/assets/docs/proverbial_android.apk) or sample :link: [iOS app](https://prod-mobile-artefacts.lambdatest.com/assets/docs/proverbial_ios.ipa).\n- Response of above cURL will be a **JSON** object containing the `App URL` of the format - \u003clt://APP123456789123456789\u003e and will be used in the next step.\n\n## Run Your First Test\n\n**Test Scenario:** Check out [first_steps.rb](https://github.com/LambdaTest/LT-appium-ruby-cucumber/blob/master/Android/examples/First_test/features/step_definitions/first_steps.rb) file to view the sample test script in android/ios folder and [first.config.yml](https://github.com/LambdaTest/LT-appium-ruby-cucumber/blob/master/iOS/examples/First_test/features/step_definitions/first_steps.rb) to make changes to the username, accessKey and app url.\n\n### Configuring Your Test Capabilities\n\nYou can update your custom capabilities in test scripts. In this sample project, we are passing platform name, platform version, device name and app url (generated earlier) along with other capabilities like build name and test name via capabilities object. The capabilities object in the sample code are defined as:\n\n\u003cTabs className=\"docs__val\"\u003e\n\n\u003cTabItem value=\"android-config\" label=\"Android\" default\u003e\n\n```ruby title=\"Android first.config.yml)\"\nserver: \"mobile-hub.lambdatest.com\"\nuser: \"LT_USERNAME\"    # Add Lambdatest username here\nkey: \"LT_ACCESS_KEY\"   # Add Lambdtest accessKey here\n\n\ncommon_caps:\n\n  \"build\": \"br-1\"\n  \n\nbrowser_caps:\n  -\n    \"isRealMobile\": \"true\"\n    \"platform\": \"android\"\n    \"deviceName\": \"Galaxy S21 5G\"\n    \"platformVersion\": \"11\"\n    \"app\": \"APP_URL\"      # Add your app url here\n```\n\n\u003c/TabItem\u003e\n\u003cTabItem value=\"ios-config\" label=\"iOS\" default\u003e\n\n```ruby title=\"iOS first.config.yml\"\nserver: \"mobile-hub.lambdatest.com\"\nuser: \"LT_USERNAME\"    # Add Lambdatest username here\nkey: \"LT_ACCESS_KEY\"   # Add Lambdtest accessKey here\n\ncommon_caps:\n\n  \"build\": \"br-2\"\n  \n\nbrowser_caps:\n  -\n    \"isRealMobile\": \"true\"\n    \"platform\": \"ios\"\n    \"deviceName\": \"iPad (2017)\"\n    \"platformVersion\": \"13\"\n    \"app\": \"APP_URL\"      # Add your app url here\n```\n\n\u003c/TabItem\u003e\n\n\u003c/Tabs\u003e\n\n**Info Note:**\n\n- You must add the generated **APP_URL** to the `\"app\"` capability in the config file.\n- You can generate capabilities for your test requirements with the help of our inbuilt **[Capabilities Generator tool](https://www.lambdatest.com/capabilities-generator/beta/index.html)**. A more Detailed Capability Guide is available [here](https://www.lambdatest.com/support/docs/desired-capabilities-in-appium/).\n\n## Executing The Tests\n\n- Switch to `run_first_test` directory under [Android examples](android/examples) or [iOS examples](ios/examples)\n\n- Go to `config/first.config.yml` and edit the username, acessKey and add your app url.\n\n- Run the following commands to run your tests\n\n```bash\nbundle install\nbundle exec rake first\n```\n\n### **Speed up test execution with parallel testing :**\n\n- Switch to `run_parallel_test` directory under [Android examples](android/examples/) or [iOS examples](ios/examples/)\n\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/) or [iOS examples](ios/examples/)\n\n**Info:** Your test results would be displayed on the test console (or command-line interface if you are using terminal/cmd) and on the :link: [LambdaTest App Automation Dashboard](https://appautomation.lambdatest.com/build).\n\n## Additional Links\n\n- [Advanced Configuration for Capabilities](https://www.lambdatest.com/support/docs/desired-capabilities-in-appium/)\n- [How to test locally hosted apps](https://www.lambdatest.com/support/docs/testing-locally-hosted-pages/)\n- [How to integrate LambdaTest with CI/CD](https://www.lambdatest.com/support/docs/integrations-with-ci-cd-tools/)\n\n## Documentation \u0026 Resources :books:\n      \nVisit the following links to learn more about LambdaTest's features, setup and tutorials around test automation, mobile app testing, responsive testing, and manual testing.\n\n* [LambdaTest Documentation](https://www.lambdatest.com/support/docs/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber)\n* [LambdaTest Blog](https://www.lambdatest.com/blog/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber)\n* [LambdaTest Learning Hub](https://www.lambdatest.com/learning-hub/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber)    \n\n## LambdaTest Community :busts_in_silhouette:\n\nThe [LambdaTest Community](https://community.lambdatest.com/) allows people to interact with tech enthusiasts. Connect, ask questions, and learn from tech-savvy people. Discuss best practises in web development, testing, and DevOps with professionals from across the globe 🌎\n\n## What's New At LambdaTest ❓\n\nTo stay updated with the latest features and product add-ons, visit [Changelog](https://changelog.lambdatest.com/) \n      \n## About LambdaTest\n\n[LambdaTest](https://www.lambdatest.com) is a leading test execution and orchestration platform that is fast, reliable, scalable, and secure. It allows users to run both manual and automated testing of web and mobile apps across 3000+ different browsers, operating systems, and real device combinations. Using LambdaTest, businesses can ensure quicker developer feedback and hence achieve faster go to market. Over 500 enterprises and 1 Million + users across 130+ countries rely on LambdaTest for their testing needs.    \n\n### Features\n\n* Run Selenium, Cypress, Puppeteer, Playwright, and Appium automation tests across 3000+ real desktop and mobile environments.\n* Real-time cross browser testing on 3000+ environments.\n* Test on Real device cloud\n* Blazing fast test automation with HyperExecute\n* Accelerate testing, shorten job times and get faster feedback on code changes with Test At Scale.\n* Smart Visual Regression Testing on cloud\n* 120+ third-party integrations with your favorite tool for CI/CD, Project Management, Codeless Automation, and more.\n* Automated Screenshot testing across multiple browsers in a single click.\n* Local testing of web and mobile apps.\n* Online Accessibility Testing across 3000+ desktop and mobile browsers, browser versions, and operating systems.\n* Geolocation testing of web and mobile apps across 53+ countries.\n* LT Browser - for responsive testing across 50+ pre-installed mobile, tablets, desktop, and laptop viewports\n    \n[\u003cimg height=\"53\" width=\"200\" src=\"https://user-images.githubusercontent.com/70570645/171866795-52c11b49-0728-4229-b073-4b704209ddde.png\"\u003e](https://accounts.lambdatest.com/register)\n      \n## We are here to help you :headphones:\n\n* Got a query? we are available 24x7 to help. [Contact Us](support@lambdatest.com)\n* For more info, visit - [LambdaTest](https://www.lambdatest.com/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=LT-appium-ruby-cucumber)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdatest%2Flt-appium-ruby-cucumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdatest%2Flt-appium-ruby-cucumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdatest%2Flt-appium-ruby-cucumber/lists"}