make the index value as a variable and pass a
range of values to that variable for the object description.
for intIndex=0 to 3
Browser().Page().Button("name:=some name","index:="&intIndex).click
If Browser().Page("CustPage").Exist Then
Exit For
End If
Next
this logic to find the required webtable with actual column count etc ...
so your code click to all the buttons and check the page title ...now you know the which index takes you to what screen.
so once you capture these values dynamically ...can use to automate the functionality to these 4 pages ...have a common function to any environment to capture index values first then use them to navigate to required screen ..
for intIndex=0 to 3
Browser().Page().Button("name:=some name","index:="&intIndex).click
If Browser().Page("CustPage").Exist Then
Exit For
End If
Next
this logic to find the required webtable with actual column count etc ...
so your code click to all the buttons and check the page title ...now you know the which index takes you to what screen.
so once you capture these values dynamically ...can use to automate the functionality to these 4 pages ...have a common function to any environment to capture index values first then use them to navigate to required screen ..