Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'Retrieve username from windows login session
- objUserName= CreateObject("WScript.Network").UserName
- 'Retrieve password from Environment variable 'AUTPwd'
- objPassword= CreateObject("WScript.Shell").Environment("USER").Item("AUTPwd")
- 'Set the username on AUT
- Browser("").Page("").WebEdit("username").Set objUserName
- 'Set the password on AUT
- Browser("").Page("").WebEdit("password").SetSecure objPassword
- 'Click on login button
- Browser("").Page("").WebButton("Login").Click
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement