I currently have a minor problem whereby I am creating some tests in Ranorex Studio on my dev machine and then pushing them to a VM (same setup) using the post-build event command line tool e.g
- Code: Select all
copy "$(TargetDir)$(TargetName)$(TargetExt)" "\\bert\RanorexStudioProjects\ChemLabel\"
The VM that I am pushing the test to has the Ranorex Runtime installed. However, when I execute the compiled .exe (both release and debug) I get an error that indicates that a test suite file is required.
The error being,
- Code: Select all
Unexpected exception occured: Ranorex.RanorexException: Could not find test suite file 'C:\RanorexStudioProjects\ChemLabel\AreasCreation.rxtst'.
at Ranorex.Core.Testing.TestSuiteRunner.GetTestSuiteXml(Type containerType, String fileName)
at Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs, String testSuiteXml)
at AreasCreation.Program.Main(String[] args)
I presume I am correct in assuming you should be able to push the .exe to the runtime machine and the test should execute ok? I shouldn't need also to push across the test suite file as well?
Thanks in advance.