QTP does support object oriented programming to some extent.
We can create constructors and destructors in vbscript classes using class_initialize and class_terminate methods.
class_initialize method acts like constructor function which gets called automatically when we create an object of the class.
Please give your inputs, suggestions, feedback to Us about above QTP topic. We value your thoughts.
We can create constructors and destructors in vbscript classes using class_initialize and class_terminate methods.
class_initialize method acts like constructor function which gets called automatically when we create an object of the class.
Example -
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs