Testing an app with a launcher?

2 posts, 0 answers
  1. J
    J avatar
    1 posts
    Member since:
    Jun 2016

    Posted 05 Mar 2018 Link to this post

    Hello,

    I'm investigating whether Test Studio would be a good way to test my application, however I'm running into trouble with my proof of concept. At first the test wouldn't run at all, I'd get "System.InvalidOperationException: Process has exited, so the requested information is not available." From reading other posts it seemed like the issue was with the path to the app. I considered that maybe the issue is that my app has a launcher exe which then opens the actual exe that I want to test. So in the configuration I switched the target exe to the launcher. Now when I run the test the app opens, but then it will sit there and run indefinitely without stopping or producing any errors.

    Can anyone gives me any guidance on this issue?

  2. Elena
    Admin
    Elena avatar
    1144 posts

    Posted 08 Mar 2018 Link to this post

    Hi J K,

    Thank you for reaching us out. 

    As of the listed details I suspect that the application you are automating is a ClickOnce application - please correct me if I am wrong. If this is so you should be aware that once the application updates the path to its exe file will be different and this is what you have to update in the test as well. 

    If the above suggestion is not correct I would like to kindly ask you to record a short video of how you start your application. This will bring further understanding what the issue could be. 

    Thanks in advance for your time and cooperation! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top