Home

Results 1 to 3 of 3

Thread: SSO Silverlight application

  1. #1
    seik NNTP User

    SSO Silverlight application


    Hi,

    I got some problems detecting when the login screen when a silverlight
    application is done loading, and as the load time varies a lot depending
    on first time use etc, I do not want to use delays to handle it.

    Have anyone found a way to interact and detect silverlight
    applications?

    The application I'm looking at now is available online, and can be
    found at: https://ssl.adr-as.no/accepta6.0

    /Eik


    --
    seik
    ------------------------------------------------------------------------
    seik's Profile: http://forums.novell.com/member.php?userid=45699
    View this thread: http://forums.novell.com/showthread.php?t=451632


  2. #2
    David Guest NNTP User

    Re: SSO Silverlight application

    Silverlight is a little odd in the way it defines the page. I created
    the following which seems to work.

    Dave

    ## BeginSection: "Login Form"
    Site "Compello 6"-initial
    DebugPrint "Conducting Match on login form Compello 6"
    DebugPrint "Form is Compello 6"
    MatchDomain "ssl.adr-as.no"
    DebugPrint "Matched domain portion of URL: 'ssl.adr-as.no'"
    EndSite
    DebugPrint "Successfully matched login form Compello 6"
    SetPrompt "Username"
    Type -raw $Username
    SetPrompt "Password:"
    Type -raw "\t"
    Type -raw $password
    DebugPrint "Performed entry action TypeRaw $password"
    SetPrompt "Please edit your login variables."
    Type -Raw "\t\t\n"
    DebugPrint "Raw typing action performed. Key sequence '\t\t\n' entered."
    EndScript
    ## EndSection: "Login Form"


    ## BeginSection: "Login Form Subroutines"
    ## EndSection: "Login Form Subroutines"



    On 01/02/2012 09:06, seik wrote:
    >
    > Hi,
    >
    > I got some problems detecting when the login screen when a silverlight
    > application is done loading, and as the load time varies a lot depending
    > on first time use etc, I do not want to use delays to handle it.
    >
    > Have anyone found a way to interact and detect silverlight
    > applications?
    >
    > The application I'm looking at now is available online, and can be
    > found at: https://ssl.adr-as.no/accepta6.0
    >
    > /Eik
    >
    >


  3. #3
    seik NNTP User

    Re: SSO Silverlight application


    The matching itself is ok, i do it slightly different though.
    Site "Compello6" -initial
    MatchForm #1 -name "" -action "default.aspx?cci=accepta2.cci"
    EndSite

    However, if you clear your temp.internet files, the "type -raw" will
    start typing before the silverlight app is actually done loading.
    So the solution you're suggesting, (which i also tried) isnt very
    stable.

    As a workaround for now, im using;
    MessageBox "Click 'Ok' to login when the page is done loading."
    SetPrompt "Username"
    Type -Raw $username
    Type -Raw "\T"
    SetPrompt "Password"
    Type -Raw $password
    etc...

    But I would prefer to skip that dialog box. :-)


    --
    seik
    ------------------------------------------------------------------------
    seik's Profile: http://forums.novell.com/member.php?userid=45699
    View this thread: http://forums.novell.com/showthread.php?t=451632


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •