Forum Discussion

Ravik's avatar
Ravik
Super Contributor
11 years ago

Can we Implement Classes in TestComplete

Hi All,



I want to Know, Is there any way to Implement Classes in TestComplete by using VBScript.

Is it possible ?

(as we have in Java and C++ Programming lanuage) is there any reference available for same.



Please Suggest any help.



Thanks

Ravik
  • Hi Ravi, yes you can, this article shows how in the VBScript section.



    Take special note of the rules around instantiation of classes from script units other than that in which it is defined.



    Also note that these are standard VBScript classes and are not special to Test Complete so any resource on writing VBScript Classes available on the the net or otherwise can be utilised to help you.



    Regards

    Phil Baird
  • Philip_Baird's avatar
    Philip_Baird
    Community Expert
    Hi Ravi, yes you can, this article shows how in the VBScript section.



    Take special note of the rules around instantiation of classes from script units other than that in which it is defined.



    Also note that these are standard VBScript classes and are not special to Test Complete so any resource on writing VBScript Classes available on the the net or otherwise can be utilised to help you.



    Regards

    Phil Baird
  • Ravik's avatar
    Ravik
    Super Contributor
    Phil Baird : Hi Phil, thank you very much for a quick reply. We appretiate that. Regards, Ravi & Anita