8.2.5 Using the User Agent in Batch Mode

If the User Agent is started with three command line arguments, it will run in batch mode.

Example

 

   com.lansa.jsf.useragent.JSFUserAgent acme.lih order.xml response.xml

 

In this mode, the main window is not opened. The User Agent does not require any interaction with the user.

The results of the operation are written to the response file specified by the third argument.

For an example of using the User Agent in batch mode, examine the upload.bat file installed with the User Agent.