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
Set squashtest.ta.ssh.username in squashtm?
Set squashtest.ta.ssh.username in squashtm?
Hello,
What you do can't work. "ssh_selinux" is TA target component of type ssh, whereas "processedSession1" is a TA resource component of type file. You have a component missmatch.
There is currently no solution to modify a target according the script context in Squash TA.
Although we already had some discussion around this subject in the TA team, nothing is planned currently.
Regards
What you do can't work. "ssh_selinux" is TA target component of type ssh, whereas "processedSession1" is a TA resource component of type file. You have a component missmatch.
There is currently no solution to modify a target according the script context in Squash TA.
Although we already had some discussion around this subject in the TA team, nothing is planned currently.
Regards