shailesh_singh
10 years agoOccasional Contributor
Click on object item fail when find changes in menu items of left tree menu items
Hi,
Due to role definition we have different(less or more) menu items in our left tree view . For an example --> my first user have 4 items(A , B, C, D) in left tree and record a script to click (B) for this user and now with data loop try to execute same script with another user which have (G, H,B, D,E) items in his left tree.
So this script failed on second user. It might be because of mapped object have (("ContentPanel_searchExplore_trvExploret2")) but on second user it is (("ContentPanel_searchExplore_trvExploret3")).
Please guide us how to overcome with this situation.
Are test complete using Xpath part definition for object mapping?
Can we use different locator to map objects?
Thanks,
Shailesh