SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    May 2008
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    To retrieve data from a HTML table

    Hi,

    I need to retrieve data frm a html table, for ex, if teh html table has 10 rows and 10 columns, whn am using getRowCount and getColumnCount, its showing the count as 1 rows and 1 columns.
    the thing is dat its considering all teh column headers as a single column and also the row contents into one single row along with teh column headers.
    cell value at (0,0) is displaying all teh column headers along with all the row contents and remaing rows as null.

    can any one suggest any solution reg the same?
    and also i need to typecast the table contents into a string, can any one suggest a method regard the same?

    thanx in advance, u can mail me at amaravadhi.qa@gmail.com

  2. #2
    Junior Member
    Join Date
    Aug 2008
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: To retrieve data from a HTML table

    Is there a good source for how to get information from HTML Tables? I don't know how to approach the problem, and am not finding much on the issue.

  3. #3
    Junior Member
    Join Date
    Sep 2008
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: To retrieve data from a HTML table

    use class ITestDataTable to fetch data from the table.

  4. #4
    Junior Member
    Join Date
    Dec 2008
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: To retrieve data from a HTML table

    I suggest you refer the section "Determining the values of cells in a table" in the RFT help. it provides the basic opertions on the html table.

  5. #5
    Junior Member
    Join Date
    Dec 2005
    Location
    Manila
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: To retrieve data from a HTML table

    Hope this would help:
    ITestDataTable myTable;
    myTable = (ITestDataTable)the test obj table name.getTestData(String arg);
    String dummy = myTable.getCell(int arg, int arg).toString();
    Genrev

 

 

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.38%
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 06:09 PM.

Copyright BetaSoft Inc.