Please can any help me how to handle the failed scripts in robot so that the scripts can continue even if any script is failed in the middle.
I use the following structure:
Dim sErrString as String
Dim sErrMsg As String
Dim iErrMsg As Integer
On Error GoTo ErrorHandler
iErrMsg = SQAFail
' Your code here...
SQALogMessage sqaFail, "[" +Error$(iErrMsg) + ": " + sErrMsg + "] " + sErrString, "System Error:" + Str$(err) + ": " + Error$(err)
When a script fails, it will log an error and return to the driver script and execute the next scipt.
Or, you could just change the Gui Playback Options to continue script execution if there are any failures, or even errors, for that matter.
There are 3 types of engineers: Those who can count, and those who can't.