I want to have control on run and can select run mode. In case of any keyword fails, continue the rest of test case or stop the current test.
I know about Run Keyword and Continue on failure keyword, but i don’t want to change my keywords during any run mode.
Is it possibple to change the launch.json of Run & Debug view in RobotCode Extension in VS Code? or other globally setting ?
Thanks,
I add this to launch.json (Run & Debug setting of VS code)
"version": "0.2.0",
"configurations": [
{
"name": "RobotCode: Continue on Failure_Test ICCM Handler",
"type": "robotcode",
"request": "launch",
"purpose": "test",
"cwd": "${workspaceFolder}",
"args": [
"-T",
"--outputdir", "results",
"--output", "${fileBasenameNoExtension}_output.xml",
"--report", "${fileBasenameNoExtension}_report.html",
"--log", "${fileBasenameNoExtension}_log.html",
"--settag", "robot:continue-on-failure"
]
},
{
"name": "RobotCode: Stop on Failure_Test ICCM Handler",
"type": "robotcode",
"request": "launch",
"purpose": "test",
"cwd": "${workspaceFolder}",
"args": [
"-T",
"--outputdir", "results",
"--output", "${fileBasenameNoExtension}_output.xml",
"--report", "${fileBasenameNoExtension}_report.html",
"--log", "${fileBasenameNoExtension}_log.html",
"--settag", "robot:stop-on-failure"
]
},
and only first config works, i can not switch between them? Even if i change the config name in Run & Debig of VS code. I only can run with "RobotCode: Continue on Failure_Test ICCM Handler",