Error while loading .rxtst file after merging using SVN.

Bug reports.
Drei
Posts: 1
Joined: Thu Jul 25, 2019 4:22 am

Error while loading .rxtst file after merging using SVN.

Post by Drei » Thu Jul 25, 2019 5:05 am

<r>Scenario:<br/>
We are trying to merge changes on one project with two clients on a SVN server. (We followed first the pre-requisite to set the setting for SVN based merging)<br/>
The flow is:<br/>
1) 1st and 2nd client both did the editing. <--both have the same base revision in SVN.<br/>
2) 2nd client first checked in the changes.<br/>
3) 1st client get the update from SVN. <-- This is where the "merge" should happen, but instead a conflict for .rxtst file happened when 1st client tried to load it.<br/>
<br/>
The flow that we did is based on The “Copy-Modify-Merge”-approach: <URL url="https://www.ranorex.com/blog/subversion ... </URL><br/>
<br/>
Error message:<br/>
Error while loading<br/>
Description<br/>
Can't load file Obsidian_Automation.rxtst under C:\Obsidian_Test\Ranorex\Obsidian_Automation\Obisidian_Automation<br/>
Check the file permission and the existence of that file.<br/>
<br/>
Exception:<br/>
---------------------------<br/>
Ranorex.RanorexException: TestSuite XML format is invalid. ---> Ranorex.RanorexException: Wrong TestSuite xml structure<br/>
<br/>
at Ranorex.Core.Testing.TestSuite.DeSerializeAssemblyReferences(XmlNode node)<br/>
<br/>
at Ranorex.Core.Testing.TestSuite..ctor(CaseInsensitiveString id, XmlNode node)<br/>
<br/>
at Ranorex.Core.Testing.TestSuiteEntryDeSerializer.CreateEntryFromXml(XmlNode node, CaseInsensitiveString id)<br/>
<br/>
at Ranorex.Core.Testing.TestSuiteEntryDeSerializer.Create(XmlNode node, TestSuiteEntryContainer parent)<br/>
<br/>
at Ranorex.Core.Testing.TestSuite.CreateFromXmlNode(XmlNode node, Boolean captureChangeState)<br/>
<br/>
--- End of inner exception stack trace ---<br/>
<br/>
at Ranorex.Core.Testing.TestSuite.CreateFromXmlNode(XmlNode node, Boolean captureChangeState)<br/>
<br/>
at Ranorex.Core.Testing.TestSuite.DeserializationHelper.CreateFromFile(String fileName, Stream stream, Boolean updateWorkingDir)<br/>
<br/>
at Ranorex.Controls.TestSuiteEditor.LoadTestSuiteFromFile(String fileName, Stream stream, Boolean catchErrors)<br/>
<br/>
at Ranorex.Addins.RxTestSuitePrimaryViewContent.Load(OpenedFile file, Stream stream)<br/>
<br/>
at ICSharpCode.SharpDevelop.OpenedFile.SwitchedToView(IViewContent newView)<br/>
<br/>
at ICSharpCode.SharpDevelop.OpenedFile.ForceInitializeView(IViewContent view)<br/>
<br/>
at ICSharpCode.SharpDevelop.FileServiceOpenedFile.ForceInitializeView(IViewContent view)<br/>
<br/>
at Ranorex.Addins.RxTestSuitePrimaryDisplayBinding.CreateContentForFile(OpenedFile file)<br/>
<br/>
at ICSharpCode.SharpDevelop.FileService.LoadFileWrapper.Invoke(String fileName)<br/>
<br/>
at ICSharpCode.Core.FileUtility.<>c__DisplayClass76_0.<ObservedLoad>b__0()<br/>
<br/>
at ICSharpCode.Core.FileUtility.ObservedLoad(FileOperationDelegate loadFile, String fileName, String message, FileErrorPolicy policy)<br/>
---------------------------<br/>
OK <br/>
---------------------------</r>

User avatar
Support Team
Site Admin
Site Admin
Posts: 11978
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Error while loading .rxtst file after merging using SVN.

Post by Support Team » Fri Jul 26, 2019 8:59 pm

Hi Drei,

Usually this works smoothly out of the box but suspect something odd is going on. Are you able to provide the three different versions of the test suite file so I can test this in our local controlled environments? This should be Person 1s, Person 2s, and the base version of the test suites.

Thanks in advance!

Regards,
Ned
.
Image