Setting Project File Format Without GUI
SOATest supports three different file formats for tsts.
Normally, this configuration is made through the SOATest GUI Preferences:
Parasoft>Preferences>MISC>>> Save Settings>Project File Format
Normally, it is best to leave the default Compressed XML format because of the overall effectiveness of the format, https://docs.parasoft.com/display/SOAVIRT9103/Forward+Compatibility
But if your team requires a different format, please see below.
For use cases where it is needed to quickly change this feature for many machines or possibly headlessly, then you can change the SOATest Workspace preference file directly.
The Preference file can be found in the workspace's .metadata folder.
To change the File format, make one of the following changes to the file:
${SOA/Virt_workspace}\.metadata\.plugins\org.eclipse.core.runtime.settings\com.parasoft.xtest.common.eclipse.core.web.prefs"
For XML add the property as follows:misc_test_file_format=1
For Compressed XML completely remove the property:misc_test_file_format=
Compressed XML is the default File format for SOA/Virt 9.10, therefore a property is not necessary.
For Binary add the following property:misc_test_file_format=0
With this information, you can create a simple command for terminal to quickly make the change.
For example:echo "misc_test_file_format=1" >> "C:\Users\rmartinez\parasoft\soavirt_workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.parasoft.xtest.common.eclipse.core.web.prefs"
Comments
-
Slightly related, describing why someone might want to change the default project file format in the first place:
https://forums.parasoft.com/discussion/2793/how-to-compare-soatest-files-in-eclipse1