{"id":21944734,"url":"https://github.com/browserstack/xunit-appium-app-browserstack","last_synced_at":"2026-01-29T18:51:57.490Z","repository":{"id":261182275,"uuid":"844814820","full_name":"browserstack/xunit-appium-app-browserstack","owner":"browserstack","description":"This repository demonstrates how to run Appium tests in Xunit on BrowserStack App Automate.","archived":false,"fork":false,"pushed_at":"2024-11-21T14:44:37.000Z","size":35312,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-09-24T15:40:57.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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:27.000Z","updated_at":"2024-11-21T14:44:44.000Z","dependencies_parsed_at":"2024-11-05T06:26:14.148Z","dependency_job_id":"f9244b66-489a-46ce-876d-6767243efaaf","html_url":"https://github.com/browserstack/xunit-appium-app-browserstack","commit_stats":null,"previous_names":["browserstack/xunit-appium-app-browserstack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/browserstack/xunit-appium-app-browserstack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fxunit-appium-app-browserstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fxunit-appium-app-browserstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fxunit-appium-app-browserstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fxunit-appium-app-browserstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserstack","download_url":"https://codeload.github.com/browserstack/xunit-appium-app-browserstack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fxunit-appium-app-browserstack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28882403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-29T04:16:59.286Z","updated_at":"2026-01-29T18:51:57.465Z","avatar_url":"https://github.com/browserstack.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xunit-appium-app-browserstack\nThis repository demonstrates how to run Appium tests in Xunit on BrowserStack App Automate.\n\n## Setup\n\n### Requirements\n\n1. Visual Studio and .NET Core\n\n    - Download Visual Studio from [here](https://visualstudio.microsoft.com/)\n    - Install .NET Core while installing Visual Studio\n\n\n## Getting Started\n\nGetting Started with Appium tests in Xunit on BrowserStack devices couldn't be easier!\n\n### **Run first test :**\n\n- Open the project in Visual Studio by opening `xunit-appium-app-browserStack.sln` file\n\n- Go to `android` or `ios` directory\n\n- If you have uploaded your app then add the app id to the `browserstack.yml` config file, or you can directly specify the path to your app in the `browserstack.yml` file.\n\n- Run `dotnet test --filter \"Category=sample-test\"`\n\n- You can access the test execution results, and debugging information such as video recording, network logs on [App Automate dashboard](https://app-automate.browserstack.com/dashboard)\n\n### **Use Local testing for apps that access resources hosted in development or testing environments :**\n\n- Open the project in Visual Studio by opening `xunit-appium-app-browserStack.sln` file\n\n- Go to `android` or `ios` directory\n\n- Ensure that `browserstackLocal` capability is set to `true` in the `browserstack.yml` file\n\n- If you have uploaded your app then add the app id to the `browserstack.yml` config file, or you can directly specify the path to your app in the `browserstack.yml` file.\n\n- Run `dotnet test --filter \"Category=sample-local-test\"`\n\n- You can access the test execution results, and debugging information such as video recording, network logs on [App Automate dashboard](https://app-automate.browserstack.com/dashboard)\n\n### **Integrate your test suite**\nThis repository uses the BrowserStack SDK to run tests on BrowserStack. Follow the steps below to install the SDK in your test suite and run tests on BrowserStack:\n\n- Create sample browserstack.yml file with the browserstack related capabilities with your BrowserStack Username and Access Key and place it in your root folder.\n- Add nuget library BrowserStack.TestAdapter\n```sh\ndotnet add BrowserStack.TestAdapter\n```\n- Build project `dotnet build`\n\n--\n\n## Integration with other CSharp frameworks\n\nFor other CSharp frameworks samples, refer to following repositories :\n\n- [Appium CSharp tests](https://github.com/browserstack/csharp-appium-app-browserstack)\n\nNote: For other test frameworks supported by App-Automate refer our [Developer documentation](https://www.browserstack.com/docs/)\n\n--\n\n## Troubleshooting\n\n- In case `Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json'` issue is encountered while running a Local test on Windows, please follow the these steps to resolve it :\n\n    - Go to Tools \u003e NuGet Package Manager \u003e Package Manager Console\n\n    - Run the command `update-package Newtonsoft.Json -reinstall` in the opened console\n\n    - Then run `update-package Newtonsoft.Json` in the same console\n\n--\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%2Fxunit-appium-app-browserstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserstack%2Fxunit-appium-app-browserstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fxunit-appium-app-browserstack/lists"}