Running java Command-line apps from QT
Greetings test engineers-
Has anyone had success in running command-line java applications with QuickTest?
I'm trying to run a class that performs an operation and returns a URL. I have a batch file containing the command to run the class. This works fine when I run it from the command-line.
For some reason, The following exception appears when I try to run this from QuickTest:
Exception in thread "main" java.lang.NoClassDefFoundError: com/ofoto/test/galaxy/GalaxyClient
The InvokeApplication QuickTest function is used to call the batch file...
InvokeApplication "C:\usr\docs\qa\QA_TEST_PLANS\GALAXY\launcher.bat" , "C:\usr\docs\qa\QA_TEST_PLANS\GALAXY\"
I noticed that there are several class-related environment variables that are used when runnign java through QT. I believe I'm adding my classpath value to the MCICLASSES variable in the right way.
Documentation on this type of operation is, of course, scant so anything you can do to help me would be great!
Thanks in advance.