SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Apr 2001
    Location
    Montreal, Quebec, Canada
    Posts
    324
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unable to select a value from a drop down list when many items begin the same letters


    Hi All,

    SilkTest 5.0.3.2 is unable to select an item from a drop down list when there are more than 3 items that begin with the first same letters and followed by a space.

    Example.

    If I have 5 items that start with HLK
    Silktest gets lost and is unable to select the proper item. If a have items like

    HLK 123
    HLK 456
    HLK 789
    and so on

    Silktest cannot select the item that I am searching.

    Is there a way to overcome this problem?

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

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to select a value from a drop down list when many items begin the same letters

    You can select items from the drop-down list by INTEGER.

    wListBox.Select (13)

    You could get the contents of the list, then search the list to find your item's position, then select based on the position.

    Use
    LIST OF STRING ls = wList.GetContents ()
    INTEGER iPos = ListFind (ls, sItem)
    wList.Select (iPos)

    Hope this helps




    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.com

  3. #3
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,439
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Unable to select a value from a drop down list when many items begin the same letters

    You may also want to try the FindItem () method. See Online Help for more details.


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

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 03:48 PM.

Copyright BetaSoft Inc.