It's all about the answers!

Ask a question

Proper way to use variable with slashes in RQM Execution Tool

Kevin Murphy (9621317) | asked Jun 16 '15, 2:07 p.m.
I've got an RQM test script that requires a Windows-formatted network path as a parameter. My initial thought was this:

RQMExecutionTool.jar -variables=path:\\network\path\to\folder

This works somewhat, but I've found that my script doesn't understand situations where there a folder is called \\path\new\newfolder (due to the \n). So I try:

RQMExecutionTool.jar -variables="path:'\\network\path\to\folder'"

and this does not work. It causes a 500 error.

Then I try this:
RQMExecutionTool.jar -variables=path:\\\\network\\path\\to\\folder

This, too, does not work.

What's strange is that this DOES work:

RQMExecutionTool.jar -variables=path:\\folder

But this does NOT:

RQMExecutionTool.jar -variables=path:\\to\\folder

Does anyone have any idea of how I can approach this?

One answer

permanent link
Subhajit Bhuiya (6222) | answered Jun 18 '15, 8:13 a.m.
Use "/" instead of "\"

Kevin Murphy commented Jun 18 '15, 12:39 p.m. | edited Jun 18 '15, 12:40 p.m.

Thank you for the suggestion Subhajit. I'll try it, but I don't think it's going to work in this situation, as the target script is not a command-line script but it's going to an adapter from a 3rd party. If the 3rd party's windows only client can't or won't translate the "/" to "\", then this won't work.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.