Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy"
#1
Not Solved
For the below code, i am getting General Run Error as
"General run error.
Line (18): "Loop while Browser("Index:=0").Object.Busy". "

Please help me out know why this error is being throwed when executed. what line of code is causing the problem here.

Code:
Set odesc = Description.Create
odesc("micclass").value = "Browser"
Set coll = Desktop.ChildObjects(odesc)

For i=coll.count-1 to 0 step-1
    Browser("CreationTime:="&i).close
Next

systemutil.Run "iexplore.exe","ww.gmail.com"

        Browser("Index:=0").Page("index:=0").Sync
        strt_time=timer
        'sttime=TIMEVALUE(hour(time) &":"& minute(time)+1 &":"&second(time) )  timer- strttime>60
        Do
            If ( timer- strt_time) >60 then                   ' TimeValue(sttime) Then
                Exit do
            End If
        Loop  while Browser("Index:=0").Object.Busy
Reply


Messages In This Thread
General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy" - by AshokReddy - 12-19-2013, 04:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 330 11-05-2023, 03:55 PM
Last Post: lravi4u
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 856 04-23-2020, 07:08 PM
Last Post: BGunay
  Fifth word from every thousand line in notepad files. sallu.iet@gmail.com 0 849 01-17-2020, 09:58 AM
Last Post: sallu.iet@gmail.com
  swfwindow object name getting changed after each run saniya 1 1,487 10-10-2018, 09:02 PM
Last Post: TheGlovner
  How to identify an error page occurring in server in between the qtp run. aswini 1 1,641 05-04-2017, 03:52 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)