Chapter 1: Executing Process Runner with Command Line Parameters |
![]() ![]() ![]() |
Process Runner could be executed from command prompt with different parameters to suffice different functionalities. For the purpose of testing from command prompt, you have to be in Process Runner folder (C:\Program files\Innowera\Process Runner), not otherwise. Syntax: (items in BOLD are mandatory) >”<Process Runner EXE = ProR>” “<Process Runner File Path>” [“<|Autorun=True/False>”] [“<|LogonFile=Logon Shortcut file name>”] [“<|ExcelFile=Excel data file path>”] [“<|SheetName=Excel Sheet Name>”] [“<|StartRow=Excel Sheet Record Start Row>”] [“<|EndRow=Excel Sheet Record End Row>”] Example: C:\Program files\Innowera\Process Runner >ProR "C:\Documents and Settings\TestUser\My Documents\Innowera\ProcessFiles\MM02_test34.itf" "|AutoRun=true" "|LogonFile=TestUser.ilf" "|ExcelFile=C:\Documents and Settings\TestUser\My Documents\mm02.xls" “|SheetName=Sheet1” "|StartRow=5" "|EndRow=10" Description: ProR: Name of the Process Runner exe in installation folder. Additional Parameters: Following are the parameters you can use in command line with Process Runner: ** Second parameter is the path of Process Runner file that you want to run. |AutoRun: Specifies whether you want to auto run file on opening. This would require you to also assign Logon file (explained next) as an additional parameter. |LogonFile: name of the Logon file to be used. |ExcelFile: Complete path of the external excel data file to be used with the Process file. |SheetName: Name of the sheet to consider for the file mentioned in |ExcelFile parameter. |StartRow: Start row to be taken for the file mentioned in |ExcelFile parameter. |EndRow: Specifies the end row to be taken for the file mentioned in |ExcelFile parameter.
1. >ProR: This command line parameter will start Process Runner.
2. >ProR “C:\Documents and Settings\TestUser\My Documents\Innowera\ProcessFiles\MM02_test34.itf”: This parameter starts Process Runner & automatically opens the Process File specified in the second argument (which in our case is MM02_test34.itf in C:\Documents and Settings\TestUser\My Documents\Innowera\ProcessFiles\).
3. C:\Program Files\Innowera\Process Runner>ProR "C:\Program Files\Innowera\Process Runner\Samples\Transaction\MM02_Change Material.itf" "|AutoRun=true" "|LogonFile=TestUser.ilf"
You can also specify two different parameters i.e AutoRun & LogonFile. Specifying this you can automatically run a specific file from the command prompt.
4.> ProR "C:\Documents and Settings\TestUser\My Documents\Innowera\ProcessFiles\MM02_test34.itf" "|AutoRun=true" "|LogonFile=TestUser.ilf" "|ExcelFile=C:\Documents and Settings\TestUser\My Documents\mm02.xls" “|SheetName=Sheet1” "|StartRow=5" "|EndRow=10" Description: |ExcelFile: Specifies the external excel data file to be used with the Process file. |SheetName: Name of the sheet to consider for the file mentioned in |ExcelFile parameter. |StartRow: Specifies the start row to be taken for the file mentioned in |ExcelFile parameter. |EndRow: Specifies the end row to be taken for the file mentioned in |ExcelFile parameter.
See Also 2.1 Automatically generate VBA code from Process Runner 2.2 Step-by-step on manually generating VBA code for Process Runner |