HI,
I need to capture Ascending / Descending order if Ascending order i need to click on Descending order this is my requirement how to handle in Ui automation
Thanks,
Rama
HI,
I need to capture Ascending / Descending order if Ascending order i need to click on Descending order this is my requirement how to handle in Ui automation
Thanks,
Rama
Use UI Explorer to check the selectors of that down arrow. If they’re different from the up arrow, then just use Check App State and indicate the down arrow.
Thank you for quick update @postwick Paul.
Even Arrow down or Arrow Up it’s showing same value which is arrowdown.
This is not working my end. I did any mistake?
Thanks,
Rama
That’s not where you look. Look on the right side there are panes showing the selectable properties (with checkboxes next to them).
If the selectors aren’t different then just Get Text the values in the first two rows, extract just the digits with Split (on -) or RegEex, convert to integer, and compare them. If the first row is higher than the second row, then you know you’re in descending.
You can use CV scope activities or image activities in such scenarios.