SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    lev
    lev is offline
    Junior Member
    Join Date
    Oct 1999
    Location
    Redwood City,CA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE\'s \"Security Information\" window causes the Agent to hang.

    Hey guys,
    The problem is that the Silk loops indefinitely once the "Security Information"
    message appears. "Agent is not responding" error presented after the agent is killed through Task Manager -the only way to do so. Sometimes when the Agent is restarted the code is able to handle the message, but not until then! Here is what I've tried:
    1.) [ ] DialogBox("Untitled Document - Microsoft Internet Explorer
    provided by AltaVista").DialogBox("Security Information").SetActive ()
    [ ] DialogBox("Untitled Document - Microsoft Internet Explorer provided
    by AltaVista").DialogBox("Security Information").PushButton("Yes").Click
    ()

    2.) [ ] DialogBox("Untitled Document - Microsoft Internet Explorer
    provided by AltaVista").DialogBox("Security
    Information").PressKeys("<Esc>")
    [ ] DialogBox("Untitled Document - Microsoft Internet Explorer provided
    by AltaVista").DialogBox("Security Information").ReleaseKeys("<Esc>")
    [ ] Agent.FlushEvents ( )

    3.) [ ] hwnd = FindWindow2("#32770","Security Information")
    [ ] print(DestroyWindow(hwnd))

    4.) [ ] Agent.SetOption (OPT_VERIFY_APPREADY, FALSE)
    [ ] Browser.WaitForReady (3)
    [ ] DialogBox("Untitled Document - Microsoft Internet Explorer provided
    by AltaVista").DialogBox("Security Information").SetActive ()
    [ ] DialogBox("Untitled Document - Microsoft Internet Explorer provided
    by AltaVista").DialogBox("Security Information").PushButton("Yes").Click
    ()

    5.) [ ] DialogBox("Security Information").SetActive ()
    [ ] DialogBox("Security Information").PushButton("Yes").Click ()

    6.) [ ] DialogBox("Security Information").SetActive ()
    [ ] DialogBox("Security Information").TypeKeys ("<Enter>")

    However, the script is able to handle similar messages right before. The
    IE5 messages like "Security Alert" can be handled with no problem. But,
    once again, when the script runs into "Security Information" window:
    "The page contains both secure and nonsecure items" it looses control until the message is manually dismissed no meter what actions are to be performed. Furthermore, there is no way to disable the message via IE security option settings.
    Check this out:
    http://support.microsoft.com/support...-US&SD=gn&FR=0

    Your help would be greatly appritiated. This is the show stopper for us.


  2. #2
    lev
    lev is offline
    Junior Member
    Join Date
    Oct 1999
    Location
    Redwood City,CA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: IE\'s \"Security Information\" window causes the Agent to hang.

    According to Segue's tech support this is a known bug. Here is the function that works:
    [-] dismissSecInfo()
    [ ]
    [ ] long hSecWnd
    [ ] integer b = 1
    [ ] boolean bCheck=False
    [-] do
    [ ] hSecWnd = FindWindow2("#32770","Security Information")
    [-] if (hSecWnd)
    [ ] bCheck=True
    [-] while ( bCheck == False)
    [ ] b = b + 1
    [ ] sleep (1)
    [ ] hSecWnd = FindWindow2("#32770","Security Information")
    [-] if (hSecWnd)
    [ ] bCheck=True
    [-] if b > 80
    [ ] bCheck=True
    [-] if hSecWnd!=0
    [ ] SendMessage(hSecWnd,WM_CLOSE,0,0)
    [ ] print("'Security Information' window is closed!")
    [-] else
    [ ] print("No 'Security Information' window, moving on.")
    [-] except
    [ ] ErrorHandler ()


 

 

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 05:41 AM.

Copyright BetaSoft Inc.