Windows Phone 测试框架 - NuGet - 测试新应用程序
我已按照此视频中的测试应用示例进行操作。我还使用以下命令为端口 8085 创建了 ACL。 (Mydomain 和 myusracc 是我的工作域和用户帐户)
netsh http add urlacl url=http://+:8085/ user=<mydomain>\<myusracc>
当我在调试模式下运行解决方案时,出现以下错误:
http://localhost:8085/phoneAutomation/automate
上没有侦听端点可以接受消息。这通常是由不正确的地址或 SOAP 操作引起的。有关更多详细信息,请参阅 InnerException(如果存在)。
我尝试执行 SpecFlow 场景,但出现以下异常:
App not alive - ping failed
Expected: True
But was: False
我运行命令来查看哪些端口正在侦听(netstat -an |find /i“侦听”),但找不到 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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我有同样的问题以及我对第二个问题的发现: manual GitHub 上的示例部分不正确,我使用源代码中的示例 - 它们工作正常。
尝试将您的 SpecFlow 功能更改为:
I has the same questions and what I have found about second question: manual at GitHub isn't correct in example part and I use their examples from source code - they work fine.
Try to change your SpecFlow feature to something like: