To operate on a page tab object and based on your requirement, you can use any of these functions
gettabcount - Get number of tabs in a page tab list selecttab - Select tab based on tab name selecttabindex - Select tab based on tab index