i am trying to perform some set of actions on every page of table which may have random number of pages.
but when i try get attribute it always return empty value
what might be the reason? pls help… I need to navigate through all pages, and stop the execution on the last page.
For now, can you compare results of UiExplorer in the next button is enabled or disabled?
If there is different attribute of selector b/w them, can you try to use CheckAppState or ElementExists using the selector attribute?
Inside the loop, use the “Get Attribute” activity to retrieve an attribute that indicates whether the next page button is active or disabled. This might be “class”, “outerHTML”, or another attribute depending on the website’s implementation. You can use UI Explorer and see the differences when you reach to last page.
If the next page button is disabled (which typically indicates you are on the last page), exit the loop.
If it’s not disabled, click the next page button and continue the loop to perform actions on the next page.