sastowe
12 years agoSuper Contributor
object recognition behavior I have never seen before
I have a weird problem with scripts that have been running great for a long time. I am running TC 8.2. I have a line of script
set frmDrive = Sys.Process("diihl7ml").WaitVBObject("frmDrive", STD_WAIT)
On the next line I attempt to click something on that frmDrive. I receive an object not found error. When I examine the form object in pobject spy, I seem
Sys.Process("diihl7ml").Window("ThunderRT6FormDC", xxxx Caption Obfuscated", 1)
I can see that instead of being a VBOIbject like it should be, it is reporting as a window.
Where in my very large project suite this occurs seems completely random. If I were to reboot the machine, it might happen again somewhere else.
Has anyone seen this before? Help please.
Thanks
PS. I cannot move to TC 9 at this time as I am working with support to fix some bugs. I tell you that lest you suggest that to fix the issue.
set frmDrive = Sys.Process("diihl7ml").WaitVBObject("frmDrive", STD_WAIT)
On the next line I attempt to click something on that frmDrive. I receive an object not found error. When I examine the form object in pobject spy, I seem
Sys.Process("diihl7ml").Window("ThunderRT6FormDC", xxxx Caption Obfuscated", 1)
I can see that instead of being a VBOIbject like it should be, it is reporting as a window.
Where in my very large project suite this occurs seems completely random. If I were to reboot the machine, it might happen again somewhere else.
Has anyone seen this before? Help please.
Thanks
PS. I cannot move to TC 9 at this time as I am working with support to fix some bugs. I tell you that lest you suggest that to fix the issue.