Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How can I use the “getAttribute” method in selenium for Checking if the “submit” button is enabled or disabled?

Asked by David Piper May 9, 2024 1.6K views 1 answer
Share

About this question

 There is a scenario where I am testing a web-based application that has a signup form. As a part of the testing, I need to verify that the “submit” button is disabled until all required fields are filled out by the user. How can I use the “getAttribute” method in Selenium to check if the  “submit” button is disabled or enabled based on its attribute values? 

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.