Forum Discussion
My tested application is a WPF- application with plenty dialogs. For example I create something in one dialog and beed to verify severall informations in another. Or I need to make some database calls based on the informations. To keep my automation and functions within a dialog unit as dynamic as possible I want to return as much informations as possible. So the easiest way is to return the objects which I need for further verifications or actions. I do not need the methods but only the properties. I have created a function which gets all properties from the object. This is ok for me
- AlexKaras8 years agoCommunity Hero
Hi,
Yes, this is the way to go. Initial objects from the tested application cannot be persisted in TestComplete, so you must create copy of the data that you need later. Depending on your test project scripting language, data may be preserved as a file, JSON object, a temporary Project Variable of Table type, etc.