Automation query... Plz help
On Tue, 30 Jan 2018 16:00:43 +0530, Prahallad Achar wrote:
> Luckily application supports headless automation now question is how to
> invoke those jar using python.
I can see two approaches:
(1) Calling the jar directly from Python.
I don't think you can do that from CPython, but you might be able to do
it from Jython. (Jython is Python implemented in Java, and is designed to
allow Java and Python code to call each other). Or there might be some
third-party library that runs under CPython which allows you to do so.
(2) Call the jar as an external process, in whatever way you would call a
jar from an external application.
Have you tried googling?
(I think this is the limit of any help I can give -- I know nothing about
jars except that they are some sort of Java code.)