WP8 WindowsPhoneTestFramework

本文关键字:WindowsPhoneTestFramework WP8 | 更新日期: 2023-09-27 18:17:34

当我在wp7上运行测试时,这很好,但是当我将设置更改为WP8时,我从WCF服务中获得超时,可能导致这种情况的原因是什么。我知道wp8在网络中作为自己的设备运行,而不是像wp7那样使用主机网络,这在新版本的框架中得到了照顾。WP8连接到自动化服务。

这是到框架的链接https://github.com/nokia-entertainment/WindowsPhoneTestFramework

和复制粘贴错误:

Given my app is clean installed and running
    Trace:->creating datastore          
    Trace:->getting platform            
    Trace:->1 platform(s) found             
    Trace:->platform 'Windows Phone 8' found            
    Trace:->looking for device 'Device'             
    Trace:->5 devices found             
    Trace:->connecting to device...             
    Trace:->device Connected...             
    Trace:->building host...            
    Trace:->opening host...             
    Trace:->host open           
    Trace:->ensuring application is stopped...          
    Trace:->stopping application...             
    Trace:->application stopped             
    Trace:->Command timed out waiting for send          
WCF command messages ->: Timeout
    Trace:->ensuring application is stopped...          
    Trace:->stopping application...             
    Trace:->application stopped             
    Trace:->uninstalling xap from device...             
    Trace:->xap uninstalled from  device            
    Trace:->installing xap to device...             
    Trace:->xap installed           
    Trace:->launching app...            
    Trace:->app launched            
    Trace:->Command timed out waiting for send          
WCF command messages ->: Timeout
    Trace:->Command timed out waiting for send          
WCF command messages ->: Timeout
    Trace:->Command timed out waiting for send 

设备和模拟器也有同样的问题。

虽然应用程序在设备和模拟器上启动,但随后超时。

WP8 WindowsPhoneTestFramework

可能防火墙阻止你的wcf服务连接wp8。您可以使用管理员权限执行以下命令:

netsh http add urlacl url=http://+:8085/ user=<domain>'<user>
相关文章:
  • 没有找到相关文章