Private Sub cmdTemp_Click()
On Error GoTo cmdTemp_Click_Error
Dim core As ICore
Set core = New OpenTwebstLib.core
Dim browser As IBrowser
Set browser = core.StartBrowser("
http://www.napaprolink.ca/prolink/welcome")
Call browser.FindElement("input text", "id=username").InputText("
MyUserName")
Call browser.FindElement("input password", "id=password").InputText("
MyPassword")
Call browser.FindElement("input image", "id=login").Click
************************** Everything works to here
and the first URL loads perfectly ***************************************
After logging in the URL in the title bar changes to: http://www.napaprolink.ca/PROLink/Home
*******************************************************************************************************************************************
Call browser.FindElement("input text", "id=ctl00_ContentPlaceHolder1_VinTextBox").InputText("
MyVIN")
Call browser.FindElement("input image", "id=ctl00_ContentPlaceHolder1_DecodeVINButton").Click
On Error GoTo 0
Exit Sub
cmdTemp_Click_Error:
Debug.Print "Error " & Err.Number & " (" & Err.Description & ") in procedure cmdTemp_Click of Sub Form_Form1"
End Sub
========================================================================================
It appears that Twebst times out and throws the following error (copied/pasted from the Immediate window):
Error -
2147221501 (Page load timeout in FindElement method call!) in procedure cmdTemp_Click of Sub Form_Form1
Any advice for a Twebst newbie?
TIA,
Don