SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Oct 2000
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Advantages & Disadavantages of TAGs.

    Since testcases use logical names, if the object's actual name changes on the current GUI, on another GUI, or localized version of the applications, do we have to change just the tag in the window declarations or do we need to do some more changes? (in Silk Test)
    are there any disadvantages of TAGs in GUI/Web based testing?

    Thanks,

    vDevara



    [This message has been edited by vdevara (edited 10-18-2000).]

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

    Re: Advantages & Disadavantages of TAGs.

    I think the answer to your question is YES.
    I am a bit confused on your lingo .. so perhaps a simple example for all.

    The logical name is the identifier you refer to in your script. Once you decide what it should be (or take the system default) you should attempt to keep that logical name for "all times", in other words for goodness sake don't change it ever!!!

    Now if some crafty developer decides to change the name of the control from "activate" to say "energize" you don't change the logical identifier .. you change the physical description or tag itself .. like so (i.e lets use an html push button):

    From:
    HtmlPushButton activate
    tag "activate"

    To:
    HtmlPushButton activate
    tag "energize"

    Then you save those changes in your Frame file and viola .. all your OLD scripts work just fine! Because the OLD identifier will map to the correct control via the NEW tag .. no matter how many referances you have.

    // xyz_browser_childwin.activate.Click()

    This is the true value to tagging. You can map controls to immutable (non changing) identifiers, and when the caption or some tag description changes .. you only change it in the one place. Then all your old scripts which may have hundreds of referances to that control can still run!!Preety neat huh??

    As for disadvantages .. or gotchas, like everything else they are there. I would like to see more tag forms supported (especially a window id for us reverse engineer types).

    Also there are two schools of thought to
    "multitags". I like them but I remember a funny subject title in this forum "multi tags are evil".


    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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:08 AM.

Copyright BetaSoft Inc.