We are having test automation project in selenum with testng. We have completed half of the automation project and running it successfully. Now, we have to add new feature to create flow of testing with multiple test methods. So, for this I have to create java ui which will display all the methods created for test, based on user requirement the methods will be selected for test flow, now when user click on save or run button I have to create the testng.xml file which will run the test for selected methods.
Now Questions I have is as follow: 1. Is it possible to generate dynamic xlm file? 2. In test class I have multiple methods which are depended on other methods of class, so if user select depended methods on ui how I should manage those methods? 3. How to show created methods from all the class on ui to generate flow? 4. Is it good to call bat file to run the generated flow?
I would appreciate your inputs.
Thanks, Karim