Tuesday, May 27, 2008

Silktest - Record Class

Yesterday I was going through Silktest Knowledge base in Borland support. Silktest has a feature "Record Class" for custom controls. This feature can list out external methods (public). It is an informative article.

Below quote is from Borland Support - Silktest KnowledgeBase .

Recording Class will let the built-in methods that any object has, be available to use in 4Test. These will be held in your include file in the form of a Winclass.

It can also be used if you are testing a component in SilkTest that is seen as a CustomWin, then you can Record Class against it.

Alternatively, it can be used on objects that are being recognised correctly by SilkTest but which may have their own built-in methods (only public methods) which would be more appropriate to your needs. If this is the case, then record class will be suitable for you to make these methods (as well as properties) available to be used.

3 comments:

Anita Gujrathi said...

I am automating the testing of one web based application which is developed in Java. In that application one grid is provided which shows the list of htmllinks. However when I record the window declarations this grid is recognized as htmltext. I check in the source of that appllication (Alt+v/source) which shows that the object is grid. Can you provide any resolution for this?

Palani Selvam said...

Anita,
I am not able to understand, what do you meant by grid in web. Whether is it table or any other format. Is it possible to share the link or give me similar page in internet or store your web page by complete option and send to me?

Generally you can not determine the web objects by its view/visibility. Internally it might be different object. I have faced this problem. In my case, Buttons and Treeview objects in our web application are HtmlText objects.

Unknown said...

I am using a silk test workbence to record the .Net script. My application is using infragestics controls and workbench is not recognizing this control. Can anybody tell me how to identify the infragestics controls in workbench?