SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Feb 2000
    Location
    Frankfurt a.M., Hessen, Germany
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    MS Office 97 - Applications

    Trying to test Office 97 application I run into some problems with the menubar. There was no chance to recognize the entrys as selectable object. Any action against this object were recorded as
    win_activate ("Microsoft Word");
    set_window ("Microsoft Word", 3);
    obj_mouse_click ("Menüleiste", 33, 12, LEFT);
    win_mouse_click ("Datei", 74, 444);
    (in this case the 'Exit'-entry is selected)
    But the position of this entry is variable because there could be another count of last opened files.
    The same problem appears for the 'File open'-dialog; all selections were recorded via coordinates.
    Any idea what to do?


    ------------------
    --------------------------------------------------------------------
    Gerd Respondek

    DGZ - DeKaBank
    Abt. 603, OI-DIE
    Mainzer Landstraße 33a (Atlantik)
    60325 Frankfurt
    Tel. 069-7147-1932, Fax. 069-7147-4932
    eMail Gerd.Respondek@deka.de
    --------------------------------------------------------------------
    --------------------------------------------------------------------
    Gerd Respondek
    DekaBank
    Abt. 16003, IT-Architektur
    Hahnstrasse 55
    60528 Frankfurt
    Tel. 069-7147-1932, Fax. 069-7147-4932
    eMail Gerd.Respondek@dekabank.de
    --------------------------------------------------------------------

  2. #2
    Member
    Join Date
    Aug 1999
    Location
    USA
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: MS Office 97 - Applications

    I have seen the problem you are describing. Sometimes you can load the ActiveX addon and it will fix this problem. Another 'trick' is something like the following:


    #Before technique 1
    set_window ("Microsoft Word - Document1", 4);
    obj_mouse_click ("Menu Bar", 41, 17, LEFT);
    win_mouse_click ("File", 22, 13);


    #Technique 2, use analog to record keyboard
    #accelerator keys and use those.

    set_window ("Microsoft Word - Document1", 4);
    win_activate("Microsoft Word - Document1");
    type ("< kAlt_L-f > n");

    You can see that what we did was use some old WinRunner technology to directly send keyboard sequences to the application.

    The win_activate is very important as this example will not work without it. Many people often ask what is the difference between win_activate and set_window. The big difference is that set_window sets focus for searching in the GUI Map, and sets the window focus. The win_activate determines where default keyboard input will go. (ie type) With new WinRunner you will most likely see obj_type which doesn't require win_activate because it is object based unlike the type command.

    To make life simpler you might want to declare a function for navigation such as

    public function navigateMOffice(in menu)
    {
    #Code to do a switch based on menu
    # and then send type statements
    #to activate accelerator keys.
    }

    One other thing to check is if you have animated Menus turned on. It use to be that if you turned off the animated menus in MSOffice that it would record the menu selects correctly. (The animated menus look like the 'slide' down from the application.)

    Good luck!

    ------------------


    [This message has been edited by calebb (edited 02-10-2000).]

    [This message has been edited by calebb (edited 02-10-2000).]

    [This message has been edited by calebb (edited 02-10-2000).]

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:49 PM.

Copyright BetaSoft Inc.