Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Wednesday 3 June 2015

Can we have IF condition without End if?

Dim var : var = 0
'Writing the IF condition without End if
IF var=0 THEN MSGBOX "Zero" ELSE "Non Zero"

Thing is that we can avoid ENDIF, in case we are writing the IF condition in single line. 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.