简体   繁体   English

提琴手与白色UI自动化

[英]Fiddler with White UI automation

I have very wired problem. 我有非常有线的问题。

I have a WPF application that calls web services. 我有一个调用Web服务的WPF应用程序。

When I run the application I can see the communication to the services through fiddler. 当我运行应用程序时,我可以看到通过提琴手与服务的通信。

I wrote some UI automation test for the WPF application, using White framework from thoughtworks. 我使用Thoughtworks的White框架为WPF应用程序编写了一些UI自动化测试。

When I run the tests with NUnit, the tests will start up the application, but I cannot see the communication to the web services through fiddler 当我使用NUnit运行测试时,测试将启动应用程序,但是我看不到通过提琴手与Web服务的通信

anybody has idea? 有人有主意吗?

Make sure that fiddler and your test are running as the same user account. 确保提琴手和您的测试以相同的用户帐户运行。 I have had this problem when the automated test is logging in as a different account than myself. 当自动化测试以与我自己不同的帐户登录时,我遇到了这个问题。 You just need to do a run-as with fiddler. 您只需要对提琴手进行试运转。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM