wpf test case

2 posts, 0 answers
  1. Pav
    Pav avatar
    1 posts
    Member since:
    Sep 2013

    Posted 30 Jun 2015 Link to this post

    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!

  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 03 Jul 2015 Link to this post

    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
     
Back to Top