Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser busy -Objects not recognized
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,
I am working with one of the web application and sometimes after opening some pages browser shows busy (small round keep rotating for busy signal) and none of the objects in the page are recognized.

Has anyone faced this problem?

Please urgent help required.
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,
These round signal is shown because developer written code for this for wait. You can write code for this in a function to wait until this busy signal not gone.
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi Prashat,
Thank you.But it sometimes need a lot of time.Is there anyway we can stop that wait.

Could you please give pointers for wait code as well.

Appreciate your help.

Thank you.
Reply
#4
Solved: 11 Years, 4 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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Telnet command not recognized Sanjana1987 1 2,107 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,552 05-27-2015, 06:29 PM
Last Post: akhandesh
Smile Importing Excel sheet - Reference Values are not recognized michiusa69 3 7,941 01-23-2015, 02:36 AM
Last Post: lkng2001
  IE Tester feature not recognized by UFT12.01 saraiado 2 2,801 12-23-2014, 09:41 AM
Last Post: vinod123
  General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy" AshokReddy 3 5,116 12-20-2013, 01:44 PM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)