SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Senior Member
    Join Date
    Nov 2007
    Posts
    124
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Related to links in WebTable

    I am facing the problem and problem is i have two webtables on a page and at last row of every table shows pagination links 1,2 etc

    if one table have no rows then it does not show pagination links but my checks always pass as it verify pagination links of other table.

    what will be the solution for this issue?

    as all pagination links are counter are displaying in one web element by developer. so what will be the solution.

    Regards
    Life is the Game of Luck

  2. #2
    Member
    Join Date
    Oct 2005
    Location
    India
    Posts
    36
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Related to links in WebTable

    could you elaborate bit clearly.

    What i can suggest is, you have web table try to get the rows and columns count. Iterate such that you get last row value based on the rows and columsn you have. use GetCellData.

    Thanks
    praveen Kumar Araveti

  3. #3
    Moderator
    Join Date
    Jan 2007
    Location
    Pittsburgh, PA
    Posts
    2,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Related to links in WebTable

    Try to identify each WebTable object uniquely and then use RowCount, columnCount, GetCellData, ChildItemCount and ChildItem methods to identify child objects inside webtable.

  4. #4
    Senior Member
    Join Date
    Nov 2007
    Posts
    124
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Related to links in WebTable

    if i use getcelldata it always shows <prev 1,2,3,...125 Nex> page 1 Go ...

    Means all value which is in last row.

    i cannot exactly get 1,2 as a link saperatly. Is there any property of webtable through which i can get these links?
    Life is the Game of Luck

  5. #5
    Senior Member
    Join Date
    Nov 2007
    Posts
    124
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Related to links in WebTable

    TotalRows=Browser("..").Page("..").WebTable(".."). RowCount
    For i=1 to Browser("..").Page("..").WebTable("..").ColumnCoun t(TotalRows)
    msgbox Browser("..").Page("..").WebTable("..").GetCellDat a(TotalRows,i)
    Next

    When i run this code it shows a msgbox which is attached. But i want to get 1 and 2 links from that result. if i fount position of 1 and 2 by then how can i click on that specific position? Or is there any other method?

    hope its little more clear now.

    Regards,
    Babar
    Attached Images Attached Images
    Life is the Game of Luck

  6. #6
    Senior Member
    Join Date
    Jan 2000
    Location
    USA, CA
    Posts
    1,998
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Related to links in WebTable

    Not position.

    You have to use ChildItem Method.
    (See TReddy's post above)

    Janna

 

 

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

Copyright BetaSoft Inc.