SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2004
    Location
    Fairfax,VA
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Problem with HTML Link

    Hi,

    I am having some trouble working with HTML links on a web page.When I record with Rational Robot, following code is getting generated.

    HTMLLink Click, <font color="blue"> "Type=HTMLLink;HTMLText=Txt;VisualText=Txt"</font>, ""

    When I create a Verification Point,
    HTMLLinkVP (CompareProperties, <font color="blue">"Type=HTMLLink;HTMLText=Txt;VisualText=Txt"</font>, "VP=TxtLink")

    But when I use the above statements in SQAFindObject

    SQAFindObject(<font color="blue">"Type=HTMLLink;HTMLText=Txt;VisualText=Txt"</font>), result is 1003 saying that the object is not found. Do any body have a clue of why this is happening.
    my actual requirement is I am looking for some links on the web page and if the link is not present, in the viewing area, I need to scroll down and then I need to click on that link. Any suggestions or solutions please?

  2. #2
    Member
    Join Date
    Feb 2006
    Location
    Gujarat, India
    Posts
    238
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Problem with HTML Link

    Hey first use the inspector and find the hierarchy of the links for where they are located.
    There will be some frames and/or tables in which they are located.
    Enter the whole hierarchy in your SQAFindObject and you will be able to resolve ur errors.

 

 

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 11.54%
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 02:17 PM.

Copyright BetaSoft Inc.