Global Parameters name with space : Automation Tools

Global Parameters name with space

Ranorex Spy, Recorder, and Studio.

Global Parameters name with space

Postby Jeremie » Fri Aug 19, 2011 9:35 am

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
Jeremie
 
Posts: 9
Joined: Thu Jul 21, 2011 10:18 am

Re: Global Parameters name with space

Postby Support Team » Fri Aug 19, 2011 10:51 am

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
User avatar
Support Team
Site Admin
 
Posts: 4843
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Global Parameters name with space

Postby Jeremie » Fri Aug 19, 2011 11:26 am

I have try, but doesn't work

if In batch MyVar="To To"
In ranorex my global parameter Name is "To
Jeremie
 
Posts: 9
Joined: Thu Jul 21, 2011 10:18 am

Re: Global Parameters name with space

Postby Support Team » Fri Aug 19, 2011 12:16 pm

Please, enclose the whole parameter assignment in quotation marks, e.g.:
Code: Select all
MyExeFile /pa:"MyGlobalParametersName=To To"

Regards,
Alex
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4843
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Global Parameters name with space

Postby Jeremie » Fri Aug 19, 2011 12:25 pm

Oh sorry
I have not looking correctly your answer

It's OK now

Thanks a lot
Jeremie
 
Posts: 9
Joined: Thu Jul 21, 2011 10:18 am


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests