silktest

In SilkTest is it possible for one window to inherit from another


I have a window Win1 - it has multiple associated objects and methods. I want to create window Win2 which is exact replica of Win1 but different in some aspects.

Is it possible to link the two by, say, inheriting one from another.

Something like window

WPFWindow Win2_Win1WithSomeDifferences 
    inherits Win1
    //some more objects
    //additional code goes here

Kindly let me know of options.

Using Silktest 13.5.


Solution

  • Yes, it's possible using

    winclass Win2_Win1WithSomeDifferences : Win1