Using the 'ThunderRT6FormDC' class with SilkTest Classic
It is possible to Class Map a 'ThunderRT6 Control' to a standard control using the Silk Test Open Agent.
From Silk Test 13.5 onwards you can now easily map custom classes (i.e. custom controls such as "'ThunderRT6.." for which the Silk Test Open Agent does not recognise) to standard classes. This ability is provided via the new "Manage Custom Controls" feature; however please note that this feature is only supported with the Open Agent. This new feature can be accessed from the Silk Test Classic IDE by navigating to ‘Options > Manage Custom Controls’ .
From within the dialog (as shown below) you will notice four distinct columns:
1- Silk Test base class
2- Silk Test class
3- Custom control class name.
4- Class mapping
Silk Test base class - Select an existing base class to use that your class will derive from. This class should be the closest match to your type of custom control.
Silk Test class - Enter the name to use to refer to the class. This is what will be seen in locators
Custom control class name - Enter the fully qualified class name of the class that is being mapped.
Class Mapping - Set the class mapping to true to map the name of a custom control class to the name of a standard Silk Test class. When you map the custom control class to the standard Silk Test class, you can use the functionality supported for the standard Silk Test class in your test.
Please follow the steps below for using the mange Custom Control Dialog:-
1) Click the ‘Browse’ button and select the frame file where your custom controls have been declared.
2) Click ‘Add’ button to insert a new row
3) Place Cursor in ‘Silk Test base class’ column and select an option from the dropdown which is the closest match to the type of control to be recognised.
4) Place cursor in ‘Silk Test class’ column and enter a unique name you wish the control to be recognised as.
5) Place cursor in ‘Custom control class name’ and enter the class name of the control. If you are unsure of the name of the class you can use the Record Locators option to identify the control. Press the "ctrl & alt" keys simultaneously while hovering over the object to acquire the properties of the control, one of which should be the objects class property.
6) Click the ‘Apply all Changes button’ then
7) Click ‘OK’ button