Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Mercury WinRunner Collapse All
Subject Author Date
Mike Van Duzee Jul 10, 2007 - 7:43 AM

Does anyone have any experience running a Prof-UIS application with the WinRunner automated testing application? WinRunner does not recognize the Prof-UIS menus which is causing some problems.

Darren Oliver Sep 5, 2007 - 9:34 AM

Hi Mike, I was able to use WinRunner 8.2 to test some parts of the application I am working on. Needed to define some virtual objects, and retrieved values by grabbing text from the whole screen and using the split command to ’extract’ what was needed. Easiest way is to just use the "record" feature, do a few steps, then try to parameterize the code for automation. If the GUI Spy doesn’t recognize the object (in most cases), then you have to code a workaround and use the virtual object wizard. This makes the GUI Map a chore to maintain and it is time consuming to do so.

Good luck!

Technical Support Jul 11, 2007 - 9:03 AM

Actually Prof-UIS menus are not based on the Windows menus. They have much more features and are not compatible with HMENU windows. Prof-UIS menu items are based on CExtCmdItem command description objects stored in a CExtCmdProfile command profile in the CExtCmdManager command manager (The latter can be accessed with the g_CmdManager global smart pointer variable). This design allows Prof-UIS menus and toolbars to automatically share command parameters between different interface objects. So this technique may make Prof-UIS menus inaccessible from third party applications like WinRunner.