SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2

Thread: List Box

  1. #1
    SQA Council
    Join Date
    Mar 2001
    Posts
    8,591
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    List Box

    User (asim.baig@cressoft.com.pk.nospam) posted:

    use the following two functions
    1] list_get_item() <= returns you name of an item at the specified index
    within a list box
    2] list_select_item() <= selects the item returned using the above function

    hope this helps
    Asim Zafar.
    asim.baig@cressoft.com.pk
    ************

    "GERALD RAJESH" <geraldrajesh@hotmail.com> on 04/23/2002 05:06:44 PM

    Please respond to winrunner@yahoogroups.com

    To: winrunner@yahoogroups.com
    cc: (bcc: Asim Baig/CresSoft)

    Subject: [winrunner] List Box
    Hi,
    WR permits to select the values from a LIST BOX , by specify the ITEM NAME,
    how do we write a script by which the we can randomly select the values in
    the LIST BOX.
    Thanks in advance,
    Gerald Rajesh C
    __________________________________________________ _______________
    Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

  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: List Box

    The attached text file has an example.

    The Function will produce an Array of numbers in a range with No duplications.

    The test script shows a simple example of using the Array (of random numbers) to select List items.

    This Function and script have Not been tested...


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

 

 

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 12.50%
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 05:39 AM.

Copyright BetaSoft Inc.