Forum Discussion
petya
10 years agoNew Contributor
Hi!
I think I have encounter a similar problem with TC.
In my case the TC can't identify the object by the name mapping because the properties are unaccessable ('Error: Unspecified error'). Therefore my tests fails even the object exsists and the program is functional.
It happens randomly and mainly with RTTI properties and with NativeDelphiObject properties, but rarely the WndCaption and some other is on error.
After I restart the program or TC the properties are available as normal.
As it occures mostly on the parent of the objects I use, my workaround is to modify name mapping to identify by more stable properties like Name and WndCaption.
I use TC 10.10.752.7 and a Delphi program with no debug information. (I'm not allowed to compile with debug)
Regards,
Peter
I think I have encounter a similar problem with TC.
In my case the TC can't identify the object by the name mapping because the properties are unaccessable ('Error: Unspecified error'). Therefore my tests fails even the object exsists and the program is functional.
It happens randomly and mainly with RTTI properties and with NativeDelphiObject properties, but rarely the WndCaption and some other is on error.
After I restart the program or TC the properties are available as normal.
As it occures mostly on the parent of the objects I use, my workaround is to modify name mapping to identify by more stable properties like Name and WndCaption.
I use TC 10.10.752.7 and a Delphi program with no debug information. (I'm not allowed to compile with debug)
Regards,
Peter
Related Content
- 2 years agomattb
Recent Discussions
- 3 hours agomegha_phophalia
Log functions
Solved3 hours agoAurore- 12 hours agoMW_Didata
- 14 hours agoNaynab