Rohit Ware
Rohit Ware

Reputation: 2002

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>

Upvotes: 1

Views: 308

Answers (1)

Rohit Ware
Rohit Ware

Reputation: 2002

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

OR

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

This is working solution for above scenario

Upvotes: 1

Related Questions