SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2003
    Location
    Bristol,ct,USA
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to set values for weblist during Runtime

    I have to set All values to a weblist In a Webtable ? I wrote code like below which doesn't work..Any one Give me whatz wrong or what needs to be changed?
    For each WebList in Browser("360-Degree View").Page("360-Degree View").Frame("TargetContent_2").WebTable("Order")
    Browser("360-Degree View").Page("360-Degree View").Frame("TargetContent").WebList("RO_LINE_VZ_ APPROVAL_CD$0").Select "Cancel"
    Browser("360-Degree View").Page("360-Degree View").Frame("TargetContent_2").WebList("RO_LINE_V Z_CANCEL_RSN$0").Select "InvldAuth"
    Next

    Thanks
    Bibby

  2. #2
    Junior Member
    Join Date
    Dec 2005
    Location
    Hyderabad, India
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to set values for weblist during Runtime

    Hi,
    U need to use EXTEND SELECT keyword to select remaining items of the list
    Regards,
    Sreenath.

  3. #3
    Member
    Join Date
    Mar 2003
    Location
    Bristol,ct,USA
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to set values for weblist during Runtime

    I m sorry I guess I am not clear Above,Say I have a webtable,I don't Know How many Orders(rows) I have in that table,Until Runtime.I want to cencel All The Orders(I mean for each row I have to select Cancel from List Box).I can do for 1 row.
    How to do for All remaining rows is My Problem

  4. #4
    Member
    Join Date
    Jan 2004
    Location
    Mexico
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to set values for weblist during Runtime

    Try this :

    1. you may get the total row of table :
    var_RowCount = Browser("360-Degree View").Page("360-Degree View").Frame("TargetContent_2").WebTable("Order").
    RowCount

    2. Create an object of webtable , only to reduce the code.

    set WebTblObj = Browser("360-Degree View").Page("360-Degree View").Frame("TargetContent_2").WebTable("Order")

    3. Read every row of table , and indicate wich column have the weblist that you need modify

    For I = 0 TO ( var_rowcount - 1 )
    4. Create an object with the weblist, that you dont know.
    Set WebListObj = WebTblObj.ChildItem (I,col of weblist,"WebList",0)

    WebListObj.Select "Cancel"

    next.


    I hope this help you,

    Saludos.
    fml

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:42 AM.

Copyright BetaSoft Inc.