ApplicationUnderTest.Launch()抛出异常 [英] ApplicationUnderTest.Launch() throws an exception
本文介绍了ApplicationUnderTest.Launch()抛出异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的工作流程如下:
1。调用WPF应用程序
1. Invoke WPF application
2。启动画面和某些窗口打开
2. Splash screen and some window gets opened
打开的窗口(用户登录详细信息窗口)不是应用程序的主窗口。
The window(user login details window) opened is not main window of the application.
ApplicationUnderTest.Launch是工作正常,如果打开的窗口是应用程序主窗口,就好像它是一些其他窗口,那么它会抛出异常。
ApplicationUnderTest.Launch is working fine, if the opened window is application main window, where as if it is some other window, then it is throwing an exception.
我尝试了可覆盖的启动方法,我们可以提供登录详情,但仍然没有帮助我。
I tried the overridable method of launch where we can provide login detais also,but still that did not help me.
任何帮助将不胜感激。
推荐答案
你能给出异常/堆栈跟踪吗?
Can you give the exception/stack trace pls?
这篇关于ApplicationUnderTest.Launch()抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文