unable to map the object which is working fine during the recording of the ios device but during playback its, not recognise the object and make the test fail.kindly help asap
Solved! Go to Solution.
Most likely the properties being used for object identification in the mapped object are dynamic in some sense where they change every time the application is run. You'll need to edit the properties being used for object identification so that they can properly identify your objects but account for dynamic property values. Wildcards, conditional namemapping, and other techniques can be used (plenty of online help documentation on how to do a number of editing processes).
If you post screenshot of the properties of your object as they appear in the object browser/object spy (all properties), we will be able to help you with some suggestions.
Just as a note: Rarely do I keep the NameMapping criteria assigned to objects during the process of recording for just such a reason. It's a recommended best practice that, even if you end up NOT changing anything, you go in and at least review what was mapped.
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider