Link position is changing dynamic

Hi All,
I am trying to automate a link that is changing its position dynamically. The first screenshot shows the link after the first sign in.



I have tried to follow the instructions in this thread Click Changing link However and since am not yet in the advanced training am not sure if I can make it. I tried the Element Exists to find the text “Trips” but don’t know what to do next. I am attaching the selectors for both the positions that have the link.

The second poistion screenshot and the selector is as follows when the user open a new browser and still signed in.
Trips%202
Tirp%202%20Selector

Thanks in advance.
.

@mozahra,

Try to select aaname on the right side( remove rest of the selector like css and other) as static selector in order to find the Uielement of Trips by BOT and Also make sure it is going to the exact Uielement by clicking Highlight button.

Please get back to me if it is not working.

Thanks,
Mohanraj.S

hi @Mohansadaiyapillai
but the aaname is one of the selectors the other doesn’t have one.

@mozahra,

Try to Select Innertext as an appropriate one to find Ui element if aaname not available.
is it possible to share the not finding selector of Uielement form Ui explorer.

Thanks,
Mohanraj.S