Home  >  Blog  >   Selenium

Debugging - SELENIUM

Rating: 4
  
 
2557
  1. Share:
Selenium Articles

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

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.

 

 

Join our newsletter
inbox

Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!

Course Schedule
NameDates
Selenium Training Sep 26 to Oct 11View Details
Selenium Training Sep 30 to Oct 15View Details
Selenium Training Oct 03 to Oct 18View Details
Selenium Training Oct 07 to Oct 22View Details
Last updated: 24 September 2023
About Author

 

Madhuri is a Senior Content Creator at MindMajix. She has written about a range of different topics on various technologies, which include, Splunk, Tensorflow, Selenium, and CEH. She spends most of her time researching on technology, and startups. Connect with her via LinkedIn and Twitter .

read more
Recommended Courses

1 / 15

Try NOW: One-Access by MindMajix