Giter Club home page Giter Club logo

csharp-sdk-examples's People

Contributors

mstrelex avatar s-glatshtein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

csharp-sdk-examples's Issues

Add docker-compose.yml to repository

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"

Add TP_DEV_TOKEN as an environment variable

I suggest to add TP_DEV_TOKEN as an environment variable
file /Web/Test/TestProject.SDK.Examples.Web.Test/Runners/Console/Program.cs

  1. Add using System;

Line 10:
private static string DevToken = "YOUR_DEV_TOKEN";
to
`private static string DevToken = Environment.GetEnvironmentVariable("TP_DEV_TOKEN");\

SDK AndroidTests Runtests Example launches browser on Android Device fails to launch example site

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:

  1. Flashes Appium Settings
  2. Browser Launches. Shows data; in search/URL window at top of device browser
  3. Test does not run as expected
  4. Error message: OneTimeSetUp: TestProject.SDK.Exceptions.FailureException : Failed to start development session, org.openqa.selenium.SessionNotCreatedException: Failed to initialize Appium_Android_Chrome session on UDID after 4/3 attempts.
    C# Android SDK TestProject 3
    C# Android SDK TestProject 2
    C# Android SDK TestProject 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.