testproject-io / csharp-sdk-examples Goto Github PK
View Code? Open in Web Editor NEWTestProject C# SDK Examples
TestProject C# SDK Examples
This is a good idea to have the docker-compose.yml as we have on other's repo (https://github.com/testproject-io/java-sdk/tree/master/.github/ci/docker-compose.yml) for this repo as well.
version: "3.1"
services:
testproject-agent:
image: testproject/agent:latest
container_name: testproject-agent
depends_on:
- chrome
- firefox
environment:
TP_API_KEY: "${TP_API_KEY}"
TP_AGENT_TEMP: "true"
TP_SDK_PORT: "8686"
CHROME: "chrome:4444"
CHROME_EXT: "localhost:5555"
FIREFOX: "firefox:4444"
FIREFOX_EXT: "localhost:6666"
ports:
- "8585:8585"
- "8686:8686"
chrome:
image: selenium/standalone-chrome
volumes:
- /dev/shm:/dev/shm
ports:
- "5555:4444"
firefox:
image: selenium/standalone-firefox
volumes:
- /dev/shm:/dev/shm
ports:
- "6666:4444"
I suggest to add TP_DEV_TOKEN as an environment variable
file /Web/Test/TestProject.SDK.Examples.Web.Test/Runners/Console/Program.cs
using System;
Line 10:
private static string DevToken = "YOUR_DEV_TOKEN";
to
`private static string DevToken = Environment.GetEnvironmentVariable("TP_DEV_TOKEN");\
Windows 10
Visual Studio Pro. 2019
Latest C# SDK 0.64.0
Latest Test Project Agent
Pixel 3 XL
Android 9
Device is Visible to TestProject
Developer Settings enabled
USB Debugging Enabled
Result:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.