Search code examples
seleniumselenium-rcselenium-ide

Not able to identify tab in Selenium


enter image description here

Below is code for tab - account.This is third tab. I have to go on tab but I am not able to identify

    <td class="buttons" nowrap="nowrap" title="Shows data of bank account"
 onclick="document.forms[0].debbuttonpressed.value='CONTO';EmptyHiddenButtonValues('CONTO');;
document.forms[0].submit();" style="background-image:url(/images/reiter_unchecked_middle.gif);
background-repeat:repeat-x;cursor:pointer;" heigth="21">Account</td>

Solution

  • //td[text()='Account']
    

    OR

    //td[@title='Shows data of bank account']
    

    This is working solution for above scenario