we are to click tab outside the frame but in the same page. So to do that I first come out of frame by switching to current main window, and then trying to click it using clickElement function, but its not clicking the tab.