| || |
Changing Class during record
I have written an extension to Silktest for IBM's VisualAge/Smalltalk, that is a DLL to communicate from Silktest to the Smalltalk environment.
However,I have a problem with the class mapping during the recording of a window declaration. Most of the objects in Smalltalk are of the window class "Composite". I have created a Silktest class with the tag "Composite", which has a number of methods for determining the "real" class it should map to. As stated in the documentation, I created a "GenerateDecl" method, which calls Smalltalk and returns all of the elements of a window and their appropiate classes in Silktest. This code may be pasted in the testscripts.
I would like to have this working automatically. The optimum would be, if during the recording of a window declaration the correct class would be used by Silktest. What would be the correct way to interface with Silktest to tell the agent to use the class XXX for a certain tag and the next time to use the class YYY for the same tag?
Re: Changing Class during record
Are you able to do performance testing with this solution?