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

Testing an app with a launcher?

1 Answer 90 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.
J
Top achievements
Rank 1
J asked on 05 Mar 2018, 10:21 PM

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?

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 08 Mar 2018, 09:38 AM
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
 
Tags
General Discussions
Asked by
J
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or