im testing using phpunit , need create , delete same things. create called test, want able find , delete it. have multiple delete buttons on page, , works doing - $this->click("xpath=(//img[@title='delete'])[11]"); but choosing [11] example, using delete button row 11. , if test isnt row 11 example, delete not wish delete. i wish try , delete specific row finding row id attached it. the row may have words "test" followed more information within columns. delete button @ end titled 'delete'. wish find row id or words 'test' , find , use 'delete' title on row. any help? edit -example image of row. grab first text, , use last button on right titled 'delete' http://i.stack.imgur.com/s4bne.png second edit - whole table, contains of rows , within rows contains td's (obviously, you'd know). ill find text im trying find. tr count 4th of 6. this shows td containing delete, td containing 'test pr...
Comments
Post a Comment