09-14-2012, 06:53 PM
Hi,
Error occurs while I am using your code of loop..Please referr attachment.
Below is the script--
---------------
------------------
Please help me to resolve this error.
Thanks,
Mansi.
Error occurs while I am using your code of loop..Please referr attachment.
Below is the script--
---------------
Code:
URL = Datatable.Value("URL",Global)
User_name = Datatable.Value("User_name",Global)
Password = Datatable.Value("Password",Global)
Users = Datatable.Value("Users",Global)
systemutil.Run URL,1
'Wait (15)
Do while Browser("InSync :: Login").Object.Busy = True
Wait (5)
Loop
Browser("InSync :: Login").Page("InSync :: Login").WebEdit("txtPassword").Set Password
Browser("InSync :: Login").Page("InSync :: Login").WebButton("Login").Click
Do while Browser("InSync :: Login").Object.Busy = True
Wait (5)
Loop
Browser("InSync :: Login").Page("InSync :: Login_2").WebList("ddlUsers").Select Users
Wait (8)
'Select Facility
If Browser("InSync :: Login").Page("InSync :: Login_2").WebButton("Ok").Exist Then
Browser("InSync :: Login").Page("InSync :: Login_2").WebButton("Ok").Click
Wait (4)
End If
'Wait (20)
Browser("InSync :: Login").Close
Please help me to resolve this error.
Thanks,
Mansi.