| || |
Selecting Start->Programs->MSWord in XP
I am trying to setup some testing for an SOE environment. Not only do we need to test the functionality of the apps themselves, but we also need to be able to test their Start Menu configurations.
I have had a look at recording window declarations for the popup start menus, but this doesnt work.
The Taskbar and Start button are already defined so that works fine. The problem is with the dialogs that get instantiated.
Both the initial Start Menu and the Programs are seen as discreet top level Dialogs, both recording as Dialog1 with tag #1 and no other idenfication fields with data. The Programs dialog is not seen as a child of the StartMenu dialog.
It seems to me that when the mouse moves from one to the other, windows is reordering the windows on the desktop so that the current menu dialog is always the topmost window.
Have I been missing something??? When I look all I see is two windows that at the dialog level both seem to have the exact same identifying features?
Not to mention that SilkTest 6.0SP1 doesnt even seem to be able to click on Programs button in the start menu.
Now as part of my requirements I have to be able to look up the details in these dialogs to test installed options and such, so can anyone give me some pointers??
Re: Selecting Start->Programs->MSWord in XP
The following is one way that you can traverse through the Start Menu:
[-] testcase Test () appstate none
[ ] Taskbar.SetActive ()
[ ] Taskbar.Start.Click ()
[ ] // Selects "Programs"
[ ] DialogBox("#1").CustomWin("[MenuSite]#1|$0").ToolBar("#1|$0").PushButton("Programs|$504 ").Click ()
[ ] // Selects "Accessories"
[ ] DialogBox("#1").CustomWin("[MenuSite]#1|$0").ToolBar("#1|$0").PushButton("Accessories|$ 0").Click ()