SPONSORS:






User Tag List

Results 1 to 2 of 2

Thread: Table Links

  1. #1
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Table Links

    Hi,
    Sometimes my scripts getting failure to clik link in HtmlTable. Without giving or using table name, can we able to click a table-link?
    Assume that you are in page1. Link a1 is in htmltable mytable and column is title. I have to give the code like,
    page1.mytable.title.a1.click() - Instead of this, can I give any other statement like
    page1.a1.click()
    Is it possible?



    ------------------
    Thanks & Regards,
    Palani.
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Elizabeth, CO, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Table Links

    Yes, you can. You'll have to build the parent (table and colum) tags into the tag of the HtmlLink object.

    For example, if the tag of the HtmlTable is "Clients" and the tag of the column is "Account No." you could name the the tag of the link "/[HtmlTable]Clients/[HtmlColumn]Account No./Test Account"

    If you don't already have it enabled, go into the Compatibility tab in Agent Options and turn "Add 'Window Tags' to record menu." Use that to find the lineage of your object.

    - Dave


    ------------------
    Amelior Technology
    dreed@ameliortech.com
    WaltzingRhino.com
    A concerned Borland customer, a fly in the ointment, a wrench in the works.

 

 

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 05:55 AM.

Copyright BetaSoft Inc.