18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

How to find global identifier for elements.?

nagarnagar Members
edited November -1 in Sahi - Open Source
Hi Sumitra,

Solution provided in post: http://sahi.co.in/forums/viewtopic.php?id=3225 was perfect, but I am stuck at one scenario and there _setStrictVisibilityCheck() is not working.

We have a list menu, in those list items, we have different tabs. Now, one list item has its name as say, "ABC" and also one tab within this list item has the same name, i.e. "ABC". Here _setStrictVisibilityCheck() does not allow to click on tab, due to same names.

How to get rid from this issue?

Comments

  • Hi nagar,

    Sahi will index the elements if the name of the elements are same and identify them.

    You will have to use "ABC[1]" for the tab with in the list item.

    Regards
    Sumitra
Sign In or Register to comment.