I've read about an MFC add-in for Winrunner. Has anyone heard of or used such and add-in?
I'm having big problems right now developing automated tests for phone emulators(3G). The manufacturer says that the emulators are developed in C/C++ but winrunner doesn't recognize any objects. Well, actually it recognize the screen as one object but winrunner is totally unaware of everything inside the screen....
Re: MFC add-in
If there is an MFC addin, it wasn't written by Mercury Interactive. MFC / Visual C++ produces standard windows objects. You should get by with just the Active X addin.
WinRunner is just recognizing the whole window? That is unusual. Are you using a remote desktop application? (PC anywhere / VNC). If not, I would guess that the development environment is other than Microsoft visual C++. Another possibility is that all the objects are owner drawn. For example, instead of a real push button, you would have a picture of a push button. The application would then interpret a mouse click within the button picture as a button press. An example of this is the windows calculator. If your application is written this way, you will have to use the virtual object wizard / analog recording. Since these are both somewhat lousy, you're probably better off doing manual testing.
Re: MFC add-in
Thanks for the info!! No, I'm not using any remote desktop application. The emulators are installed locally. Well, maybe it is written in some other language but winrunner recognizes the display of one emulator as Afx:40000:8 and I thought that would inidcate MFC?
Anyway, since it is many objects inside the screen (for example a built-in browser!) it is almost impossible to go with the virtual object wizard. The workaround is to test in a normal browser (Netscape or IE) instead of the browser in the emulator.