SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2008
    Posts
    88
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    identify the hyperlink

    Hello

    I am using SilkTest6.5 for Desktop application.

    I want to automate following-

    On Search, the .exe file gives me list of needed string in hyperlink format. Suppose I put 'ABC1' then it searches in the DB and the available hyperlinks are appeared on the UI say 'ABC1, ABC12, ABC123, ABC1ABC' etc.

    Here I want to select only the needed hyperlink from the UI.

    Please tell me how should I select the exact hyperlink from UI.

    Also the UI is identified by the single object.

    Thanks,
    Abhijeet

  2. #2
    Member
    Join Date
    Nov 2007
    Posts
    53
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: identify the hyperlink

    Hi Abhijeet,

    You can try the following
    1. yourObject.GetChildren() [return list of childwindow]
    2. Use a for loop for the list of windows
    3. use window.getClass() to get the class
    4. Match the same with hyperlink class
    5. if match as hyperlink then getcaption().
    6. if match found with ur expected data then perform click operation.

    -Rohit S

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

    Re: identify the hyperlink

    Are you sure that desktop application and Hyperlink? Have you tried secondary extension or browser extension to that application?
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

 

 

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 04:21 PM.

Copyright BetaSoft Inc.