https://github.com/testingbot/csharp-app-example
C# Mobile App Automation example for TestingBot
https://github.com/testingbot/csharp-app-example
appium csharp testingbot
Last synced: 10 months ago
JSON representation
C# Mobile App Automation example for TestingBot
- Host: GitHub
- URL: https://github.com/testingbot/csharp-app-example
- Owner: testingbot
- Created: 2020-06-04T08:29:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-01T15:36:36.000Z (over 4 years ago)
- Last Synced: 2025-01-19T19:17:38.339Z (12 months ago)
- Topics: appium, csharp, testingbot
- Language: C#
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## TestingBot - C# Mobile App Testing
TestingBot provides a grid of browsers and mobile devices to run Automated tests.
This example demonstrates how to use C# to run an Automated Test on a Mobile Device, located in the TestingBot Cloud.
### Environment Setup
1. Setup
* Clone this repository
2. TestingBot Credentials
* Add your TestingBot Key and Secret as environmental variables. You can find these in the [TestingBot Dashboard](https://testingbot.com/members/).
```
$ export TB_KEY=
$ export TB_SECRET=
```
3. Specify `TB_APP_ID`
Let us know which app you want to test by specifying the `TB_APP_ID` environment variable. This should point to a public URL and contain a `.apk`, `.ipa` or `.zip` file.
For more information, please see our [Mobile App Documentation](https://testingbot.com/support/mobile/help.html).
If you do not have an `.ipa` or `.apk` file and just want to test, you can use https://testingbot.com/appium/sample.apk or https://testingbot.com/appium/sample.ipa
To test with ipa files, you'll need to edit the `DesiredCapabilities` to include `realDevice: true`
## Running Tests
* To run a test, please use Visual Studio or Mono.
You will see the test result in the [TestingBot Dashboard](https://testingbot.com/members/)
### Resources
##### [TestingBot Documentation](https://testingbot.com/support/mobile/csharp.html)
##### [Appium Documentation](http://appium.io/)