Identify the sublinks from a link
I have a scenario where a 'Ticket Action' link on a ticket page provides a set of sublinks. Based on the state of the ticket the sublinks available from the 'Ticket Action' link differs.
Will a Description object work here?
Code for selecting the Ticket Action link
Browser("Home Page for eCMTest20").Page("Home Page for eCMTest20").Frame("contentFrame").Link("Ticket Actions").Click
Code for selecting the Promote to Preview sublink from the Ticket Actions link
Browser("Home Page for eCMTest20").Page("Home Page for eCMTest20").Frame("contentFrame").Link("Promote to Preview").Click
Description object and Child Objects will definitely help you acheive the desired.
You can directly access that link OR would be better to use the child objects for the ticket link and click the sublink.
Also you can check the status of the sub-link if it is enabled or disabled before actioning on it.
You can achieve this using Descriptive programming, steps would be the ideal as mentioned in your post but approaches may differ