Is there a way to create MARInfo and MAR file for Test Cases using ant?
Deleted Userdeoma03 - maria heloisa
I believe a MAR Info file has to be created once first (manually through the Workstation), and once you have the MAR Info file, you can create MAR files (for test cases or virtual services) through CLI using the Make Mar utility (DEVTEST_HOME/bin/MakeMar.exe).
Below is documentation on creating MAR Info and using the Make Mar utility
Create MAR Info Files - DevTest Solutions - 10.1 - CA Technologies Documentation
Make Mar Utility - DevTest Solutions - 10.1 - CA Technologies Documentation
If you really need to somehow automate the creation of a MAR Info, then you can potentially do it by creating it from scratch through some coding. The MAR Info file is just a small XML file, so it can easily be recreated with some scripting/coding. You can create a MAR Info file manually from Workstation and then open it with a text editor to see how the XML is structured (you can use it as a template) and recreate a similar or identical XML (based on what the MAR Info will look like at run time).