Set squashtest.ta.ssh.username in squashtm?
Publié : lun. févr. 09, 2015 3:14 pm
Hello,
Is it possible to use personal field in TM to set squashtest.ta.ssh.username ?
And use it with context_script_params like (didn't work):
SETUP :
LOAD shell/session1.txt AS session1
CONVERT session1 TO file(param) USING context_script_params AS [color=#ff0000]processedSession1[/color]
LOAD shell/assert1.txt AS assert1
CONVERT assert1 TO file(param) USING context_script_params AS processedAssert1
LOAD shell/shell1.txt AS shell1
CONVERT shell1 TO file(param) USING context_script_params AS processedTest1
CONVERT processedTest1 TO query.shell USING $(timeout:150000) AS commandLine1
TEST :
//EXECUTE execute WITH commandLine1 ON ssh_selinux AS result1
EXECUTE execute WITH commandLine1 ON [color=#ff0000]processedSession1 [/color]AS result1
ASSERT result1 DOES contain WITH processedAssert1 USING $(out)
THX in Advanced
Is it possible to use personal field in TM to set squashtest.ta.ssh.username ?
And use it with context_script_params like (didn't work):
SETUP :
LOAD shell/session1.txt AS session1
CONVERT session1 TO file(param) USING context_script_params AS [color=#ff0000]processedSession1[/color]
LOAD shell/assert1.txt AS assert1
CONVERT assert1 TO file(param) USING context_script_params AS processedAssert1
LOAD shell/shell1.txt AS shell1
CONVERT shell1 TO file(param) USING context_script_params AS processedTest1
CONVERT processedTest1 TO query.shell USING $(timeout:150000) AS commandLine1
TEST :
//EXECUTE execute WITH commandLine1 ON ssh_selinux AS result1
EXECUTE execute WITH commandLine1 ON [color=#ff0000]processedSession1 [/color]AS result1
ASSERT result1 DOES contain WITH processedAssert1 USING $(out)
THX in Advanced