Thursday 16 January 2014

How to create constructor in class in vbscript/QTP?

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.

Example - 

Please give your inputs, suggestions, feedback to Us about above QTP topic. We value your thoughts.

No comments:

Post a Comment

Please Leave your reply. We value your feedback and inputs

Best QTP Books

Everything About QTP

Hello Friends,
You can find QTP study material, Multiple choice questions (mcq), QTP question bank, QTP question papers, QTP notes, QTP questionnaire, scenario based QTP interview questions, QTP tutorial and QTP training on this site.

If you are a fresher or experienced QTP professional with (1/2/3/4) years of experience, this blog is just for you.