To operate on a panel object and based on your requirement, you can use any of these functions
getpanelchildcount - Get the number of childrens under a panel
selectpanel - Select panel based on index
selectpanelname - Select panel based on name
Linux Desktop Testing Project