Hi everyone,
Still relatively new to UI Vision, so any help is greatly appreciated.
I’m enhancing an existing script whereby I conduct several actions, click on a button and then perform the same actions once again (looping every time that the button is available to select). The number of times the button needs to be clicked varies on each execution (thus needs to be flexible every time).
This is what the button element looks like when it can be clicked.
< button class=“paginate-next-btn” ng-click=“vm.next()” ng-disabled=“vm.checkForDisabled(!vm.canGoForward)” id=“paginate-next-btn”>
This is what the button element looks like when it cannot be clicked.
< button class=“paginate-next-btn” ng-click=“vm.next()” ng-disabled=“vm.checkForDisabled(!vm.canGoForward)” id=“paginate-next-btn” disabled=“disabled”>
What type of commands need to be used to detect if the element is disabled as well as loop through?
Any help is greatly appreciated!
Thanks in advance,
Sam