Does SilkTest officially support "Eclipse GEF" (Graphical Editing Framework)?
Eclipse Graphical Editing Framework (GEF)
The "Graphical Editing Framework" (GEF) allows developers to take an existing application model and quickly create a rich graphical editor.
SilkTest does not officially support Eclipse GEF, as per the Release Notes. However, you do have number of alternatives available such as Recording Class, Class-mapping, co-ordinate clicking (including TypeKeys) and Bitmap Verification.
If the control is similar to a standard control, you could class map it to that standard class. For example, if you have a control which looks and acts like a standard PushButton, but is recognized as CustomWin because it was developed in a technology which is not supported, then you could class map it to the PushButton class. This will allow you to use the methods and functions which SilkTest provides for PushButton. The same is true for other controls like this.
To class map, do Record/Window Declarations, move the mouse pointer over the control and hit CTRL + ALT. Then, on the dialogbox, click the Classmap button and then you can map it to one of the controls in the list.
Class mapping does not always work and it will never work for complicated controls such as grids.
This is very useful and will allow you to access the objects own methods and properties which were made "public" for the control. It"s done by using Record > Class and checking the boxes "Show all methods" and "Show all classes". Move the mouse over the control and hit CTRL + Alt, if there is a number of methods and properties captured, then this will work. If there are none, then the developer who developed that control did not make them "public", so these cannot be accessed, unfortunately there is nothing that can be done about this unless your developers are willing to help.
If you are able to get methods and properties, you must remember that these methods were not developed by Borland, so we don"t know what they do. Some of the methods will be obvious by their name, others you will need to consult the developer of the control. SilkTest will not be able to use all the methods, only those which use the data-types supported by SilkTest (such as STRING, INTERGER, etc). Support for using and maintaining these methods are not our responsibility because we did not develop them.
Co-ordinate clicks and keyboard strokes
This is the most basic of the alternatives; using Click() on screen co-
ordinates and Type Keys() to enter text or move around the screen with the Alt key.
Old KB# 20751