I'm trying to capture a window in Silk that was created in .net. All the objects keep coming back as CustomWins, but the tag contains info that makes me think it might have some clue as to what the object really is, for example, msw tag "[WindowsForms10.Window.8.app1]MainMenu" for a MainMenu. I'm not sure if it's just something I've forgotten to turn on or if Silk really has no clue.
anyone have any experience with SilkTest and .net?
Basically classmapping only works if the custom object responds to the same API calls that the standard object does. Some .NET objects will work, but many do not. So much for backward compatability.....
A lot of .NET stuff will work. Just use a lot of Classmaps. Your biggest prob will be buttons as they all are recognized as just buttons whether they be checkboxes, pushbuttons, radio buttons, etc..
Using your example "WindowsForms10.Window.8.app1", you probably noticed in the "...app1" part, the number changes in every build of your app. So in your Classmap in silk use a wildcard like: "WindowsForms10.Window.8.app*".
This is working pretty well for me. Takes a lot of classmapping and tag trickery, but it's doable.