timothyslater
14 years agoNew Contributor
Dynamically Generated Canvases
When I run test complete and record some actions it works well, however when I attempt to run the test it cannot find any of the windows/objects. After some digging around I've found that it seems .NET (WPF by the way) is creating funky names for the canvas objects we generate at runtime. I have attached an image which shows a portion of the Find Object window showing the randomly made names for the Objects. It seems the names change every run, and this would explain why TestComplete cannot find the objects on subsequent runs of the test. Can anyone help? Maybe I'm overlooking something. Thanks in advance!