03-25-2010, 11:12 AM
Try
PHP Code:
If ElementsCollected(CurrentRow).GetROProperty("innerhtml") = "Delete" Then
ElementsCollected(CurrentRow).Click
ElseIf ElementsCollected(CurrentRow).GetROProperty("innerhtml") = "" Then
ElementsCollected(CurrentRow).Click
End If