I have developed a .Net Custom Server for a DevExpress.XtraTab.XtraTabControl and have hit a bit of a roadblock. I can record correctly listening for the SelectedPageChanged event. On replay I have currently hardcoded x,y locations to use the Mercury Click() method that are selected based on the string parameter (.Select "Item"). I am trying to find the bounds of the TabPage's header text so I can de-hardcode the replay. I am currently using QTP v8.2 with the .Net Add-In. Any help would be much appreciated (any alternatives too, I just don't want to rely on hardcoded values).