Hi gutocruz03,
You have not conveyed what yout problem is. And you didn't make it clear enough so that some one can understand (Try reading by yourself once and you'll get to know)
If I am right understanding your problem (you want to go to line 7 if the WedEdit is disabled, if it is enabled then you want to set "OK" on it) then following code may help you.
You can not use GoTo statement in VBScript (as far as I know, not sure though), but still it serves your purpose because if the WebEdit is enabled it will set "OK" there, if it is not then automatically it goes for the next step.
Let me know.....
You have not conveyed what yout problem is. And you didn't make it clear enough so that some one can understand (Try reading by yourself once and you'll get to know)
If I am right understanding your problem (you want to go to line 7 if the WedEdit is disabled, if it is enabled then you want to set "OK" on it) then following code may help you.
Code:
getStatus = Browser("").Page("Exceller 2.32||.Centro_3").Frame("frameResolucao_3").WebEdit("txtComments").GetROProperty("disabled")
If getStatus = 0 Then // WebEdit is enabled
Browser("").Page("Exceller 2.32||.Centro_3").Frame("frameResolucao_3").WebEdit("txtComments").Set "OK"
End If
You can not use GoTo statement in VBScript (as far as I know, not sure though), but still it serves your purpose because if the WebEdit is enabled it will set "OK" there, if it is not then automatically it goes for the next step.
Let me know.....