Novell Home

NSL Login Script for Java

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 8 Mar 2006
 

Problem

A reader asked the following question:

"We recently purchased and installed SecureLogin. I've been able to add several Windows applications, both pre-scripted and custom apps. However, we have a vendor- supplied Java client application that does not appear to work with SecureLogin. The WindowFinder tool cannot distinguish the user name, password or OK and Cancel buttons from the rest of the frame.

Any ideas? The parent is javaw.exe. I have jre 1.4.2_08 installed and have enabled the java settings for SecureLogin."

Solution

After playing around with some of the properties and login watch, I finally got a login script that works. Here's the script for others:

##################################################
##
## Application: (javaw.exe)
## Created by: 
## Created on: 11/03/2005
##

Dialog

Class "SunAwtFrame"
Title ""

EndDialog

Dialog

Class "SunAwtFrame"
Title "Login" 

Event WM_ACTIVATE

EndDialog

Type $Username
Type \T
Type $Password

Type \T
Type \N

Setprompt "Enter your credentials."


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell