Quick Test Professional Dictionary
QuickTest Professional Dictionary of Posts
Pages
QTP Dictionary
QTP Automation
Monday, 18 July 2011
Usage of Classes
'Usage of Classes
Class MyClass
Function Add1(a,b)
add1=a+b
End Function
Function sub1(a,b)
sub1=a-b
End Function
End Class
Set mat=New MyClass
val=mat.add1( 2,3)
msgbox val
val1=mat.sub1(5,3)
msgbox val1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment