2012-02-13 2 views
1

this videoからテストアプリケーションの例に従っています。また、以下のコマンドを使用してポート8085のACLを作成しました。私はデバッグモードでソリューションを実行するとWindows Phoneテストフレームワーク - NuGet - 新しいアプリケーションをテストする

netsh http add urlacl url=http://+:8085/ user=<mydomain>\<myusracc> 

(Mydomainのとmyusraccが私の仕事のドメインとユーザーアカウントであることで)、私はエラーの下に取得しています:

There was no endpoint listening at http://localhost:8085/phoneAutomation/automate that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

私はSpecFlowシナリオを実行しようとしました、私はポートがliseningているかを確認するためのコマンドを実行した

App not alive - ping failed 
    Expected: True 
    But was: False 

、(のnetstat -an |発見/ i "はリスニング")と8085

を見つけることができませんでした:私は例外の下に取得します私はACLを作成するために、もう一度netshコマンドを実行した場合は

は、私はURLが既に存在し、次のようにリストされているというメッセージが出ます:

Reserved URL   : http://+:8085/ 
    User: <mydomain>\<myusername> 
     Listen: Yes 
     Delegate: No 
     SDDL: D:(A;;GX;;;S-1-5-21-xxxxxxxxxxxx-xxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxx) 

答えて

3

私は同じ質問を持っていると私は2番目の質問について発見したものを:GitHubのmanualは例の部分で正しくありません。私はソースコードの例を使っています。うまく動作します。

Feature: MainPage 
    In order to test my app 
    As a WP7 Developer 
    I want to see it start and take a picture of it 

Scenario: Main Page loads after a few seconds 
    Given my app is clean installed and running 
    Then take a picture 

は次のようにあなたのSpecFlowの機能を変更するようにしてください

関連する問題