Hi All
When i am trying to execute ranorex application from local visual studio its working fine and ranorex testcases are executing. But when i host the application in IIS it is showing the following error.
Test executable crashed with unhandled exception.
Please ensure all required prerequisites are installed:
- .Net Framework 4.5
- VC++ Redistributable (2017)
For more information visit: https://www.ranorex.com/help/v9.1/xcopy-deployment
System.TypeInitializationException: The type initializer for 'Ranorex.Core.Configuration' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Ranorex.Core.Config.ConfigIO' threw an exception. ---> System.ArgumentException: Path cannot be empty or whitespace only.
at Ranorex.Common.Types.AbsoluteDirPath.FromString(String dirPath)
can any one help on this??
thanks in advance
Test executable crashed with unhandled exception.
Re: Test executable crashed with unhandled exception.
Hi,
The error message already gave you some suggestions. Are you sure there are installed required libs on the target machine? For more details, regarding required libs, see this page:
https://www.ranorex.com/help/latest/ran ... uirements/
Basically, you must install these libs, either manually or via Ranorex setup, on each machine, on which you want to run Ranorex tests. Hope this helps?
The error message already gave you some suggestions. Are you sure there are installed required libs on the target machine? For more details, regarding required libs, see this page:
https://www.ranorex.com/help/latest/ran ... uirements/
Basically, you must install these libs, either manually or via Ranorex setup, on each machine, on which you want to run Ranorex tests. Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Test executable crashed with unhandled exception.
Hi ,
Thanks for your response.
Our VS application which calls ranorex test cases(.exe) are functioning as below
Server(VS application & Ranorex Test script code.exe present ) -> Test Device ( where the test scripts should be executed via Agent)
Cmd prompt Execution is passed but when host VS app in IIS we get the above mentioned error
Kinldy confirm the mentioned libs and softwares in the below link should also be installed in the Test device ?
https://www.ranorex.com/help/latest/ran ... uirements/
Note : we are using Ranorex 9.1.1
Thanks for your response.
Our VS application which calls ranorex test cases(.exe) are functioning as below
Server(VS application & Ranorex Test script code.exe present ) -> Test Device ( where the test scripts should be executed via Agent)
Cmd prompt Execution is passed but when host VS app in IIS we get the above mentioned error
Kinldy confirm the mentioned libs and softwares in the below link should also be installed in the Test device ?
https://www.ranorex.com/help/latest/ran ... uirements/
Note : we are using Ranorex 9.1.1
Re: Test executable crashed with unhandled exception.
Hi,
If you click link Ranorex Studio 9.1 (on system requirement page), you should be redirected to list of all required libs, which must be installed on target test system. Hope this helps? If I were you, I would simply install entire Ranorex Studio on target system. All required libs are installed automatically, except SDK for .NET Framework 4.6.2. I believe, that this one was added in Ranorex 9.2 setup.
If you click link Ranorex Studio 9.1 (on system requirement page), you should be redirected to list of all required libs, which must be installed on target test system. Hope this helps? If I were you, I would simply install entire Ranorex Studio on target system. All required libs are installed automatically, except SDK for .NET Framework 4.6.2. I believe, that this one was added in Ranorex 9.2 setup.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration