SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    wsh
    wsh is offline
    Junior Member
    Join Date
    Jun 2001
    Location
    Downers Grove, IL, USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using the BrowserAuthentication window declaration

    I am attempting to automate a site that has a login prompt requirement before the user is allowed to enter the site. I originally recorded a window declaration for this login pop up window and that did not work when I ran the testcase. I then came across the built in BrowserAuthentication window declaration and used that. I looked at the code for it in browser.inc and it is virtually the same as the one I had created. I cannot get either way to enter the username and password so I can proceed with the testing. It just prompts the login pop up and appears to click Cancel. Then the test is over and fails. I am using IE 5.5 on NT. Anyone have any ideas? Thanks!

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

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Elizabeth, CO, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using the BrowserAuthentication window declaration

    In theory, if you have sLocation, sUserName, and sPassword defined for your BrowserChild object, SilkTest should load the page and deal with the BrowserAuthentication DialogBox automatically. Should. Doesn't seem to work.

    I've heard that this may be fixed in the latest HotFix to SilkTest 5.5, but I haven't confirmed that myself.

    What I've done in the past is alter my sLocation data member name to sRawLocation and then write a property called sLocation, as follows:

    That's worked for me.

    Good luck.

    - Dave



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

    Amelior Technology
    dreed@ameliortech.com
    WaltzingRhino.com
    A concerned Borland customer, a fly in the ointment, a wrench in the works.

 

 

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 02:20 AM.

Copyright BetaSoft Inc.