Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi Anup,
As far as I see, you are testing the Visual C++ app. One of the specifics of such apps is that the class name of the windows isn't stable and can change from run to run, for example Afx:400000:b:10008:6:1027b. First of all, make sure that the Tools | Options | Engines | General | Object Naming | Auto-correct Afx window class names option is enabled. Refer to the "Engines - General Options" article for details. Also, I recommend that you go through the "Addressing Objects in Visual C++ Applications" article to learn how to work with Afx objects in TestComplete.