Passing parameters to UFT using BatchRunnerCMD

Question ID: 110129

Objective: be able to run uft script command line and pass arguments to the test via batch/command line
uftBatchRunnerCMD -source “c:\UFT\Scripts\GUITest2a” -parameter “Parameter1=Hello;Parameter2=Bye”
How do I render these parameters in the test (GUITest2a)?
I have:
1. Right clicked on the actions and added 2 parameters, param1 and param2
2. I am trying to call these parameter in the test as var = Parameter.Item(“Param1”)
3. I am not any values from the command line parameters

Marked as spam
Posted by (Questions: 214, Answers: 22)
Asked on April 29, 2021 12:56 pm
Answers (1)
Private answer

Take a look at this guide. It shows how to use parameters with Jenkins, which would be along the same technique as using parameters in the BatchRunner commandline:,you%20can%20access%20the%20test%20parameter%20by%20using


Marked as spam
Posted by (Questions: 2, Answers: 464)
Answered on April 29, 2021 12:56 pm