Blog

Debugging - SELENIUM

We have successfully created a number of tests and have seen how we can work against AJAX applications, but unfortunately creating tests that run perfectly first time can be difficult. Sometimes, as a test automater, you will need to debug your tests to see what is wrong.

Interested in mastering Selenium? Enroll now for FREE demo on Selenium Training.

These two steps are quite useful when your tests are not running and you want to execute a specific command.

  • Highlight a command.
  • Press the X key: This will make the command execute in the Selenium IDE

Related Article: How To Work On Pages With AJAX In Selenium?

highlight(locator)
Arguments:

  • locator – an element locator

Checkout Selenium Interview Questions

Briefly changes the backgroundColor of the specified element yellow. Useful for debugging.
Find: 
Find is a button in selenium IDE. Which is used to find the element.

Screenshot_1

 


RELATED COURSES

Get Updates on Tech posts, Interview & Certification questions and training schedules