SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Sep 1999
    Location
    San Jose,CA,USA
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    html_table identification .. is there a better way

    All

    I am on a new project:
    WR 8.0 against JSP IE 6.0

    Development is moving tables about on me and I am spending no small amount of time maintaining the maps.

    I think the crux of this issue is how little information I get from the map via recorder on any given table i.e:
    {class: object,MSW_class: html_table,location: 10}
    // is as much as I get for any ..

    Essentially I am tying into location which I would have preferred NOT to do. Now I certainly can crack into any table I want with the functionality within WR .. but I would prefer not to spin object location and look into it(employing the master po technique).


    So is there a better way to tag that I simply don't know about? I have changed all the attribute tags on a table like the one I work with and put it under apache, then see if in any way I can get the WR Spy to pick up on it.

    I have tried:
    summary

    And some that probably don't do anything anyway:
    name
    value // both name and value work well on checkboxes
    label

    Still just get:
    {class: object,MSW_class: html_table,location: 10}

    So is there a way I could either get dev to implement a html tag or fiddle with WR (not the virtual GUI MAP) to get a better more immutable way to tag a table?

    It would be great if there was!
    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

  2. #2
    Moderator
    Join Date
    Mar 2000
    Location
    Orange County, CA
    Posts
    3,187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: html_table identification .. is there a better way

    Tables are the worse thing to have to deal with dev changing.

    We've never really been able to lock it down either, but have been lucky enough to have a stable design for the most part. It only hits us every now and then.

    About the only thing I can suggest, which is something you probably don't want to do as it is tedious, but it is dynamic, would be to start iterating through the tables on the page, pulling back the column headers and match to a known list of items. When it matches what you are looking for, then you know you have found it whether it is location 1 or location 9.
    Insanity: doing the same thing over and over again and expecting different results

  3. #3
    Senior Member
    Join Date
    Sep 1999
    Location
    San Jose,CA,USA
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: html_table identification .. is there a better way

    Well .. I was sorta kinda hoping not to, that there would
    be a missing tag or map magic and I would not spinning on locations.

    But I am somewhat happier that I wasn't missing something very obvious. You know table identification has always been a problem even in Silk. I wonder why they can't crack the summary tag (which is almost never used and does not display .. which is perfect) to map back to an attribute in the tag.

    I guess I better write ANOTHER FUNCTION (with a column parm)
    tableIdentify
    tablePain
    tablesAreSpecial
    tablesLoveEmOrLeaveEm
    ifYouHaveToAskWhatTableThisIsYourTooStupidToUseIt
    myNameIsTableIsntThatGoodEnough
    highPlainsTable
    :
    # what to choose ...
    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

  4. #4
    Moderator
    Join Date
    Mar 2000
    Location
    Orange County, CA
    Posts
    3,187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: html_table identification .. is there a better way

    didn't miss anything as far as I can see - just the nature of those ugly beasts!


    I put my vote to ifYouHaveToAskWhatTableThisIsYourTooStupidToUseIt


    [img]/images/graemlins/smile.gif[/img]
    Insanity: doing the same thing over and over again and expecting different results

  5. #5
    SQA Knight
    Join Date
    Jun 2002
    Location
    Cupertino, CA, USA
    Posts
    2,164
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: html_table identification .. is there a better way

    The gui spy doesn't show you all available properties for web objects, but it's true that tables can only be identified by location. QTP kicks WinRunner's butt in this case - you can identify html tables based on content. It's a pity they don't add the same functionality to WR. More evidence that WR is being retired.

 

 

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 12:08 AM.

Copyright BetaSoft Inc.