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 2009
    Posts
    38
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Error : Specified Cell Does Not Exist in WebTable

    Hi

    I am working on automation of web base application and facing one issue in retrieving data from WebTable.
    Code is like this:
    CellData = Browser("").Page("").WebTable("...").GetCellData(r ow,col)

    At run time variable CellData returns exact data and sometime randomly throws an error like "Error specified cell does not exist"
    I also checked the rowscount which is greater than 1.
    Can anyone help me to know how to retrieve the cell data from webtable or what can be the reason for the Error.

    Thanks in advance,
    Priya

  2. #2
    Super Member
    Join Date
    Dec 2005
    Location
    USA
    Posts
    1,407
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Error : Specified Cell Does Not Exist in WebTable

    keep on error resume next and print the values check out of that particular row value is null.
    ------------
    Chikki
    when things gets harder ,the harder gets going

  3. #3
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Error : Specified Cell Does Not Exist in WebTable

    U can print the row and column number to find the cell where this error gets popped up?..

    Also check with childitem with webelement for each cell and getroproperty to retrieve the innertext value
    Thanks,
    Ganesh Iyer
    Winds of Change

  4. #4
    Junior Member
    Join Date
    Jul 2011
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Error : Specified Cell Does Not Exist in WebTable

    I would suggest you keep this line of code inside an If- else loop. If webtable exists check the number if columns in particular row

    If Browser("").Page("").WebTable("...").GetColumncoun t(row)

    In case the required number of columns are not present. You can fetch all the properties of the particular row using reporter.report and try to analyze the problem.

 

 

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.00%
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 01:52 AM.

Copyright BetaSoft Inc.