Forum Discussion

subicek's avatar
subicek
New Contributor
3 years ago

Keys Operation withing cmd.exe and special characters

Hi there,

I've recently migrated to TC14.50.

I'm testing in windows cmd tool and sending keys there.

Within the code expression, when I have value @ the TC sends ~ instead.

Within the code expression I also use values from parameters and when I have, within the parameter double quotes, it sends @ sign...

Examples:

Code expression: --host=jdbc:oracle:thin:@SERVER

cmd input: --host=jdbc:oracle:thin:~SERVER

 

Code expression: "program.bat --org-name=" + KeywordTests.SOMETEST.Parameters.org_name

Parameter: org_name = "ORGANIZATION"

cmd input: program.bat --org-name=@ORGANIZATION@

 

Any ideas?