Item not getting selected from tree view

Can anyone please help if you encountered similar issue?
I am working on a tree view elements and need to right click on an item and select the new option that comes. It is not happening, it is clicking some different elements even though i have put specific selector. Also items are subjected to change later. So trying to right click on first child element displayed in tree view.

Hi There,

As far as I know you cannot a simulate a right click.

have you changed the button to ‘Right’ and then tried clicking on that ?

Hope the application allows ‘Right click’ that is also a pre-requisite.