January 21, 2008

Beyond SilkTest, Windows API and creating Dlls

If you have spent enough time on the new GUI control or Custom object trying to figure out how to access it's contents and do some operations on it.?

Before going out of SilkTest just make sure that you have failed in following also

1. Class mapping
2. Using Clipboard functions

here are few more things that we can do before we say 'Test case not automatable'

1. Use inspect32 and investigate more about the control that you are going to automate or access it's properties / want to do some operations on it.

2. Use API calls by passing the windows handle of the control to the function. For example use SendMessage() send different events to the control.

3. Final and my favourite is build a dll which can solve your problem if silktest is not able to

Note : Talk to your developer whether is it possible through dll or not.

I would write how to build and problems that i have faced while using them in next post.