Working with Jenkins Server?

Hi @AjitJ,

You can use Maven as a build tool and drive execution of your testng xml or create a Windows batch file to execute your testng xml by following below steps:

  1. Add classpath
  2. Provide location to store compiled classes
  3. Compile all test classes
  4. Execute testng.xml provide any command line parameters required.
    Along with this in case you want to start Appium programmatically, use this link:
    Launching and stopping appium server programmtically [Start appium programmatically][1]

Let me know if you need further info.

Thanks,
Sujata