Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help ME!!!
#2
Not Solved
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) Smile

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.....
Reply


Messages In This Thread
Help ME!!! - by gutocruz03 - 07-30-2010, 04:58 AM
RE: Help ME!!! - by PrabhatN - 07-30-2010, 12:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)