How to declare a user defined class in SILK TEST. When we are declaring a class using wincalss keword, its a something like a window object. What if I want to declare any simple class, which can be used in code by creating its object.
That article is indeed interesting and helpful, but keep an eye on the constructor discussion. A very important detail is not pointed out. The author uses a global structure as the 'argument' to the constructor. This is not a good practice in my opinion. I'd recommend simply requiring that users of your class call an init() routine on their newly created instances, instead of using this odd constructor hack.
That presentation plus the Help is good for the basics. Otherwise, all I can think of is the include files that come with SilkTest, such as winclass.inc and explorer.inc. Those files will have examples of anything you can think of, but they aren't especially easy to understand.
MyClassInstance.MyClassMethod ()</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">This will create a simple class that has one method in it. You can declare instances of that class and make calls to the methods of those instances in your scripts.