SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Member
    Join Date
    Oct 2002
    Location
    Santa Monica, CA, USA
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Combo box scrolling

    Hi,
    I am using WinRunner 7.5 and IE 6.0

    In site I have a combo box heavily populated.
    Command
    list_select_item "cmbAdvisors","Goldie,Daniel");
    takes a lot of time to execute and this give me a problem with syncroniozation.
    Is any othe method to select item from the combo box?

    Thanks.

    ------------------
    Thanks,
    Yuriy

  2. #2
    Senior Member
    Join Date
    Mar 2002
    Location
    Irvine, CA 92606 USA
    Posts
    384
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    First thing I would do is get the "count" of items in the list box.

    Wait x number of seconds and repeat the process. ( 6 or 12 should be long enough)

    When the "number of items" does not change the list should be fully loaded.

    See how long it takes to "select item" after the list is fully populated.


    ------------------
    cranem451 - cranem@addendum.com

  3. #3
    Senior Member
    Join Date
    Mar 2002
    Location
    Bangalore,Kar,Ind
    Posts
    112
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    As long as you are not verifying the list of items in the combo, have number of items in the combo list as less as possible i.e. enough to test. Then use standard WinRunner functions.

    The idea is to make testing simple and use WinRunner to facilitate or complement manual testing. As testers we should not try create complicated scripts which become a maintenance nightmare at a later stage.

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

  4. #4
    Member
    Join Date
    Oct 2002
    Location
    Santa Monica, CA, USA
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    Hi,

    The combobox is pre-populated! I have nothing to do with population of this combobox neither I can make it smaller.

    Do we have other method to select an item than I mentioned in previous message?

    ------------------
    Thanks,
    Yuriy

  5. #5
    Senior Member
    Join Date
    May 2001
    Location
    Ankh-Morpork
    Posts
    2,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    Is the combo-box data always the same when you run your test? If so, it might be quicker to select by number instead of text, e.g. (remembering that the first item in the list will be "#0"):

    list_select_item("cmbAdvisors","#25");

    ------------------
    Charles Reace
    charlesDOTreaceATverizonDOTnet

    "Any sufficiently advanced bug is indistinguishable from a feature." -Bruce Brown

    [This message has been edited by Charles Reace (edited 01-16-2003).]
    web site | [url=http://www.ebookworm.us/[/url]

    [i]...Sound trumpets! Every trumpet in the host! / Sixty thousand, on these words, sound, so high the mountains sound, and the valleys resound.</i] (The Song of Roland)

  6. #6
    Member
    Join Date
    Oct 2002
    Location
    Santa Monica, CA, USA
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    I already tried this. Unfortunatelly, when you looking at the scrin at the moment of execution of this command it still looks like it is scrolling one by one...

    ------------------
    Thanks,
    Yuriy

  7. #7
    Senior Member
    Join Date
    May 2001
    Location
    Ankh-Morpork
    Posts
    2,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    The MI Support Knowledgebase suggests that you make sure Windows "transition effects" are turned off on the PC.:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Clear the "Use transition effects for menu's and tooltips" checkbox in the Display Properties dialog.

    For Windows 2000:
    1. Right-click on the desktop.
    2. Select Properties; this will bring up the Display Properties window.
    3. Click on the Effects tab.
    4. In the Visual effects section, verify that the first checkbox, "Use transition effects for menus and tooltips", is not selected.
    5. If this option is selected, then clear the checkbox.
    6. Click &lt;Apply&gt; and &lt;OK&gt;.

    For Windows XP:
    1. Right-click on the desktop.
    2. Select Properties; this will bring up the Display Properties window.
    3. Click on the Appearance tab.
    4. Click on the Effects button.
    5. Verify that the checkbox, "Use transition effects for menus and tooltips", is not selected.
    6. If this option is selected, then clear the checkbox.
    7. Click &lt;OK&gt;.
    8. Click &lt;Apply&gt; and &lt;OK&gt;

    The script should now replay at normal speed and the correct item should be selected.<HR></BLOCKQUOTE>
    Hope it's as simple as that.

    ------------------
    Charles Reace
    charlesDOTreaceATverizonDOTnet

    "Any sufficiently advanced bug is indistinguishable from a feature." -Bruce Brown
    web site | [url=http://www.ebookworm.us/[/url]

    [i]...Sound trumpets! Every trumpet in the host! / Sixty thousand, on these words, sound, so high the mountains sound, and the valleys resound.&lt;/i] (The Song of Roland)

  8. #8
    Member
    Join Date
    Oct 2002
    Location
    Santa Monica, CA, USA
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    It does help!

    Thanks a lot.

    Yuriy

    ------------------
    Thanks,
    Yuriy

  9. #9
    Junior Member
    Join Date
    Feb 2003
    Location
    US
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    i am tryin to test a simple combo-box (with 4 fixed items in it).it gives me the follwoing error:


    Window: "html_frame"

    Object: "html_combobox"

    Error: Object is not currently displayed.


    this is my script:
    # Browser Main Window
    win_activate ("Browser Main Window");

    # html_frame
    set_window ("html_frame", 8);
    obj_check_gui("html_combobox", "list1.ckl", "gui1", 1);
    list_select_item ("html_combobox", "#3");

    i m recording the script in the context sensitive mode and in the GUI map file per test mode.

    any suggestions would be appreciated.

    [ 11-05-2003, 11:20 AM: Message edited by: pv ]

  10. #10
    Junior Member
    Join Date
    Feb 2003
    Location
    US
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Combo box scrolling

    Originally posted by pv:
    i am tryin to test a simple combo-box (with 4 fixed items in it).it gives me the follwoing error:


    Window: "html_frame"

    Object: "html_combobox"

    Error: Object is not currently displayed.


    this is my script:
    # Browser Main Window
    win_activate ("Browser Main Window");

    # html_frame
    set_window ("html_frame", 8);
    obj_check_gui("html_combobox", "list1.ckl", "gui1", 1);
    list_select_item ("html_combobox", "#3");

    i m recording the script in the context sensitive mode and in the GUI map file per test mode.

    any suggestions would be appreciated.
    <font size="2" face="Verdana, Arial, Helvetica">anybody?? [img]images/icons/confused.gif[/img]

 

 
Page 1 of 2 12 LastLast

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 9.38%
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 06:18 AM.

Copyright BetaSoft Inc.