SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    18
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to enter random Numbers in multiple WebEdit

    Hi All,

    I am facing issue on below mentioned item,

    I am working on a web-application, wherein i need to random numbers on 5 TextBoxes, Like Sequence number in increasing order from 1,2,3 etc ....

  2. #2
    Member
    Join Date
    Jul 2011
    Location
    India
    Posts
    381
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to enter random Numbers in multiple WebEdit

    for random=1 to 9
    if random mod 2=0 then
    random=random+1
    end if
    msgbox random
    next
    <font color="blue">[i]If there is no struggle, there is no progress!

  3. #3
    Apprentice
    Join Date
    Jun 2011
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to enter random Numbers in multiple WebEdit

    for i=0 to 5
    min=1
    max=5
    dd=Int((max-min+1)*Rnd+min)
    msgbox dd
    next

  4. #4
    Advanced Member
    Join Date
    Aug 2007
    Location
    Six Feet Under
    Posts
    717
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to enter random Numbers in multiple WebEdit


    From QTP Help
    RandomNumber.Value(ParameterNameOrStartNumber [,EndNumber])

    E.g.
    x=RandomNumber.Value(0,100)
    Thanks,
    Manish Bansal

    Checkout Blog Page At
    http://www.softtechlabs.com

 

 

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 10.71%
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 04:32 AM.

Copyright BetaSoft Inc.