SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Guest

    Testing Intranet Behind a Login

    Hi All

    Im sure one of you will be able to help

    Im trying to test an Intranet that users need to login to. They than get different contant dependant on their Account.

    Is there any way to parse out the HtmLinks to enable silk test to run as a link checker.

    Any examples of scripts would be a great help



    ------------------
    Martin Croft
    Select Red Ltd

  2. #2
    Junior Member
    Join Date
    Jun 2001
    Location
    Galway
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing Intranet Behind a Login

    Hi Martin

    Get the class of all objects on the page
    From this list get all the objects of class HtmlLink
    Add these into a list of links e.g.

    List of window lwLinks
    List of window lwChildren

    lwChildren = BrowserPage.GetChildren ()
    for i = 1 to ListCount (lwChildren)
    if lwChildren[i].GetClass ()==HtmlLink
    ListAppend (lwLinks)

    lwLinks[1].Click ()

    ------------------

  3. #3
    Senior Member
    Join Date
    Nov 2000
    Location
    Bloomington, IL
    Posts
    142
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing Intranet Behind a Login

    I agree with Colmn.

    I uploaded a function that captures all of the items on a page and then returns the class type you are looking for. Search for CheckForClass in this forum.

    MikeF

    ------------------

 

 

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 09:13 AM.

Copyright BetaSoft Inc.