I am sorry to know you are having any troubles and will be happy to assist you further.
Since you are referring to a thread from quite long time ago, I will appreciate if you take the time to share some additional details on the case. It will be best if you can prepare a sample test, in which you demonstrate how the reusable method is defined, how the element is being identified and used with the method - this will help me understand what might be going wrong in the used approach.
In general, you should define the element outside of the reusable method and pass the defined one to the method. So it should be something similar to:
public static ReusableSelectItemByIndex([the type of the dropdown] element, int index)
Of course, if this is not sufficient for you, do not hesitate to get back to me and continue the discussion.
Thank you for your cooperation in advance.
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.