12-20-2012, 12:06 AM
Code:
Browser("Radiant Logic, Inc. |").Page("Radiant Logic, Inc. |").WebEdit("j_username").Set "cn=directory manager"
Browser("Radiant Logic, Inc. |").Page("Radiant Logic, Inc. |").WebEdit("j_password").SetSecure "50d2036e2763c27412f77d1ac4425f13720149bee6f41a79"
Browser("Radiant Logic, Inc. |").Page("Radiant Logic, Inc. |").WebButton("Login").Click
Browser("Radiant Logic, Inc. |").Page("Radiant Logic, Inc. |_2").Link("Tools").Click
Browser("Radiant Logic, Inc. |").Page("Radiant Logic, Inc. |_2").Image("Administration Console").Click
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://w-rli11-qa1:7070/vdswebadmin/src/index.jsp"
Browser("Browser").Page("Web Admin Console").Sync
[b]Browser("Browser").CloseAllTabs[/b]Browser("Browser").Dialog("Message from webpage").WinButton("OK").Click
Browser("Radiant Logic, Inc. |").Page("Radiant Logic, Inc. |_2").Link("Logout").Click