TeamCity+Ranorex evaluation license problem
Posted: Mon Oct 21, 2013 2:17 pm
Hi
I have some problem with Ranorex. Before buying product for our small team, I tried to test integration Ranorex (trial-version) with TeamCity. However, build failed. There is a part of Build log:
[16:17:36][Step 3/3] Unhandled Exception: System.InvalidOperationException: 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.
[16:17:36][Step 3/3] at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
[16:17:36][Step 3/3] at Infralution.Licensing.EvaluationDialog.ShowDialog()
[16:17:36][Step 3/3] at Ranorex.Core.ElementEngine.CheckLicense(Boolean showDialogs)
[16:17:36][Step 3/3] at Ranorex.Core.ElementEngine.AssertLicense()
[16:17:36][Step 3/3] at Ranorex.Core.ElementEngine..ctor()
[16:17:36][Step 3/3] at Ranorex.Core.ElementEngine.get_Instance()
[16:17:36][Step 3/3] at Ranorex.Core.InputDispatcher.EnsureReady()
[16:17:36][Step 3/3] at Ranorex.Keyboard.UpdateLowLevelKeyboardHookCallback()
[16:17:36][Step 3/3] at Ranorex.Keyboard.set_AbortKey(Keys value)
[16:17:36][Step 3/3] at Atzo.Program.Main(String[] args) in c:\RanorexTest\Atzo\Atzo\Program.cs:line 34
[16:17:43][Step 3/3] Process exited with code 255
[16:17:43][Step 3/3] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_3' value='8385.0']
[16:17:43][Step 3/3] Step Command Line failed
I think that this problem relates to the fact that I have evaluation license of Ranorex, how can I fix it?
I have some problem with Ranorex. Before buying product for our small team, I tried to test integration Ranorex (trial-version) with TeamCity. However, build failed. There is a part of Build log:
[16:17:36][Step 3/3] Unhandled Exception: System.InvalidOperationException: 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.
[16:17:36][Step 3/3] at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
[16:17:36][Step 3/3] at Infralution.Licensing.EvaluationDialog.ShowDialog()
[16:17:36][Step 3/3] at Ranorex.Core.ElementEngine.CheckLicense(Boolean showDialogs)
[16:17:36][Step 3/3] at Ranorex.Core.ElementEngine.AssertLicense()
[16:17:36][Step 3/3] at Ranorex.Core.ElementEngine..ctor()
[16:17:36][Step 3/3] at Ranorex.Core.ElementEngine.get_Instance()
[16:17:36][Step 3/3] at Ranorex.Core.InputDispatcher.EnsureReady()
[16:17:36][Step 3/3] at Ranorex.Keyboard.UpdateLowLevelKeyboardHookCallback()
[16:17:36][Step 3/3] at Ranorex.Keyboard.set_AbortKey(Keys value)
[16:17:36][Step 3/3] at Atzo.Program.Main(String[] args) in c:\RanorexTest\Atzo\Atzo\Program.cs:line 34
[16:17:43][Step 3/3] Process exited with code 255
[16:17:43][Step 3/3] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_3' value='8385.0']
[16:17:43][Step 3/3] Step Command Line failed
I think that this problem relates to the fact that I have evaluation license of Ranorex, how can I fix it?