mercredi 27 septembre 2017

C# selenium checkbox under div tag wtih javascript

Im new to selenium, my task is to tick few checkbox which is under a list control, basically the target website is code is like below

Provisional
  • Confirmed
  • Contracted
  • Management
  • Spa Charges
  • Enquiry
  • Billing
  • Cancelled
  • Resident
  • Checked Out

if you look at this code, there is no selected text for the checkboxes rather they have JavaScript. from there what i have to do is

how do i set tick if the checkbox has text of "Confirmed" or "Checked Out"?

Thanks in advance




Aucun commentaire:

Enregistrer un commentaire