Run Time Error - Object Not a Collection
In the application, we are pressing function key F10 by using the following sub routine and is VB Script:
Sub MTE_Textbox_One_level(Property_Name,Property_Value,Data,ModuleName_Datasheet,TestcaseDesr,Testcaseno,Process_Name,Testlink_Id)
Set Code= Sys.Process(Process_Name).Find(Property_Name,Property_Value,100)
Code.Keys(Data)
Log.Message Data
End sub
When reaching this line, Set code = Sys(Process_Name).
We got a Run time error: object not a collection :Sys.Process(...).Find.
If we run the routine first time, we got the error but when run second time it did not come.
We never experienced this error and Testcomplete (Version - 11) was worked properly, we did not change anything in the code but suddenly it happened.
Please assist us and what could be the root cause of this issue.