This is a migrated thread and some comments may be shown as answers.

wpf test case

1 Answer 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pav
Top achievements
Rank 1
Pav asked on 30 Jun 2015, 08:28 PM

I am trying to run my 1st test

Logs show without running the application. What am i missing ?

------------------------------------------------------------
'6/30/2015 2:27:12 PM' - Executing test: 'SearchAccountByAccountNumber', path: 'Collections\SearchAccountByAccountNumber.tstest.'
'6/30/2015 2:27:12 PM' - Using .Net Runtime version: '4.0.30319.34014' for test execution. Build version is '2015.1.528.0'.
'6/30/2015 2:27:12 PM' - Starting execution....
'6/30/2015 2:27:13 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'6/30/2015 2:27:13 PM' - System.InvalidOperationException: Process has exited, so the requested information is not available.
   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_MainWindowHandle()
   at ArtOfTest.WebAii.Core.Manager.LaunchNewApplication(ProcessStartInfo pinfo)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWpf(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'6/30/2015 2:27:13 PM' - Test completed!

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 03 Jul 2015, 12:28 PM
Hello,

Looks like the path to the WPF application is not correct.

Refer to this article for more info.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Pav
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or