Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18120 Posts in 4741 Topics- by 31743 Members - Latest Member: suuraj
 

Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: object disabled    (Read 12115 times)
vamshi dharann
User
*
Offline Offline

Posts: 29


« on: March 12, 2010, 11:07:44 PM »

hi,
I m running the qtp for 10 iterations.Few of the iterations are running we..Later on object disabled error is popping up due to the slowness of the application.I ve added wait statement ,and incresed synchronising time ,but even them some times the same error is appearing up in some other lines of code.Is there any possible way to handle this error so that my script ll execute without any error for the desired number of iterations.
Logged
Asiq Ahamed
Moderator
Sr. User
*****
Offline Offline

Posts: 459



WWW
« Reply #1 on: March 12, 2010, 11:16:12 PM »

Hi Vamshi,
        Mention which object is disabled. Well, try this method,

Code
GeSHi (qtp):
Function fncWait(obj)

Do Until obj.GetRoProperty("disabled") = 0

Loop

End Function

 
Created by GeSHI 1.0.7.20
« Last Edit: March 12, 2010, 11:36:00 PM by Asiq Ahamed » Logged
Pages: [1]   Go Up
Print
Jump to: