jeudi 25 août 2016

selecting radio button with highest value

I need to select a radio button in a list of radio buttons based on their corresponding value.Considering the "dot" at starting to be a radio button, the values against it are extracted from database. I need to select the radio button with highest value among the them.First Column name and second column age.

  • Ram | 25
  • Seeta | 32
  • Laxman | 34

Here when i run in selenium ... the program should select radio button againt laxman since it has the highest age value

Aucun commentaire:

Enregistrer un commentaire