Forum Discussion
mesg2anil
15 years agoRegular Contributor
Hi Jared,
Thank you for the reply...
As per Robert sent me the code... I modified it as below...
Thank you for the reply...
As per Robert sent me the code... I modified it as below...
Function page
Set PageObj = Sys.Process("iexplore").Page("*")
Call PageObj.ToURL(http://server1/login.asp)
Call PageObj.Wait
End Function
sub tester
Call TestedApps.iexplore.Run
PageObj.document.all.Item("txtLoginId").Value = "UID"
PageObj.document.all.Item("txtPassword").Value = "Pwd"
PageObj.document.all.Item("cmbLogin").Click
End sub
How do I call the fuction in my Subroutine code?