Hi
I launch my test suite with a batch and I include global parameters /pa like this
MyExeFile /pa:MyGlobalParametersName=MyVar
But when MyVar contain string with space only the first word is my globalparameters Name
Exemple :
MyVar = To To
The global Parameter Name is To
It is possible to have Global Paramaters name with space ? If yes, how i can delimitate the name ?
Thanks
Global Parameters name with space
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Global Parameters name with space
Hi,
If you want to use spaces in the command line you have to use quotation marks.
Example:
"MyVar=To To"
Regards,
Markus
Ranorex Support Team
If you want to use spaces in the command line you have to use quotation marks.
Example:
"MyVar=To To"
Regards,
Markus
Ranorex Support Team
Re: Global Parameters name with space
I have try, but doesn't work
if In batch MyVar="To To"
In ranorex my global parameter Name is "To
if In batch MyVar="To To"
In ranorex my global parameter Name is "To
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Global Parameters name with space
Please, enclose the whole parameter assignment in quotation marks, e.g.:
Regards,
Alex
Ranorex Team
Code: Select all
MyExeFile /pa:"MyGlobalParametersName=To To"
Alex
Ranorex Team
Re: Global Parameters name with space
Oh sorry
I have not looking correctly your answer
It's OK now
Thanks a lot
I have not looking correctly your answer
It's OK now
Thanks a lot