Forum Discussion
mesg2anil
15 years agoRegular Contributor
Hi Jared...
I'm trying to code as per your comments... but still no luck...
page
PageObj = .Process("iexplore").Page("*")
PageObj.ToURL("http://server1/login.asp")
PageObj.Wait
tester
I tried with above code, but it is erroring on the line shown above saying... "" PLEASE help me with the code... PLEASE!!
I'm trying to code as per your comments... but still no luck...
Function page
page
Set PageObj = Sys.Process("iexplore").Page("*")
PageObj = .Process("iexplore").Page("*")
Call PageObj.ToURL("http://server1/login.asp")
PageObj.ToURL("http://server1/login.asp")
Call PageObj.Wait
PageObj.Wait
End Function
sub tester
tester
Call TestedApps.iexplore.Run
Set PageObj = page ==> erroring on this line, i'm calling "page funciton and assigning it"
PageObj.document.all.Item("txtLoginId").Value = "UID"
PageObj.document.all.Item("txtPassword").Value = "Pwd"
PageObj.document.all.Item("cmbLogin").Click
end sub
I tried with above code, but it is erroring on the line shown above saying... "Object required: 'Page" PLEASE help me with the code... PLEASE!!
I tried with above code, but it is erroring on the line shown above saying... "" PLEASE help me with the code... PLEASE!!