08-30-2012, 01:09 PM
Hi Sankalp,
Thanks for helping me in solving described error. But now new error occurs (refer attachment). Please review below script-
-----------
----
Thanks
Mansi.
Thanks for helping me in solving described error. But now new error occurs (refer attachment). Please review below script-
-----------
Code:
DataTable.Import("D:\Book1.xls")
DataTable.SetCurrentRow 1
For i=1 to DataTable.RowCount
SystemUtil.Run DataTable("URL",dtGlobalSheet)
Browser("InSync :: Login").Page("InSync :: Login").WebEdit("txtUsername").Set DataTable(“Username”,dtGlobalSheet)
Browser("InSync :: Login").Page("InSync :: Login").WebEdit("txtPassword").Set DataTable(“Password”,dtGlobalSheet)
Browser("InSync :: Login").Page("InSync :: Login").WebButton("Login").Click
'Select facility'
Browser("InSync :: Login").Page("InSync :: Login_2").WebList("ddlFacility").Select ("Local Facility")
Browser("InSync :: Login").Page("InSync :: Login_2").WebButton("Ok").Click
Browser("InSync :: Login").Close
Next
----
Thanks
Mansi.