我已经按照您的测试应用程序示例从this video。我也使用下面的命令创建了端口8085的ACL。 (与mydomain和myusracc是我的工作域和用户帐户)Windows Phone测试框架 - NuGet - 测试新应用程序
netsh http add urlacl url=http://+:8085/ user=<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情景,我得到以下异常:
App not alive - ping failed
Expected: True
But was: False
我跑的命令来查看哪些端口lisening,(netstat的-an |找到/我“听”),但没有找到8085
如果我再次运行netsh命令创建ACL,我得到一个消息说URL已经存在,并列示如下:
Reserved URL : http://+:8085/
User: <mydomain>\<myusername>
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-21-xxxxxxxxxxxx-xxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxx)