Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Timed Out Starting Navigation

644028Jul 28 2008 — edited Aug 14 2008
I have VBA in a script for if the user is already logged in then VBA will log the user out and then go back to the first page to start over. Listed below are the steps, however, after this script is run once, then when I try to rerun it gets stuck on the first page and fails with "Timed Out on Starting Navigation"

I did find a workaround (listed below) with more VBA but I want to find out why this is happening and if there is any other way to work around this without adding VBA?

[b]Script Pages
1 - Direct navigation to URL
2 - Enter Login information
3 - Auto Page
4 - If user already logged in execute code below, if not then click Link
5 - Logout

VBA for User already logged in
Private Sub RSWVBAPage_beforePlay()
Dim logoutBtn As IHTMLElement
If (RSWApp.FindInHtml("Already Logged In")) Then
result = RSWApp.om.GetElementByPath("window(index=0).span(text=""Logout Now"" | index=3)", logoutBtn)
logoutBtn.click
RSWApp.GotoPage 1
End If
End Sub

VBA for workaround to make sure that first page does not fail as Timed Out Starting Navigation
Private Sub RSWVBAPage_beforePlay()
result = RSWApp.Navigate("https://aetna.test.csplans.com/csportal/welcome.do")
End Sub
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 11 2008
Added on Jul 28 2008
1 comment
1,210 views