08-30-2012, 11:27 AM
Hi,
Imported file with .xls file, still same syntax error occurs. Please review below updated script and see error screen shot from my previous post. Please do needful.
-------------
-----
Thanks,
Mansi.
Imported file with .xls file, still same syntax error occurs. Please review below updated script and see error screen shot from my previous post. Please do needful.
-------------
Code:
Datatable.Import"D:\Datasheet\book1.xls"
For i=1 to DataTable.RowCount
SystemUtil.run DataTable(“URL”,dtGlobalSheet)
Browser(“InSync :: Login”).Page(“InSync :: Login”).Webedit().Set DataTable(“Username”,dtGlobalSheet)
Browser(“InSync :: Login”).Page(“InSync :: Login”).Webedit().Set DataTable(“Password”,dtGlobalSheet)
Browser("InSync :: Login").Page("InSync :: Login").WebButton("Login").Click
'Select facility'
Browser("InSync :: Login").Page("InSync :: Login_2").WebButton("Ok").Click
'Open Scheduler page'
Browser("InSync :: Login").Page("InSync :: Dash Board").Image("ctl00$Header1$Image2").Click
Wait (3)
'Access Patient Search page'
Browser("InSync :: Login").Page("InSync :: Dash Board_2").Image("ctl00$Header1$Image3").Click
Browser("InSync :: Login").Page("InSync :: Patient Search").Image("Edit Patient").Click
Wait (3)
''Access Facesheet'
Browser("InSync :: Login").Page("InSync :: Patient Search").Image("ctl00$Header1$Image4").Click
Wait (3)
'Access New charge page'
Browser("InSync :: Login").Page("InSync :: Dash Board_2").Image("ctl00$Header1$Image5").Click
'Access Document Manager'
Browser("InSync :: Login").Page("InSync :: Dash Board_2").Image("ctl00$Header1$ibtndocumnetmgr").Click
Wait (3)
Browser("InSync :: Login").Close
Next
Thanks,
Mansi.