Can not playback script for .NET3.0 WPF app
I am using QTP9.2 and .NET addin. I recorded scripts for one .net3.0 wpf application. When I tried to playback the script, I got error that "Can not identify the object "PC suite launcher"(of class WpfWindow). Verify that this object's properties match an object currently displayed in your application". I didn't change anything after recording. Could anyone here kindly give me some advice?
Thanks a lot!
Re: Can not playback script for .NET3.0 WPF app
You didn't change anything does not mean nothing got changed. Application can have dynamic properties as well. Add the object again to the OR and then see what properties have changed from last time. Then come up with a pattern and a regular expression for the same. Use the r.e. in the OR to identify the object.