Cizo89
11 years agoFrequent Contributor
[Resolved] Incorrect names of TestSuites in element.order
Hi,
it looks like there is a problem how is SoapUI Pro writing TestSuite names to element.order file.
If I create TestSuites with names, for example, "Demo.TestSuite1" and "Demo.TestSuite2", SoapUI Pro will create folders "DemoTestSuite1" and "DemoTestSuite2" (without the "." character), but to element.order will write "Demo.TestSuite1" and "Demo.TestSuite2" (with the "." character).
Since these are folders, they don't have extension, SoapUI Pro probably thinks that .TestSuite1 and .TestSuite2 are extension and will try to find them and because there is no such thing, it won't find them and put my TestSuites to last position in my project.
But when I overwrite this - when I remove the "." character from element.order, SoapUI will recognize them and put them in correct position.
So the problem is clear - SoapUI is correctly creating folders without ".", but writing this character to element.order where TestSuites are written.
SoapUI should write the actual names of created folders instead of names displayed in SoapUI -since folders don't have extension, in my opinion, SoapUI should be writting TestSuite names also without "." characters.
This behaviour can be checked in attached projects:
Project DemoProject_Before was created in this order, as can you see from this image:
After saving and refreshing, the project looks like this:
Project DemoProject_After was created in the same way, but after saving and before refreshing it, I removed "." characters from element.order file and then refresh the project, the result is here:
Both projects can be found in attached file DemoProjects.zip
P.S. 1 This isn't a problem for TestCases, because TestCases are created and written to element.order with .xml extension.
P.S. 2 Both element.order files (for TestSuites and TestCases) contains unneccessary empty line.
Regards,
Marek
it looks like there is a problem how is SoapUI Pro writing TestSuite names to element.order file.
If I create TestSuites with names, for example, "Demo.TestSuite1" and "Demo.TestSuite2", SoapUI Pro will create folders "DemoTestSuite1" and "DemoTestSuite2" (without the "." character), but to element.order will write "Demo.TestSuite1" and "Demo.TestSuite2" (with the "." character).
Since these are folders, they don't have extension, SoapUI Pro probably thinks that .TestSuite1 and .TestSuite2 are extension and will try to find them and because there is no such thing, it won't find them and put my TestSuites to last position in my project.
But when I overwrite this - when I remove the "." character from element.order, SoapUI will recognize them and put them in correct position.
So the problem is clear - SoapUI is correctly creating folders without ".", but writing this character to element.order where TestSuites are written.
SoapUI should write the actual names of created folders instead of names displayed in SoapUI -since folders don't have extension, in my opinion, SoapUI should be writting TestSuite names also without "." characters.
This behaviour can be checked in attached projects:
Project DemoProject_Before was created in this order, as can you see from this image:
After saving and refreshing, the project looks like this:
Project DemoProject_After was created in the same way, but after saving and before refreshing it, I removed "." characters from element.order file and then refresh the project, the result is here:
Both projects can be found in attached file DemoProjects.zip
P.S. 1 This isn't a problem for TestCases, because TestCases are created and written to element.order with .xml extension.
P.S. 2 Both element.order files (for TestSuites and TestCases) contains unneccessary empty line.
Regards,
Marek