Today I encountered an issue while trying to run test on remote agent. After pressing the "run" button, it either throwed error (rxbug.jpg or rxbug2.jpg) or just hanged on the "Packing" step forever (Screenshot_3.jpg). When I run the test suite locally, it worked.
I tried to reinstall Ranorex, cleared caches, reports ... But the problem was in project. After many "revert and try to run" cycles I have found a file that is causing the exception.
This is the file: https://pastebin.com/HpCyQnRZ . Code is not nice, however it compiles. There must be something wrong (like some escape character) when trying to pack that into xml.
This is the last version of that file, that worked: https://pastebin.com/EDckKA6Q
This is what was in the log:
Code: Select all
2019-05-17 16:29:20.380| WARN|Ranorex.Studio|ICSharpCode.Core.ResourceNotFoundException: Resource not found : ProjectBrowser.Folder.Missing at ICSharpCode.Core.WinForms.WinFormsResourceService.GetBitmap(String name) at ICSharpCode.SharpDevelop.IconService.GetBitmap(String name) 2019-05-17 16:29:20.414| INFO|Ranorex.Studio|CurrentProject changed to W4KNew 2019-05-17 16:29:20.414| WARN|Ranorex.Studio|Codon (GitLog) specified in the insertafter of the [Codon: name = MenuItem, id = GitControlMenu, addIn=C:\Program Files (x86)\Ranorex\Studio\Bin\AddIns\SourceControl\GitAddin\GitAddin.addin] codon does not exist! 2019-05-17 16:29:22.990|DEBUG|Ranorex.Studio|AbstractViewContentWithRepository.LoadInternal: RepositoryEditor.LoadRepositoryFromFile: C:\Users\SESA511780\Documents\Ranorex\RanorexStudio Projects\W4K1\monument-testing\W4KNew\W4KNewRepository.rxrep 2019-05-17 16:29:31.661|ERROR|Ranorex.Studio|Invalid XML documentation: The 'docroot' start tag on line 1 position 2 does not match the end tag of 'summary'. Line 1, position 13. 2019-05-17 16:29:37.114| INFO|Ranorex.Studio|Loading addin Search & Replace 2019-05-17 16:29:38.164| INFO|Ranorex.Studio|Loading addin SharpRefactoring 2019-05-17 16:29:44.869| WARN|Ranorex.Studio|CompilerMessageView.GetCategory(string categoryName): category 'PackageManagement' not found. 2019-05-17 16:29:45.002|ERROR|Ranorex.Studio|Invalid XML documentation: The 'docroot' start tag on line 1 position 2 does not match the end tag of 'summary'. Line 1, position 13. 2019-05-17 16:29:45.682| INFO|Ranorex.Studio|Start pr-building Ranorex Automation Helpers 2019-05-17 16:29:45.682| INFO|Ranorex.Studio|Start pr-building W4KNew 2019-05-17 16:29:45.682| INFO|Ranorex.Studio|Start pr-building W4KNew 2019-05-17 16:29:45.682| INFO|Ranorex.Studio|Finished pre-building W4KNew, success=True 2019-05-17 16:29:45.690| INFO|Ranorex.Studio|Finished pre-building Ranorex Automation Helpers, success=True 2019-05-17 16:29:45.690| INFO|Ranorex.Studio|Start building Ranorex Automation Helpers 2019-05-17 16:29:47.204| INFO|Ranorex.Studio|Finished building Ranorex Automation Helpers, success=True 2019-05-17 16:29:48.700| INFO|Ranorex.Studio|Finished pre-building W4KNew, success=True 2019-05-17 16:29:48.700| INFO|Ranorex.Studio|Start building W4KNew 2019-05-17 16:29:50.025| INFO|Ranorex.Studio|Finished building W4KNew, success=True 2019-05-17 16:29:50.025| INFO|Ranorex.Studio|Start building W4KNew 2019-05-17 16:29:50.025| INFO|Ranorex.Studio|Finished building W4KNew, success=True 2019-05-17 16:29:50.703|ERROR|Ranorex.Studio|Invalid XML documentation: The 'docroot' start tag on line 1 position 2 does not match the end tag of 'summary'. Line 1, position 13.
Can someone investigate this, please?
Also it would be nice to have more detailed error reporting. Maybe I havent looked on all places, but I have turned on loging level to "Trace" and have not seen the problematic file path nowhere.
Also 2, in the screenshot there is highlithed button that doesn't work.