Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Does SilkTest officially support "Eclipse GEF" (Graphical Editing Framework)?

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.


Class mapping

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.

Record Class

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

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:13
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.