There exist a scenario where in you have a commented code in Script mode.eg:
if (true) {
println('hii')
} else {
println('bye')
println('asdf')
/*println('bye')
println('bye')
println('asdf')*/
println('bye')
WebUI.acceptAlert()
}
If we make some changes in the manual mode of the same test case, then the commented test steps gets scattered i.e
if (true) {
println('hii') /*println('bye')
println('bye')
println('asdf')*/
} else {
println('bye')
println('asdf')
println('bye')
WebUI.acceptAlert()
}
This would create a havoc for the end user.