Did you notice closing the function two times ? Sent from my iPhone
> On Nov 11, 2013, at 1:12 PM, Aneel <[email protected]> wrote: > > Below function giving syntax error, can one please suggest what is the > mistake i am doing. > > Call Ser() > > > Function Ser() > > IF Browser("XYZ").Page("XYZ").WebCheckBox("WebCheckBoxName").exist(3) Then > Browser("XYZ").Page("XYZ").WebCheckBox("WebCheckBoxName").Set "ON" > End If > > If Browser("XYZ").Page("XYZ").WebCheckBox("WebCheckBoxName").exist(3) Then > Browser("XYZ").Page("XYZ").WebCheckBox("WebCheckBoxName").Set"ON" > End If > > If Browser("XYZ").Page("XYZ").Webbutton("WebButtonName").Exist(2) Then > Browser("XYZ").Page("XYZ").Webbutton("WebButtonName").Click > End If > > > End Function > > > > End Function > > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
