This topic discusses common problems when testing .NET applications with Silk Test Classic and how to solve them.
This functionality is supported only if you are using the Classic Agent.
This problem is probably caused by the tag of the dialog box. If you declared the dialog box with multitags, make sure that the first tag in the multitag is correct. Usually the first tag is the caption of the dialog box. If the dialog box can have multiple captions, use wildcards to create a caption that covers all of them. Alternatively, if the dialog box has a valid window ID, you may want to use that as the tag or first multitag instead of the caption. If you must rely on a multitag for the dialog box, then be sure to close the dialog box explicitly as part of your test case.
This is not a problem for just the .NET extension; it can occur with any application. However, .NET applications are one of the few for which dialog boxes have valid Window IDs. Other dialog boxes only have valid captions, so they usually only have a single tag instead of a multitag. Therefore if the tag is wrong, it needs to be corrected in order to run the test case.
The dotnet.inc file provides definitions for the supported .NET classes. Each class in the file lists the prototypes of all properties and methods for the class.
If you did not install .NET support, but later want to enable it to test your applications, you must manually edit dotnet.inc in order to use the predefined class definitions; otherwise, you will have to record all class definitions yourself.
After you remove or change the security string for the Framework, the DefaultBaseState might not work when you run Silk Test Classic. Follow the instructions described in Setting Your Machine Zone Security and use the instructions that begin with Open your Control Panel…. Be sure to set the security for the Framework.
If the cursor is in a text box or a combobox and you enter text by pressing down and holding a key, so that multiple characters are entered, only the first character is recorded. For example, if you press and hold the "x" key causing many x’s to display in the text box, Silk Test Classic does not record "xxxxxxxxxxxxxx"; Silk Test Classic only records a single "x". You have to manually edit the argument to SetText in the script if you want Silk Test Classic to play back multiple characters.