SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Advanced Member
    Join Date
    Oct 2010
    Location
    USA
    Posts
    578
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Dynamic Link Click Method with DP

    Attached is DOC with Screen shots.

    How can I use DP & the click method with this Dynamic Link?
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Jun 2007
    Location
    India
    Posts
    374
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Dynamic Link Click Method with DP

    Hi,

    You can write the description of the Link object and then use it in the script...the below given code may help you.

    strInput="Name of the link to which u wan2 click"
    Set ObjDesc = Description.Create()
    ObjDesc("micclass").value = "Link"
    ObjDesc("name").value = if any
    ObjDesc("type").value = if any

    Set ObjLink = Browser("").Page("").ChildObjects(ObjDesc)
    LinksCount = ObjLink.Count

    For i=0 to LinksCount-1
    x = ObjLink(i).GetROProperty("value")
    If x = strInput Then
    ObjLink(i).Highlight
    ObjLink(i).Click
    End If
    Next
    - Manish

  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: Dynamic Link Click Method with DP

    Ocean's from where does this value get retrieved, i mean the value "3XXXXXXX".

    if there are 100 such links, how do u know which one click. I mean u have any specific criteria, else its that u need to click all the links.

    Also u can use Regex with link name as only numeric to further filter the number of links retrieved by using the method mentioned in manish's post.

    How does this entire content appear, it's a table, so u can use some criteria with getRowwithCellText to find the row. Then use childitem to click on the link.
    Thanks,
    Ganesh Iyer
    Winds of Change

  4. #4
    Advanced Member
    Join Date
    Oct 2010
    Location
    USA
    Posts
    578
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Dynamic Link Click Method with DP

    This is a Link with a Dynamic number, every time we create a quote it creates a new number with the value "3XXXXXXX"

    now if I create two quotes then I need to identify it by index as well.

    @ Manish, I appreciate your input, but I never done it not too sure how to plug in the information needed.

 

 

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.34%
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 06:33 AM.

Copyright BetaSoft Inc.