hello,
the same project is working fine in Ranorex studio, the same folder is copied into the workspace folder and installed 4.5.2 .net version
this is what the error am getting.
C:\Program Files (x86)\Jenkins\workspace\Punashri>c:
C:\Program Files (x86)\Jenkins\workspace\Punashri>cd UsercodeCollection\UsercodeCollection\bin\Debug
C:\Program Files (x86)\Jenkins\workspace\Punashri\UsercodeCollection\UsercodeCollection\bin\Debug>UsercodeCollection.exe
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> 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.
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Ranorex.Core.ElementEngine.CheckTrial(Boolean verbose, AuthenticatedLicense nodeLockedLicense, Boolean isLimitedTrial)
at Ranorex.Core.ElementEngine.CheckMachineLicense(Boolean verbose, AuthenticatedLicense nodeLockedLicense, NodeLockedLicenseStatus nodeLockedStatus)
at Ranorex.Core.ElementEngine.CheckLicenseInternal(Boolean verbose)
at Ranorex.Core.ElementEngine.AssertLicense()
at Ranorex.Core.ElementEngine..ctor()
at Ranorex.Core.ElementEngine.get_Instance()
at Ranorex.Core.InputDispatcher.EnsureReady()
at Ranorex.Keyboard.UpdateLowLevelKeyboardHookCallback()
at Ranorex.Keyboard.set_AbortKey(Keys value)
at UsercodeCollection.Program.Main(String[] args) in c:\Users\Punashri\Documents\Ranorex\RanorexStudio Projects\UsercodeCollection\UsercodeCollection\Program.cs:line 34
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Ranorex.Core.Resolver.MainInvoker.Invoke(Assembly callerAssembly, String startUpObject, String[] args)
at __RxMain.__RxProgram.Main(String[] args) in c:\Users\Punashri\Documents\Ranorex\RanorexStudio Projects\UsercodeCollection\UsercodeCollection\obj\x86\Debug\__RxPrograms.g.cs:line 32
Test executable crashed with unhandled exception.
Please ensure all required prerequisites are installed:
- .Net Framework 4.5
- VC ++ Redistributable (2008, 2010, 2015)
For more information visit:
https://www.ranorex.com/help/v8.2/xcopy-deployment
C:\Program Files (x86)\Jenkins\workspace\Punashri\UsercodeCollection\UsercodeCollection\bin\Debug>exit 111
Build step 'Execute Windows batch command' marked build as failure
Gitcolony notification failed - java.lang.IllegalArgumentException: Invalid url:
Finished: FAILURE