I am doing a ui automation on one of my application. When I use the click activity to do left and right click on my application. The selector attribute on my application seems to changing every time. Because of that each time when I run the automation the click on the element changes every time.
<wnd app='client.exe' cls='QWidget' title='Clien*' /> <ctrl name='Clien*' role='client' /> <ctrl idx='19' role='client' />
the idx value in my case changes everytime. I just want to understand is there any way to keep it constant.
Or is there any other better solution that using “click image” activity