| || |
Winrunner and Structures Using Win32api
I am trying to use the win32api via winrunner to get information from listview boxes.. I have been successfull in getting data this way, using commands via sendmessage that returns an int only. Can anyone provide a sample of winrunner code to pass information back via the sendmessage via a structure or pointer.
In particular the LVM_GETITEMTEXT must be passed back using the LVITEM Structure. I am unclear on how to make this work in winrunner.
Re: Winrunner and Structures Using Win32api
I'd love to be proved wrong, but I don't think you can do this in WinRunner. I think the best bet is to create your own DLL that will extract the necessary structure information for you and pass it back as a string.
Best of luck!
Patterson Consulting Services
Developing Software Tools to Help WinRunner Automators