Using the dll for the Grid in Silktest
The Silk test is learning the grid which is used in my application as custom object( which is a activex object (.ocx)) .For example i want to make a double click on the cell containing the value "chemistry" .Silk test is taking it as mouse cordinates .I want to give the value through script ,which is to be double clicked .I have the dll file for the grid which is used in our applicaion.How can i use the dll in silk test to make the silk test to understand the GRID and how can i see the methods of the dll in Objects browser ,Please help me.
Re: Using the dll for the Grid in Silktest
If you have a dll for the application, put the dll declaration in one of your include files.
For example, If I want to use a GetVersion() function available in kernel32.dll, I would declare it as
[+] dll "kernel32.dll"
[ ] int GetVersion()
[ ] void GetLocalTime(out SYSTEM_TIME rSYSTEM_TIME)
Similarly, in order to use the dll that you have, first get the list of functions available in dll from developers. Then you can directly call these dll functions from you test case.
Integer iVersion = 0
iVersion = GetVersion()
I hope this helps.