In my application, I mapped certain customwins to the silktest standard classes and some other are not.

1 - how do I verify, at runtime, ie. in my testscript, that a certain object is mapped to a standard class or not and how do I find out to which class it is mapped ?

2 - how can I verify at runtime that a MainWin is defined in the main-inc file? With the Silktest function "IsDefined" I can verify if a childwin or dialogbox is defined in the inc-file, but not for Mainwin - correct me if I'm wrong.

What I need is to check at runtime whaether a Window is defined in the inc-files or not, if not, then silk should recorder the win-declaration dynamically and add them to the inc-file and continue testing. Is is possible? If so, what are the pros and cons?

thanks alot for your time.

Serge Eric Thiam.