Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Sync is NOT waiting for browser to complete current navigation.. can anyone help?
#5
Not Solved
Hi,

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.


Attached Files Image(s)
   
Reply


Messages In This Thread
Alternative to Sync - by DallasT - 09-11-2012, 04:18 AM
RE: .Sync is NOT waiting for browser to complete.. help me pls.. - by mansis - 09-14-2012, 06:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Cross Browser Sync Not Working geodude 0 1,867 04-07-2017, 08:43 AM
Last Post: geodude
  Auto Complete list not displayed in PEGA7 adityacharan 0 2,326 11-29-2015, 12:07 PM
Last Post: adityacharan
  How to use sync function 22sumit 2 3,243 06-16-2015, 06:27 PM
Last Post: 22sumit
  Select Current Date from a Calendar Control qtpbeginner78 11 24,691 06-04-2013, 05:38 AM
Last Post: qtpbeginner78
  error object disabled on line 9 where it says " Browser("Browser").CloseAllTabs" kp_usa 1 3,145 12-20-2012, 12:20 AM
Last Post: adityapant27

Forum Jump:


Users browsing this thread: 1 Guest(s)