I'm working through the "Selenium Simplified" book just to really gain a solid understanding of Selenium and Java. I know the basics of Java, but this one is frustrating me. I must be missing some important jar file, but I'm not sure what that is. I'm also wondering if this has to do with version issues. The book goes through and guides you through an older version of Selenium as well as using JUnit3. I did try the code in JUnit3 and I'm still getting the warnings for the deprecated class. Here's a snapshot of my code with the libraries being used.
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
It is a warning that could be ignored. The code will execute as expected despite the warnings. Just add @SuppressWarnings above the method to remove these warnings so that the code looks tidy.