mercredi 18 mai 2016

Button not getting enabled upon selection of value in dropdown Selenium

There is a "Continue" button in my application which is enabled upon selection of a value in a dropdown i.e. "Year".

When using Selenium for this, even after selecting this value, the button is not enabled, and hence the test fails, since Selenium is not able to click on the disabled button.

When this dropdown is manually selected the button is enabled

How can I handle this scenario using Selenium WebDriver

Aucun commentaire:

Enregistrer un commentaire