Same object has different identities, so "the target object does not exist" error occurs.
Hi,
I use property checkpoint on an alert. I get the target object does not exist error.
Because the parent object was not found. When I check parent object's identities, with object Spy, I realize that some of the identities are different for example in name area old value was "WPFObject("xxxWindowxx","DesktopAlert")", new value is "WPFObject("xxxWindowxx","")".
But when I create new project (with different namemaping) I see the alert window has the value WPFObject("xxxWindowxx","DesktopAlert")".
And I turn my main project and check the window property it seems WPFObject("xxxWindowxx","DesktopAlert")". When I run the test it fails and I check property it is again "WPFObject("xxxWindowxx","")".
I'm so confused. I have to fix it because I use this checkpoint in all tests.
Thanks in advance
I guess I have found a way. I have changed the location of the object in name mapping and aliases section. I transport the object from problematic parent to reliable parent. When I run the test, it passes.
But I still don't understand why alert window's identities changed project to project.