SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Mar 2010
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Link Element not recognized

    Below code was working fine and all of sudden it is not recognizing the link object. While in debug more if choose to retry it works and highlights object on UI

    Not sure why it's not recognizes run time

    If Browser("Certificate Error: Navigation").Page("Certificate Error: Navigation").Exist(15) Then
    Browser("Certificate Error: Navigation").FullScreen
    Browser("Certificate Error: Navigation").Page("Certificate Error: Navigation").Sync
    Browser("Certificate Error: Navigation").Page("Certificate Error: Navigation").Link("Continue to this website").Click
    End If <font color="red"> </font>

  2. #2
    Moderator swt88's Avatar
    Join Date
    May 2003
    Location
    Massachusetts
    Posts
    1,266
    Post Thanks / Like
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Link Element not recognized

    Are you sure it's still a link?

    I recently had a similar problem...
    The object in question still looked the same-like a link on the page. Tried locate/highlight from OR and would flash correctly. But would not be recognized during run.

    I recorded a click on the object -- it was recognized as an Image.

    After I added the new one to the OR and changed the script from ...Link(obj) to ...Image(obj) it started working again.
    Mary

  3. #3
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Link Element not recognized

    did you get to identify the object in OR, also try using a condition to check for the link's existence.
    Thanks,
    Ganesh Iyer
    Winds of Change

  4. #4
    Moderator
    Join Date
    Oct 2010
    Location
    Norway
    Posts
    3,268
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Link Element not recognized

    I have had the same issue but adding a Regex fixed it.

    For the Link's text property, add "Continue to this website.*".

    Alternately, you can also look at the workaround in this article.

    http://support.microsoft.com/kb/931850
    Rajkumar

  5. #5
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Link Element not recognized

    Raj,

    Can u explain why a Regex appended, if there is no additional text.
    Thanks,
    Ganesh Iyer
    Winds of Change

  6. #6
    Member
    Join Date
    Mar 2010
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Link Element not recognized

    Thanks for all the responses.

    Yes - The object I am trying to click in link (Confirm with OR) not Image.
    Not sure if running script in Full screen mode caused the problem or not but after removing
    Browser("Certificate Error: Navigation").FullScreen , link object is recognized and clicked.

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:40 PM.

Copyright BetaSoft Inc.