Every time while adding object , new object is getting created for same button
I am mapping object manually for one button. Performing click operation on that button.
In playback only one time system able to identify that object. second time object does not exist error is getting displayed.
Again i tried to map manully it is creating new object not identifying already mapped object.
Previous mapping name:
New mapping name:
For both objects same identification properties are there.
object type: Link
Content Text: Pend
Tried for so many times. every time Link3, link4....like creating in name mapping.
Why it is mapping every time new object?Because of that my test cases are getting failed.
Checked There is no dynamic properties. In that page with Pend name only one button is present.
Could you please some one help on this.
Re: Every time while adding object , new object is getting created for same button
Please provide the following two screenshots:
1) A screenshot showing the hierarchy in the Mapped Objects of your NameMapping repository and the identifying properties of your button within that repository for, let's say, Link 1
2) A screenshot (or multiples) showing the position of Link1 in the Object Browser in the application hierarchy including ALL "Advanced" properties of the object being mapped.
Generally speaking... the reason for the problem you're running into is that the object is not being able to be found using the identifying factors you've given it and, therefore, gets a new mapping. in order for us to help you figure this out, though, we need the aforementioned information.
[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