I need to select latest generated file in the file explorer and perform right click on it.
I have filename already but by using Click Text activity, I am unable to select that file.
Here is my selector-
<wnd app='explorer.exe' cls='CabinetWClass' title='Reports' /> <ctrl automationid='System.ItemNameDisplay' idx='5' />
Reason I can see is “idx” which is dynamic in my case. By removing idx, it doesn’t work for me?
Any suggestion how to solve this issue?