Object SearchTimeout
Posted: Wed Nov 03, 2010 10:17 am
Hi Team,
I am facing a typical problem with search timeout. I have an application form (root folder in repository). I look for the form if that exsists and proceed. It used to wait for the default time or searchtimeout (if specified) and then proceed further. But lately, at few ocassions it seems to wait for the form indefinitely.
I am not able to figure out what could be the reason for this inconsistency. Please help.
Repository items:
ItemName - Application_Error (This is the application root folder)
Path - /form[@title='Application Error']
Code
==============
Recording1.repo.Application_Error.SearchTimeout = msSearchTimeout
If Recording1.repo.Application_Error.SelfInfo.Exists Then
==============
The test run gets stuck and the tool seems to be waiting indefinitely for the 'Application_Error' form.
Thanks and Regards,
Aakash
I am facing a typical problem with search timeout. I have an application form (root folder in repository). I look for the form if that exsists and proceed. It used to wait for the default time or searchtimeout (if specified) and then proceed further. But lately, at few ocassions it seems to wait for the form indefinitely.
I am not able to figure out what could be the reason for this inconsistency. Please help.
Repository items:
ItemName - Application_Error (This is the application root folder)
Path - /form[@title='Application Error']
Code
==============
Recording1.repo.Application_Error.SearchTimeout = msSearchTimeout
If Recording1.repo.Application_Error.SelfInfo.Exists Then
==============
The test run gets stuck and the tool seems to be waiting indefinitely for the 'Application_Error' form.
Thanks and Regards,
Aakash