Cannot run ranorex script from teamcity build
Posted: Wed Jun 20, 2012 9:58 am
Hi,
Im having some problem with running ranorex from teamcity build.
When my build starts, it will build ranorex files and then run command “projectname.exe testcasename” to run the test.
However, when I run that command I get this error in teamcity log:
[Logger]: Console logger starting.
[Failure][TestSuite]: Failed to load default plugins. Please reinstall Ranorex. Failed to initialize plugin 'win32'. Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
[Logger]: Console logger stopping.
Process exited with code -1
But if i run the same command from just regular CLI in the machine it works fine.
Any help would be appreciated.
My setup:
windows 2003 r2 server
64bit service pack 2
Im running remotely, and i have an active session ongoing.
Im having some problem with running ranorex from teamcity build.
When my build starts, it will build ranorex files and then run command “projectname.exe testcasename” to run the test.
However, when I run that command I get this error in teamcity log:
[Logger]: Console logger starting.
[Failure][TestSuite]: Failed to load default plugins. Please reinstall Ranorex. Failed to initialize plugin 'win32'. Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
[Logger]: Console logger stopping.
Process exited with code -1
But if i run the same command from just regular CLI in the machine it works fine.
Any help would be appreciated.
My setup:
windows 2003 r2 server
64bit service pack 2
Im running remotely, and i have an active session ongoing.