Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser busy -Objects not recognized
#4
Solved: 10 Years, 9 Months, 3 Weeks ago
Hi Shridevi,

You can create similar code as given below. It perfectly works for me. It wait for approx. 60 seconds to close itself othewise close it by clicking on 'X' button at extreme right top . Might be it help you .



'*****************************************************************************************************************************
Code:
Function loading_wait()
wait(1)
Browser("").Page("title:=.*").Sync
Browser("").Sync
counter=0

While Browser("").Page("for_loading_icon").WebElement("Loading....").Exist(0) And  counter < 60  ' Here wait for maximum 60 seconds
wait(1)
counter=counter+1
Wend

If counter => 60 Then


    message=message & "  Loading icon remains for long time, greater then 60 seconds"
    Browser("").Page("for_loading_icon").Image("Close Progress Bar").Click
    wait(1)
    Browser("").Sync

End If

End Function
'*****************************************************************************************************************************
Reply


Messages In This Thread
RE: Browser busy -Objects not recognized - by pradeep singh - 03-15-2013, 05:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Telnet command not recognized Sanjana1987 1 1,867 09-20-2017, 03:16 PM
Last Post: Ankur
  Objects are being recognized as "Windows for Menu item list (Browser-firefox, UFT 12) akhandesh 0 2,385 05-27-2015, 06:29 PM
Last Post: akhandesh
Smile Importing Excel sheet - Reference Values are not recognized michiusa69 3 7,601 01-23-2015, 02:36 AM
Last Post: lkng2001
  IE Tester feature not recognized by UFT12.01 saraiado 2 2,613 12-23-2014, 09:41 AM
Last Post: vinod123
  General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy" AshokReddy 3 4,822 12-20-2013, 01:44 PM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)