Thanks for the response guys, but Im running into problems:
If I use WaitProcess:
Set Object = Sys.WaitProcess("iexplore",0,2).page("http://qvw3appem02/ems2/Default.aspx").Form("FormDefault").Frame("iframeMain").Form("aspnetForm").Table(0).Cell(1, 0).Panel("ctl00_pnlMainContent").Panel("ctl00_ContentPlaceHolderMain_upnlDisplayOrSearch").Panel("ctl00_ContentPlaceHolderMain_pnlDocumentSearch").Panel("ctl00_ContentPlaceHolderMain_DocumentSearch1_pnlFind").Table(0).Cell(0, 1).Panel("ctl00_ContentPlaceHolderMain_DocumentSearch1_upnlFind").SubmitButton("ctl00_ContentPlaceHolderMain_DocumentSearch1_btnFind")
If Object.Exists Then
MsgBox("Object exists")
Else
MsgBox "Object does not exist"
End If
The execution pauses and the log reads:
Unable to find the object panel("ctl00_ContentPlaceHolderMain_pnlDocumentSearch").
The object does not exist.
If I use WaitChild:
Set Object = Sys.Process("iexplore",2).page("http://qvw3appem02/ems2/Default.aspx").Form("FormDefault").Frame("iframeMain").Form("aspnetForm").Table(0).Cell(1, 0).Panel("ctl00_pnlMainContent").Panel("ctl00_ContentPlaceHolderMain_upnlDisplayOrSearch").Panel("ctl00_ContentPlaceHolderMain_pnlDocumentSearch").Panel("ctl00_ContentPlaceHolderMain_DocumentSearch1_pnlFind").Table(0).Cell(0, 1).Panel("ctl00_ContentPlaceHolderMain_DocumentSearch1_upnlFind").waitchild("ctl00_ContentPlaceHolderMain_DocumentSearch1_btnFind",0)
If Object.Exists Then
MsgBox("Object exists")
Else
MsgBox "Object does not exist"
End If
The execution pauses and the log reads:
Unable to find the object panel("ctl00_ContentPlaceHolderMain_pnlDocumentSearch").
The object does not exist.
Help :)