Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running test after installing new build (2/3/14 ) from GitHub #9

Open
mweimer77 opened this issue Feb 4, 2014 · 1 comment
Assignees

Comments

@mweimer77
Copy link
Contributor

I installed the new build from 2/3/14, re-installed the ProtoTest references from NuGet and re-built the soln. The test class I am using is as follows:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using ProtoTest.Golem.WebDriver;
using MbUnit.Framework;
using ProtoTest.Golem.Tests.PageObjects.Google;

namespace MikeGolemTesting
{
public class ESPNTests : WebDriverTestBase
{
[Test]
public void TestEspn()
{
OpenPage("http://www.google.com/").SearchFor("Selenium");
}
}
}

The app config file I am using for testing is as follows:

The error I am seeing when I run the [Test] is as follows:
Test 'MikeGolemTesting/ESPNTests/ESPNTests: browser={Chrome}, host="localhost"' failed:
Set Up
System.Exception: Error caught starting BMP Proxy Server : Could not find a part of the path 'C:\Users\MIKE\Documents\GitHub\MikeGolemTestingSuite\MikeGolemTesting\MikeGolemTesting\bin\Debug\Proxy\browsermob-proxy-2.0-beta-8-bin.zip'.
HResult: -2146233088
at ProtoTest.Golem.Core.TestBase.StartProxyServer()
at ProtoTest.Golem.Core.TestBase.SuiteSetUp()

I navigated to the directory mentioned in the error above and I do not have a "Proxy" directory at that location. I did see this directory in the ProtoTest.Golem directory where my GitHub instance sync's to, however.

Steps to Reproduce:

  1. Create a test class from the code above
  2. Create an app config file from the code above
  3. Run test/Observe error

_NOTE_ I commented out the "StartProxy" and the "UseProxy" key from the app config and ran the test without error.

@ghost ghost assigned bkitchener1 Feb 4, 2014
@andar
Copy link
Contributor

andar commented Feb 5, 2014

I modified the nuget package in 291cf3a. It should now set the 'copy to output' property to always.

I'll check if this version has been pushed to nuget yet and if yes confirm that it closes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants