zakirhere
12 years agoOccasional Contributor
Creating class, object and methods like OOP in javascript
Hi,
I notice there are keywords available such as public, private, class, etc which can be used to create Class and its Methods. By having those, it's very convenient to create our class which can be reused easily.
I also found an example from the help file but when I tried, it gives syntax error.
http://support.smartbear.com/viewarticle/30854/
So, I was wondering if this (creating custom class) is something taken out as features of newer TestComplete 9.x? Apparently, the closest thing available for this one is ODT which is not easy to create complex methods.
I notice there are keywords available such as public, private, class, etc which can be used to create Class and its Methods. By having those, it's very convenient to create our class which can be reused easily.
I also found an example from the help file but when I tried, it gives syntax error.
http://support.smartbear.com/viewarticle/30854/
So, I was wondering if this (creating custom class) is something taken out as features of newer TestComplete 9.x? Apparently, the closest thing available for this one is ODT which is not easy to create complex methods.